:root {
  --mk-bg: #fbfefe;
  --mk-soft: #eef9f7;
  --mk-soft-2: #f5faf9;
  --mk-text: #1f2d38;
  --mk-muted: #687783;
  --mk-line: #d9ece9;
  --mk-primary: #4fc7b7;
  --mk-primary-dark: #2b8d89;
  --mk-pink: #f7b8c8;
  --mk-yellow: #ffd86b;
  --mk-danger: #ef5d5d;
  --mk-shadow: 0 18px 45px rgba(36, 109, 116, 0.12);
  --mk-shadow-sm: 0 8px 30px rgba(36, 109, 116, 0.07);
  --mk-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--mk-primary) var(--mk-soft);
  scrollbar-width: thin;
}

/* 与本地预览保持一致：桌面端滚动条使用品牌薄荷色，避免线上默认灰色滚动条显得突兀。 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--mk-soft);
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--mk-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--mk-primary-dark);
}

body {
  margin: 0;
  background: var(--mk-bg);
  color: var(--mk-text);
  font-family: "Geist", "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

.mk-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a[href],
select,
summary {
  cursor: pointer;
}

.mk-container {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
}

.mk-page {
  min-height: 100vh;
  overflow: hidden;
}

.mk-page--soft {
  background: var(--mk-soft-2);
}

/* 商城页和正品查询页共用一张页面级渐变底色，避免上下区块各自设背景时出现横向断层。 */
.mk-page--shop,
.mk-page--verify {
  background:
    radial-gradient(ellipse 72% 34% at 16% 0%, rgba(79, 199, 183, 0.16), transparent 68%),
    radial-gradient(ellipse 58% 34% at 88% 4%, rgba(247, 184, 200, 0.12), transparent 72%),
    linear-gradient(180deg, #f2fbf9 0%, #f8fcfb 34%, #fbfefe 56%, #f5faf9 100%);
}

.mk-page--shop main,
.mk-page--verify main {
  background: linear-gradient(180deg, rgba(251, 254, 254, 0) 0%, rgba(251, 254, 254, 0.58) 42%, rgba(239, 249, 247, 0.46) 100%);
}

.mk-page--shop .mk-shop-hero,
.mk-page--shop .mk-shop-section,
.mk-page--verify .mk-verify-hero,
.mk-page--verify .mk-verify-flow,
.mk-page--verify .mk-verify-content {
  background: transparent;
}

.mk-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 76px;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mk-header.is-scrolled,
.mk-header.is-menu-open {
  border-color: rgba(217, 236, 233, 0.8);
  background: rgba(251, 254, 254, 0.92);
  box-shadow: 0 8px 28px rgba(31, 45, 56, 0.07);
  backdrop-filter: blur(18px);
}

.mk-header__inner {
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mk-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  color: var(--mk-primary-dark);
}

.mk-logo img {
  display: none;
  height: 28px;
  width: auto;
}

.mk-logo span {
  display: inline-flex;
}

.mk-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mk-nav a {
  border-radius: var(--mk-radius);
  padding: 10px 14px;
  color: rgba(31, 45, 56, 0.8);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mk-nav a:hover,
.mk-nav a.is-active {
  background: #e0f7f4;
  color: var(--mk-primary-dark);
  transform: translateY(-2px);
}

.mk-nav a.is-active {
  background: transparent;
  transform: none;
}

.mk-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mk-icon-link,
.mk-menu-button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 199, 183, 0.32);
  border-radius: var(--mk-radius);
  background: #fff;
  color: var(--mk-primary-dark);
}

.mk-icon-link svg {
  width: 20px;
  height: 20px;
}

.mk-account-link {
  min-height: 34px;
  border-radius: var(--mk-radius);
  background: var(--mk-primary);
  padding: 8px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(79, 199, 183, 0.22);
}

.mk-menu-button {
  display: none;
  flex-direction: column;
  gap: 4px;
}

.mk-menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mk-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 108px 0 72px;
  background:
    linear-gradient(135deg, rgba(79, 199, 183, 0.13), rgba(255, 255, 255, 0.92) 48%, rgba(247, 184, 200, 0.16)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 216, 107, 0.08));
}

.mk-hero::before,
.mk-shop-hero::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  opacity: 0.7;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(79, 199, 183, 0.14) 30%, transparent 46%, rgba(247, 184, 200, 0.13) 68%, transparent 86%),
    repeating-linear-gradient(90deg, rgba(79, 199, 183, 0.08) 0 1px, transparent 1px 96px);
  pointer-events: none;
}

.mk-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 48px;
  grid-template-columns: 0.95fr 1.05fr;
}

.mk-hero__title,
.mk-hero h1 {
  margin: 24px 0 0;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.05;
}

.mk-hero__title span,
.mk-hero__title strong {
  display: block;
}

.mk-hero__title strong {
  color: var(--mk-primary-dark);
}

.mk-hero__desc,
.mk-hero p,
.mk-inner-hero p,
.mk-heading p,
.mk-muted {
  color: var(--mk-muted);
}

.mk-hero__desc {
  max-width: 600px;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.75;
}

.mk-hero__media {
  overflow: hidden;
  border-radius: var(--mk-radius-lg);
  aspect-ratio: 16 / 11;
  background: #f4faf9;
  filter: drop-shadow(0 28px 36px rgba(41, 127, 124, 0.18));
}

.mk-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-float {
  animation: mk-float 6s ease-in-out infinite;
}

@keyframes mk-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(1.2deg); }
}

.mk-eyebrow {
  isolation: isolate;
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: rgba(79, 199, 183, 0.15);
  padding: 8px 14px;
  color: var(--mk-primary-dark);
  font-size: 14px;
  font-weight: 800;
}

.mk-eyebrow[data-index]::before {
  content: attr(data-index);
  position: absolute;
  bottom: -8px;
  left: 50%;
  z-index: -1;
  color: rgba(79, 199, 183, 0.1);
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  transform: translateX(-50%);
  pointer-events: none;
}

.mk-eyebrow--number {
  margin-bottom: 0;
}

.mk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.mk-actions--center,
.mk-center {
  justify-content: center;
  text-align: center;
}

.mk-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--mk-radius);
  padding: 11px 20px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mk-btn:hover {
  transform: translateY(-3px);
}

.mk-btn--primary {
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 16px 30px rgba(79, 199, 183, 0.22);
}

.mk-btn--primary:hover {
  background: var(--mk-primary-dark);
}

.mk-btn--ghost {
  border-color: rgba(79, 199, 183, 0.35);
  background: #fff;
  color: var(--mk-primary-dark);
}

.mk-btn--light {
  background: #fff;
  color: var(--mk-primary-dark);
}

.mk-btn--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.mk-mini-features,
.mk-shop-promises,
.mk-service-row,
.mk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.mk-mini-features span,
.mk-shop-promises span,
.mk-service-row span,
.mk-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--mk-line);
  padding: 8px 12px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 700;
}

.mk-mini-features span {
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
}

.mk-mini-features svg {
  width: 16px;
  height: 16px;
  color: var(--mk-primary-dark);
}

.mk-mini-features img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
}

.mk-tags span {
  background: var(--mk-primary);
  border-color: var(--mk-primary);
  color: #fff;
}

.mk-section {
  padding: 96px 0;
  background: var(--mk-bg);
}

.mk-section--soft {
  background: linear-gradient(180deg, #fff, rgba(79, 199, 183, 0.08));
}

.mk-section--compact {
  padding: 56px 0;
}

.mk-app-section {
  background: var(--mk-soft);
}

.mk-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.mk-heading--feature {
  display: grid;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 28px;
  margin: 0 0 64px clamp(48px, 10vw, 180px);
  border-bottom: 1px solid rgba(79, 199, 183, 0.4);
  padding-bottom: 20px;
  text-align: left;
}

.mk-heading--feature-reverse {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-right: auto;
  margin-left: auto;
}

.mk-heading--feature-reverse .mk-eyebrow {
  order: 2;
}

.mk-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.mk-heading h2,
.mk-section h2,
.mk-inner-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 900;
  line-height: 1.15;
}

.mk-split,
.mk-two-col {
  display: grid;
  align-items: center;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mk-two-col {
  align-items: start;
}

.mk-card-media,
.mk-product-card,
.mk-feature,
.mk-partner-card,
.mk-account-card,
.mk-contact-panel,
.mk-form,
.mk-faq-card,
.mk-proof-card,
.mk-cert-card,
.mk-recognition-card,
.mk-list-card,
.mk-post {
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  box-shadow: var(--mk-shadow-sm);
}

.mk-card-media {
  overflow: hidden;
}

.mk-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 首页核心科技图在预览里是稳定 16:9 横图，单独限定比例，避免图片原始尺寸把整段撑得过高。 */
.mk-card-media--core {
  aspect-ratio: 16 / 9;
  box-shadow: var(--mk-shadow);
}

.mk-card-media--core img {
  object-position: center 62%;
}

.mk-card-media--app {
  aspect-ratio: 16 / 9;
  box-shadow: var(--mk-shadow);
}

.mk-card-media--shop-hero {
  aspect-ratio: 5 / 2;
  box-shadow: var(--mk-shadow);
}

.mk-shop-hero-banners {
  display: grid;
  height: 100%;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.mk-shop-hero-banners::-webkit-scrollbar {
  display: none;
}

.mk-shop-hero-banner {
  display: block;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}

.mk-card-media--shop-hero img {
  object-position: center;
}

.mk-feature-list {
  display: grid;
  gap: 14px;
}

.mk-feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.mk-feature:hover,
.mk-product-card:hover,
.mk-partner-card:hover,
.mk-cert-card:hover,
.mk-recognition-card:hover,
.mk-account-card:hover {
  border-color: rgba(79, 199, 183, 0.45);
  box-shadow: var(--mk-shadow);
  transform: translateY(-6px);
}

.mk-feature b {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: #e0f7f4;
  color: var(--mk-primary-dark);
  font-weight: 900;
}

.mk-feature h3,
.mk-product-card h3,
.mk-partner-card h3 {
  margin: 0 0 6px;
}

.mk-partner-card h3 {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 900;
}

.mk-feature p,
.mk-product-card p,
.mk-partner-card p,
.mk-icon-grid p {
  margin: 0;
  color: var(--mk-muted);
  font-size: 14px;
  line-height: 1.7;
}

.mk-product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-home-products-grid {
  justify-content: center;
}

.mk-home-products-grid[data-product-count="1"] {
  grid-template-columns: minmax(0, min(100%, 280px));
}

.mk-home-products-grid[data-product-count="2"] {
  grid-template-columns: repeat(2, minmax(0, min(100%, 280px)));
}

.mk-home-products-grid[data-product-count="3"] {
  grid-template-columns: repeat(3, minmax(0, min(100%, 280px)));
}

.mk-home-products-grid[data-product-count="0"] {
  display: none;
}

.mk-home-products-grid .mk-product-card:not([data-mk-home-product-ready="true"]) .mk-product-card__body {
  min-height: 112px;
}

.mk-home-products-grid .mk-product-card:not([data-mk-home-product-ready="true"]) .mk-product-card__media-link {
  background: linear-gradient(120deg, #e5f5f2, #f8fcfb, #e5f5f2);
  background-size: 220% 100%;
  animation: mkSkeleton 1.2s ease-in-out infinite;
}

.mk-home-products-grid .mk-product-card:not([data-mk-home-product-ready="true"]) [data-mk-home-product-image] {
  opacity: 0;
}

.mk-home-products-grid .mk-product-card:not([data-mk-home-product-ready="true"]) [data-mk-home-product-title],
.mk-home-products-grid .mk-product-card:not([data-mk-home-product-ready="true"]) [data-mk-home-product-desc] {
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(90deg, #edf7f5, #f9fcfb, #edf7f5);
  background-size: 200% 100%;
  color: transparent;
  animation: mkSkeleton 1.2s ease-in-out infinite;
}

.mk-home-products-grid .mk-product-card:not([data-mk-home-product-ready="true"]) [data-mk-home-product-title] {
  width: 78%;
  min-height: 25px;
}

.mk-home-products-grid .mk-product-card:not([data-mk-home-product-ready="true"]) [data-mk-home-product-desc] {
  width: 92%;
  min-height: 48px;
}

@keyframes mkSkeleton {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.mk-product-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.mk-product-card > a,
.mk-product-card__image,
.mk-product-card__media-link {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: linear-gradient(140deg, #f6fbfa, #dff3f0);
}

.mk-product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.3s ease;
}

.mk-product-card:hover img {
  transform: scale(1.05);
}

.mk-product-card > div:not(.mk-product-card__image),
.mk-product-card > a + div,
.mk-product-card__body {
  padding: 18px;
}

.mk-product-card span,
.mk-product-card__badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #e0f7f4;
  padding: 5px 10px;
  color: var(--mk-primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.mk-product-card .mk-product-card__badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  background: var(--mk-primary);
  color: #fff;
}

.mk-product-card .mk-product-card__badge--pink {
  background: var(--mk-pink);
  color: #653344;
}

.mk-product-card__title:hover {
  color: var(--mk-primary);
}

.mk-product-card__body {
  display: grid;
  gap: 0;
}

.mk-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.mk-product-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.mk-product-card__price strong {
  color: var(--mk-primary-dark);
  font-size: 24px;
  font-weight: 900;
}

.mk-product-card__price s {
  color: #98a5ad;
}

.mk-product-card__button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--mk-radius);
  background: var(--mk-primary);
  padding: 8px 14px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mk-product-card__button:hover {
  background: var(--mk-primary-dark);
  transform: translateY(-2px);
}

.mk-product-card__button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.mk-center {
  display: flex;
  margin-top: 40px;
}

.mk-icon-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-icon-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-icon-grid article {
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 22px;
}

.mk-icon-grid article > svg {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: var(--mk-primary);
}

.mk-icon-grid article > img {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 8px;
  object-fit: cover;
}

.mk-icon-grid b {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.mk-cta {
  background: linear-gradient(145deg, var(--mk-primary-dark), var(--mk-primary));
  padding: 88px 0;
  color: #fff;
  text-align: center;
}

.mk-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

.mk-cta p {
  max-width: 680px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.mk-stats {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 52px;
}

.mk-stats article {
  text-align: center;
}

.mk-stats strong {
  display: block;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.mk-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 700;
}

.mk-stats--cards {
  margin-top: 56px;
}

.mk-stats--cards article {
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 28px 18px;
  box-shadow: var(--mk-shadow-sm);
}

.mk-stats--cards strong {
  color: var(--mk-primary-dark);
}

.mk-stats--cards span {
  color: var(--mk-muted);
}

.mk-inner-hero {
  position: relative;
  padding: 172px 0 72px;
  background: linear-gradient(180deg, rgba(79, 199, 183, 0.12), rgba(79, 199, 183, 0.03));
}

.mk-partner-hero {
  overflow: hidden;
  padding-top: 232px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, rgba(79, 199, 183, 0.12) 0%, rgba(79, 199, 183, 0.06) 50%, rgba(79, 199, 183, 0.02) 100%);
}

.mk-partner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(79, 199, 183, 0.08), transparent 60%);
  pointer-events: none;
}

.mk-partner-hero > .mk-container {
  position: relative;
  z-index: 1;
}

.mk-partner-hero .mk-center {
  display: flex;
  max-width: 900px;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  text-align: center;
}

.mk-partner-hero h1 {
  max-width: 900px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
  text-wrap: balance;
}

.mk-partner-hero > .mk-container.mk-center > p {
  max-width: 680px;
  margin: 14px auto 0;
  font-size: clamp(15px, 1.15vw, 16px);
  line-height: 1.7;
  text-align: center;
}

.mk-inner-hero p {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.75;
}

.mk-shop-hero {
  min-height: auto;
  overflow: visible;
  padding-top: 132px;
  padding-bottom: 64px;
}

.mk-page--shop .mk-shop-main {
  background: transparent;
}

.mk-page--shop .mk-shop-hero::before {
  inset: -160px -12% -150px;
  opacity: 0.72;
  background:
    radial-gradient(ellipse 58% 42% at 18% 4%, rgba(79, 199, 183, 0.14), transparent 72%),
    radial-gradient(ellipse 52% 42% at 88% 8%, rgba(247, 184, 200, 0.12), transparent 76%),
    linear-gradient(180deg, rgba(79, 199, 183, 0.06), rgba(251, 254, 254, 0) 78%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.7) 62%, transparent 100%);
}

.mk-shop-hero .mk-hero__grid {
  gap: clamp(28px, 5vw, 68px);
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, 0.8fr);
}

.mk-shop-hero h1 {
  max-width: 460px;
  margin-top: 0;
  font-size: clamp(26px, 2.8vw, 38px);
}

.mk-shop-hero p {
  margin-top: 12px;
  font-size: 15px;
}

.mk-shop-hero h1 span,
.mk-shop-hero h1 strong {
  display: block;
}

.mk-shop-hero h1 span {
  color: var(--mk-text);
}

.mk-shop-hero h1 strong {
  color: var(--mk-primary);
}

.mk-shop-promises span {
  gap: 10px;
  padding: 10px 16px;
  color: var(--mk-text);
  font-weight: 800;
}

.mk-shop-promises svg {
  width: 18px;
  height: 18px;
  color: var(--mk-primary);
}

.mk-shop-promises img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
}

.mk-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.mk-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mk-filter--segments {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 6px;
}

.mk-filter--segments a {
  min-height: 36px;
  border-radius: var(--mk-radius);
  padding: 8px 18px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.mk-filter--segments a:hover,
.mk-filter--segments a.is-active {
  background: var(--mk-primary);
  color: #fff;
}

.mk-shop-search {
  flex: 0 1 320px;
}

.mk-shop-search__control {
  display: grid;
  min-height: 50px;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-shop-search__control:focus-within {
  border-color: var(--mk-primary);
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15);
}

.mk-shop-search input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 0;
  background: transparent;
  padding: 0 10px;
  color: var(--mk-text);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  outline: none;
}

.mk-shop-search input::placeholder {
  color: var(--mk-muted);
  font-weight: 800;
}

.mk-shop-search button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: var(--mk-primary);
  padding: 0;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mk-shop-search button:hover,
.mk-shop-search button:focus-visible {
  background: var(--mk-primary-dark);
  transform: translateY(-1px);
}

.mk-shop-search svg {
  width: 18px;
  height: 18px;
}

.mk-input,
.mk-search-form input,
.mk-form input,
.mk-form textarea {
  min-height: 42px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 10px 14px;
  color: var(--mk-text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-input:focus,
.mk-search-form input:focus,
.mk-form input:focus,
.mk-form textarea:focus {
  border-color: var(--mk-primary);
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15);
}

.mk-shop-results {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mk-shop-section.is-loading .mk-shop-results {
  opacity: 0.55;
  pointer-events: none;
  transform: translateY(4px);
}

.mk-shop-section.is-loading .mk-filter--segments a,
.mk-shop-section.is-loading .mk-pagination button {
  pointer-events: none;
}

.mk-shop-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  border: 1px dashed rgba(79, 199, 183, 0.38);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 44px 24px;
  text-align: center;
}

.mk-shop-empty h2,
.mk-shop-empty p {
  margin: 0;
}

.mk-shop-empty p {
  color: var(--mk-muted);
}

.mk-banner-grid {
  display: grid;
  gap: 16px;
  margin-top: 56px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-banner-grid a {
  display: block;
  width: 100%;
  aspect-ratio: 227 / 100;
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
}

.mk-banner-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-pagination {
  display: flex;
  min-height: 48px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.mk-pagination__number {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 8px 12px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mk-pagination__number:hover,
.mk-pagination__number.is-active {
  border-color: var(--mk-primary);
  background: var(--mk-primary);
  color: #fff;
}

.mk-pagination__number:disabled {
  cursor: default;
}

.mk-pagination__summary {
  margin-left: 4px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 800;
}

.mk-product-detail {
  padding: 232px 0 32px;
  background: var(--mk-soft-2);
}

.mk-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--mk-muted);
  font-size: 14px;
}

.mk-breadcrumb a,
.mk-breadcrumb span:last-child {
  color: inherit;
}

.mk-breadcrumb span:last-child {
  color: var(--mk-text);
}

.mk-breadcrumb a:hover {
  color: var(--mk-primary-dark);
}

.mk-product-detail__grid {
  display: grid;
  align-items: stretch;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.mk-product-gallery {
  min-width: 0;
}

.mk-product-gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  background: #fff;
}

.mk-product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
}

.mk-product-gallery.is-sku-image .mk-product-gallery__main {
  display: grid;
  place-items: center;
}

.mk-product-gallery.is-sku-image .mk-product-gallery__main img {
  width: min(75%, 400px);
  height: min(75%, 400px);
  padding: 0;
}

.mk-product-gallery__arrow {
  position: absolute;
  top: 50%;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 8px;
  color: var(--mk-text);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mk-product-gallery__arrow:hover {
  background: #fff;
  color: var(--mk-primary-dark);
  transform: translateY(calc(-50% - 2px));
}

.mk-product-gallery__arrow svg {
  width: 20px;
  height: 20px;
}

.mk-product-gallery__arrow--prev {
  left: 16px;
}

.mk-product-gallery__arrow--next {
  right: 16px;
}

.mk-product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.mk-product-gallery__thumbs button {
  width: 80px;
  height: 80px;
  border: 2px solid var(--mk-line);
  border-radius: 12px;
  background: transparent;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mk-product-gallery__thumbs button:hover,
.mk-product-gallery__thumbs button.is-active {
  border-color: var(--mk-primary);
}

.mk-product-gallery__thumbs button:hover {
  transform: translateY(-2px);
}

.mk-product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.mk-product-buy {
  display: flex;
  height: min(570px, calc(50vw - 36px));
  min-height: 0;
  min-width: 0;
  flex-direction: column;
}

.mk-product-buy .mk-tags {
  gap: 8px;
  margin-top: 0;
}

.mk-product-buy .mk-tags span {
  border: 0;
  background: var(--mk-primary);
  padding: 4px 12px;
  color: #fff;
  font-weight: 900;
  line-height: 1.4;
}

.mk-product-buy h1 {
  margin: 16px 0 8px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}

.mk-product-buy > p {
  margin: 0;
  color: var(--mk-muted);
  font-size: 18px;
  line-height: 1.65;
}

.mk-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 14px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 700;
}

.mk-product-price-slot {
  min-height: 41px;
  margin-top: 20px;
}

.mk-product-price-slot:empty {
  display: none;
}

.mk-product-buy .mk-product-price-slot .buy-box__price-value {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--mk-primary-dark);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.mk-product-buy .mk-product-price-slot .buy-box__price-value del {
  color: #98a5ad;
  font-size: 18px;
  font-weight: 700;
}

.mk-service-row--icons {
  gap: 18px;
  margin-top: 20px;
}

.mk-service-row--icons span {
  gap: 7px;
  border: 0;
  background: transparent;
  padding: 0;
}

.mk-service-row--icons svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--mk-primary);
}

.mk-product-sku-slot:empty {
  display: none;
}

.mk-product-buy shop-buy-box {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: 14px;
}

/* Halo 商城购买盒子由插件输出，这里只做品牌视觉覆盖，不改变表单、SKU、CSRF 和支付链路。 */
.mk-product-buy .buy-box {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.mk-product-buy .buy-box__spec {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.mk-product-buy .buy-box__spec-label {
  color: var(--mk-text);
  font-weight: 800;
}

.mk-product-buy .buy-box__spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mk-product-buy .buy-box__spec-option {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 10px 16px;
  color: var(--mk-text);
  font: inherit;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mk-product-buy .buy-box__spec-option:hover:not(:disabled) {
  border-color: rgba(79, 199, 183, 0.55);
  background: rgba(224, 247, 244, 0.58);
  color: var(--mk-primary-dark);
  transform: translateY(-2px);
}

.mk-product-buy .buy-box__spec-option--selected {
  border-color: var(--mk-primary);
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 199, 183, 0.18);
}

.mk-product-buy .buy-box__spec-option--with-image {
  width: 74px;
  min-width: 0;
  min-height: auto;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}

.mk-product-buy .buy-box__spec-option--with-image.buy-box__spec-option--selected {
  background: #fff;
  color: var(--mk-primary-dark) !important;
  box-shadow: 0 0 0 2px var(--mk-primary);
}

.mk-product-buy .buy-box__spec-option-image {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--mk-soft);
}

.mk-product-buy .buy-box__spec-option-text {
  max-width: 100%;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mk-product-buy .buy-box__spec-option-zoom {
  top: 8px;
  right: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--mk-primary-dark);
}

.mk-product-buy .buy-box__spec-option--disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.mk-product-buy .buy-box__spec-option--disabled .buy-box__spec-option-text {
  text-decoration: line-through;
}

.mk-product-buy .buy-box__price {
  display: contents;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.mk-product-buy .buy-box__price-label {
  display: none;
}

.mk-product-buy .buy-box__quantity-label {
  color: var(--mk-text);
  font-weight: 800;
}

.mk-product-buy .buy-box__price-value {
  display: none;
  align-items: baseline;
  gap: 12px;
  order: -4;
  margin-top: 0;
  color: var(--mk-primary-dark);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.mk-product-buy .buy-box__price-value del {
  color: #98a5ad;
  font-size: 18px;
  font-weight: 700;
}

.mk-product-buy .mk-product-save-badge {
  border-radius: 999px;
  background: var(--mk-pink);
  padding: 4px 10px;
  color: #653344;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.mk-product-buy .buy-box__stock {
  display: none;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 700;
}

.mk-product-buy .buy-box__quantity {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.mk-product-buy .shop-quantity,
.mk-native-shop-box .shop-quantity {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: var(--mk-soft);
  padding: 4px;
}

.mk-product-buy .shop-quantity__btn,
.mk-native-shop-box .shop-quantity__btn {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--mk-text);
  transition: background 0.2s ease, color 0.2s ease;
}

.mk-product-buy .shop-quantity__btn:hover:not(:disabled),
.mk-native-shop-box .shop-quantity__btn:hover:not(:disabled) {
  background: #e0f7f4;
  color: var(--mk-primary-dark);
}

.mk-product-buy .shop-quantity__btn:disabled,
.mk-native-shop-box .shop-quantity__btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.mk-product-buy .shop-quantity__input,
.mk-native-shop-box .shop-quantity__input {
  width: 46px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--mk-text);
  font: inherit;
  font-weight: 900;
  text-align: center;
  outline: none;
}

.mk-product-buy .shop-quantity {
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
}

.mk-product-buy .shop-quantity__btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  color: var(--mk-muted);
}

.mk-product-buy .shop-quantity__input {
  width: 44px;
  height: 34px;
  font-size: 18px;
}

.mk-product-buy .buy-box__actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.mk-product-buy .buy-box__actions form {
  flex: 1 1 0;
}

.mk-product-buy .buy-box__actions form:nth-child(n + 3) {
  flex: 0 0 auto;
}

.mk-product-buy .shop-btn.shop-btn-lg,
.mk-native-shop-box .shop-btn.shop-btn-lg {
  display: inline-flex;
  min-height: 38px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--mk-radius);
  padding: 8px 18px;
  font: inherit;
  font-weight: 900;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mk-add-cart-notice {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mk-add-cart-notice.is-visible {
  opacity: 1;
}

.mk-add-cart-notice__card {
  display: flex;
  max-width: calc(100vw - 48px);
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(79, 199, 183, 0.3);
  border-radius: 16px;
  background: #fff;
  padding: 28px 42px;
  color: var(--mk-text);
  text-align: center;
  box-shadow: 0 30px 80px rgba(79, 199, 183, 0.35);
  transform: scale(0.8);
  transition: transform 0.2s ease;
}

.mk-add-cart-notice.is-visible .mk-add-cart-notice__card {
  transform: scale(1);
}

.mk-add-cart-notice__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 18px 34px rgba(79, 199, 183, 0.28);
}

.mk-add-cart-notice__icon svg {
  width: 26px;
  height: 26px;
}

.mk-add-cart-notice__card strong {
  display: block;
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.mk-add-cart-notice__card p {
  margin: -8px 0 0;
  color: var(--mk-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.mk-product-buy .buy-box__actions form:nth-child(n + 3) .shop-btn.shop-btn-lg {
  display: inline-flex;
  width: 44px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding-right: 14px;
  padding-left: 14px;
  color: var(--mk-muted);
  font: inherit;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mk-product-buy .buy-box__actions form:nth-child(n + 3) .shop-btn.shop-btn-lg:hover {
  border-color: var(--mk-pink);
  background: #fff;
  color: var(--mk-pink);
}

.mk-product-buy .shop-btn.shop-btn-lg:hover,
.mk-native-shop-box .shop-btn.shop-btn-lg:hover {
  transform: translateY(-2px);
}

.mk-product-buy .shop-btn.shop-btn-primary.shop-btn-lg,
.mk-native-shop-box .shop-btn.shop-btn-primary.shop-btn-lg {
  border-color: var(--mk-primary);
  background: #fff;
  color: var(--mk-primary);
}

.mk-product-buy .shop-btn.shop-btn-primary.shop-btn-lg:hover,
.mk-native-shop-box .shop-btn.shop-btn-primary.shop-btn-lg:hover {
  background: rgba(79, 199, 183, 0.1);
}

.mk-product-buy .shop-btn.shop-btn-primary.shop-btn-lg::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 7h13l-1.3 7.4a2 2 0 0 1-2 1.6H9.3a2 2 0 0 1-2-1.7L6.1 4H3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='20' r='1.6' fill='black'/%3E%3Ccircle cx='17' cy='20' r='1.6' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 7h13l-1.3 7.4a2 2 0 0 1-2 1.6H9.3a2 2 0 0 1-2-1.7L6.1 4H3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='20' r='1.6' fill='black'/%3E%3Ccircle cx='17' cy='20' r='1.6' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mk-product-buy .shop-btn.shop-btn-secondary.shop-btn-lg,
.mk-native-shop-box .shop-btn.shop-btn-secondary.shop-btn-lg {
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.24);
}

.mk-product-buy .shop-btn.shop-btn-secondary.shop-btn-lg:hover,
.mk-native-shop-box .shop-btn.shop-btn-secondary.shop-btn-lg:hover {
  background: var(--mk-primary-dark);
}

.mk-product-buy .shop-btn.shop-btn-lg:disabled,
.mk-native-shop-box .shop-btn.shop-btn-lg:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.mk-product-story-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 12px;
  background: linear-gradient(140deg, #f6fbfa, #dff3f0);
}

.mk-product-story-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 44px;
}

.mk-product-tabs-section {
  background: var(--mk-soft-2);
  padding-top: 24px;
  padding-bottom: 80px;
}

.mk-tabs {
  border-radius: var(--mk-radius);
}

.mk-tabs__nav {
  display: flex;
  gap: 4px;
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  background: #fff;
  padding: 6px;
}

.mk-tabs__nav button {
  flex: 1;
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 12px 10px;
  color: var(--mk-muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.mk-tabs__nav button.is-active {
  background: var(--mk-primary);
  color: #fff;
}

.mk-tabs__nav button:not(.is-active):hover {
  background: var(--mk-soft-2);
}

.mk-tab-panel {
  display: none;
  margin-top: 24px;
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  background: #fff;
  padding: 32px;
  opacity: 0;
  transform: translateY(10px);
}

.mk-tab-panel.is-active {
  display: block;
  animation: mk-tab-in 0.22s ease forwards;
}

.mk-tab-panel h2 {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.mk-product-tabs-section .mk-post__content {
  color: var(--mk-muted);
  line-height: 1.75;
}

/* 商品详情富文本里的详情长图来自 Halo 商城商品内容字段。
   浏览器会给 figure 标签自带上下外边距，通用文章图片样式也会加圆角；
   这里仅在商品详情页清掉这些间隔，让后台按切片上传的多张详情图能无缝衔接。 */
.mk-product-tabs-section .mk-post__content figure[data-content-type="image"] {
  display: block !important;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.mk-product-tabs-section .mk-post__content figure[data-content-type="image"] img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
}

.mk-product-tabs-section .mk-post__content p {
  margin: 0 0 24px;
}

.mk-product-tabs-section .mk-post__content p:last-child {
  margin-bottom: 0;
}

@keyframes mk-tab-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mk-spec-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-spec-grid div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 12px;
  background: var(--mk-soft-2);
  padding: 16px;
}

.mk-spec-grid span {
  color: var(--mk-muted);
}

.mk-spec-grid strong {
  color: var(--mk-text);
  font-weight: 800;
}

.mk-spec-empty {
  border: 1px dashed rgba(79, 199, 183, 0.38);
  border-radius: 12px;
  background: var(--mk-soft-2);
  padding: 20px;
  color: var(--mk-muted);
}

.mk-spec-empty p {
  margin: 0;
}

.mk-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.mk-spec-table th,
.mk-spec-table td {
  border-bottom: 1px solid var(--mk-line);
  padding: 14px;
  text-align: left;
}

.mk-review {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  padding: 20px;
}

.mk-review + .mk-review {
  margin-top: 12px;
}

.mk-review span {
  display: flex;
  gap: 2px;
  margin-top: 2px;
  color: var(--mk-yellow);
}

.mk-review em {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(79, 199, 183, 0.1);
  color: var(--mk-primary);
  font-style: normal;
  font-weight: 900;
}

.mk-review p {
  margin: 10px 0 0;
  color: var(--mk-muted);
}

.mk-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mk-review__head small {
  color: #98a5ad;
  font-size: 13px;
}

.mk-native-shop-box,
.mk-native-shop-page {
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 28px;
  box-shadow: var(--mk-shadow-sm);
}

.mk-native-shop-page {
  margin-top: 132px;
  margin-bottom: 80px;
}

.mk-cart-hero {
  background: var(--mk-soft-2);
  padding-top: 176px;
  padding-bottom: 28px;
}

.mk-cart-hero .mk-container {
  max-width: 768px;
  text-align: center;
}

.mk-cart-hero h1 {
  margin-top: 14px;
  font-size: clamp(30px, 3.2vw, 36px);
  line-height: 1.18;
}

.mk-cart-hero p {
  max-width: 560px;
  margin-top: 10px;
  font-size: 16px;
}

.mk-cart-hero__icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(79, 199, 183, 0.1);
  color: var(--mk-primary);
}

.mk-cart-hero__icon svg {
  width: 32px;
  height: 32px;
}

/* 购物车页只改视觉外壳：商品数据、数量、删除、结算和 CSRF 仍交给 Halo 原生 <shop-page-cart>。 */
.mk-cart-section,
.mk-cart-recommend {
  background: var(--mk-soft-2);
}

.mk-cart-section {
  padding-top: 12px;
  padding-bottom: 40px;
}

.mk-cart-section .mk-container,
.mk-cart-recommend .mk-container {
  max-width: 768px;
}

.mk-cart-section .mk-native-shop-box {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.mk-cart-section shop-page-cart,
.mk-cart-section .shop-entry {
  display: block;
  color: var(--mk-text);
}

.mk-cart-section .shop-entry__header {
  display: none !important;
}

/* Halo 原生购物车的最外层被整理成 v0 本地预览里的单张白色结算卡。 */
.mk-cart-section .shop-cart {
  display: grid !important;
  align-items: start;
  overflow: hidden;
  gap: 0;
  grid-template-columns: 1fr;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.08);
}

/* 空购物车状态只在组件没有商品行时生效，避免影响真实商品列表。 */
.mk-cart-section .shop-cart:not(:has(.shop-cart-item)) {
  border-radius: 12px;
}

.mk-cart-section .shop-cart > span:only-child,
.mk-cart-section .shop-cart:not(:has(.shop-cart-item)) > span:first-child {
  display: grid;
  min-height: 320px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 64px 24px 48px;
  color: var(--mk-muted);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
}

.mk-cart-section .shop-cart > span:only-child::before,
.mk-cart-section .shop-cart:not(:has(.shop-cart-item)) > span:first-child::before {
  content: "";
  width: 92px;
  height: 92px;
  margin-bottom: 20px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 58%, #fff 0 28%, transparent 29%),
    linear-gradient(var(--mk-soft), var(--mk-soft)) padding-box,
    linear-gradient(135deg, rgba(79, 199, 183, 0.34), rgba(247, 184, 200, 0.34)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 22px #fff;
}

.mk-cart-section .shop-cart__items {
  display: grid;
  gap: 0;
  border-bottom: 4px solid var(--mk-soft-2);
}

/* 商品行保持 Halo 的 DOM 和按钮行为，只重排成“图片 + 信息 + 数量 + 小计 + 删除”的横向结构。 */
.mk-cart-section .shop-cart-item {
  display: grid !important;
  align-items: center;
  gap: 16px;
  grid-template-columns: 100px minmax(0, 1fr) auto auto 40px;
  border: 0;
  border-bottom: 1px solid var(--mk-line);
  border-radius: 0;
  background: #fff;
  padding: 20px;
  box-shadow: none;
  transition: background 0.24s ease;
}

.mk-cart-section .shop-cart-item:last-child {
  border-bottom: 0;
}

.mk-cart-section .shop-cart-item:hover {
  background: linear-gradient(180deg, #fff, rgba(79, 199, 183, 0.035));
}

.mk-cart-section .shop-cart-item__image {
  width: 100px !important;
  height: 100px !important;
  border-radius: var(--mk-radius);
  background: linear-gradient(140deg, #f6fbfa, #dff3f0);
  object-fit: contain;
  padding: 8px;
}

.mk-cart-section .shop-cart-item__info {
  min-width: 0;
}

.mk-cart-section .shop-cart-item__name {
  display: block;
  overflow: hidden;
  color: var(--mk-text);
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-cart-section .shop-cart-item__name:hover {
  color: var(--mk-primary-dark);
}

.mk-cart-section .shop-cart-item__price {
  display: inline-flex;
  margin-top: 8px;
  color: var(--mk-primary-dark);
  font-size: 20px;
  font-weight: 900;
}

.mk-cart-section .shop-cart-item__price-original {
  margin-left: 8px;
  color: #98a5ad;
  font-size: 14px;
}

.mk-cart-section .shop-cart-item .shop-quantity {
  flex: 0 0 auto;
}

.mk-cart-section .shop-cart-item__total {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--mk-radius);
  background: var(--mk-soft-2);
  padding: 8px 12px;
  color: var(--mk-primary-dark);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.mk-cart-section .shop-cart-item__total::before {
  content: "小计";
  color: var(--mk-muted);
  font-size: 13px;
  font-weight: 700;
}

.mk-cart-section .shop-cart-item__remove {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 0;
  color: var(--mk-muted);
  font: inherit;
  font-size: 0;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.mk-cart-section .shop-cart-item__remove::before {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18M8 6V4h8v2m-1 4v8m-6-8v8m-2-12 1 16h8l1-16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18M8 6V4h8v2m-1 4v8m-6-8v8m-2-12 1 16h8l1-16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mk-cart-section .shop-cart-item__remove:hover {
  background: #fef2f2;
  color: var(--mk-danger);
}

/* 摘要区跟商品列表同卡承接，顺序对齐 v0：金额行、保障条、操作按钮。 */
.mk-cart-section .shop-cart-summary.shop-card {
  position: static;
  display: grid;
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 24px 20px 20px;
  box-shadow: none;
}

.mk-cart-section .shop-card__title {
  display: none;
}

.mk-cart-section .shop-cart-summary__row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 16px;
  color: var(--mk-muted);
  font-weight: 700;
}

.mk-cart-section .shop-cart-summary__row span:last-child {
  color: var(--mk-text);
  font-weight: 900;
}

.mk-cart-section .shop-divider {
  height: 1px;
  margin: 0 0 16px;
  background: var(--mk-line);
}

.mk-cart-section .shop-cart-summary__row--total {
  align-items: baseline;
  padding-bottom: 0;
  color: var(--mk-text);
  font-size: 18px;
}

.mk-cart-section .shop-cart-summary__row--total span:last-child {
  color: var(--mk-primary-dark);
  font-size: 26px;
  font-weight: 900;
}

.mk-cart-section .shop-cart-summary__actions {
  order: 3;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}

.mk-cart-section .shop-cart-summary__actions form {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

.mk-cart-section .shop-cart-summary__actions > * {
  width: 100% !important;
  min-width: 0;
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-lg {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  border-radius: var(--mk-radius);
  font-weight: 900;
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-primary.shop-btn-lg {
  border-color: var(--mk-primary);
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.24);
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-primary.shop-btn-lg:hover {
  background: var(--mk-primary-dark);
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-secondary.shop-btn-lg,
.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-lg:not(.shop-btn-primary) {
  border-color: rgba(79, 199, 183, 0.3);
  background: #fff;
  color: var(--mk-primary-dark);
  box-shadow: none;
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-secondary.shop-btn-lg:hover,
.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-lg:not(.shop-btn-primary):hover {
  background: #e0f7f4;
}

.mk-cart-section .mk-cart-trust-row {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 20px -20px 0;
  border-top: 1px solid var(--mk-line);
  background: var(--mk-soft-2);
  padding: 14px 20px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.mk-cart-section .mk-cart-trust-row[hidden] {
  display: none !important;
}

.mk-cart-section .mk-cart-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.mk-cart-section .mk-cart-trust-row svg {
  width: 16px;
  height: 16px;
  color: var(--mk-primary);
}

.mk-cart-section .shop-cart-summary::after {
  content: none;
  display: none;
}

.mk-cart-recommend {
  padding-top: 0;
  padding-bottom: 80px;
}

.mk-cart-recommend .mk-heading {
  margin-bottom: 24px;
}

.mk-cart-recommend .mk-heading h2 {
  font-size: 22px;
}

.mk-cart-recommend .mk-heading p {
  margin-top: 8px;
  font-size: 14px;
}

.mk-cart-recommend__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-cart-suggestion {
  display: flex;
  gap: 16px;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--mk-shadow-sm);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.mk-cart-suggestion:hover {
  border-color: rgba(79, 199, 183, 0.35);
  box-shadow: 0 12px 30px rgba(36, 109, 116, 0.1);
  transform: translateY(-4px);
}

.mk-cart-suggestion__image {
  position: relative;
  display: grid;
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: var(--mk-radius);
  background: linear-gradient(140deg, #f6fbfa, #dff3f0);
}

.mk-cart-suggestion__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.3s ease;
}

.mk-cart-suggestion:hover .mk-cart-suggestion__image img {
  transform: scale(1.05);
}

.mk-cart-suggestion__body {
  display: grid;
  min-width: 0;
  align-content: space-between;
  gap: 4px;
}

.mk-cart-suggestion__body strong,
.mk-cart-suggestion__body small,
.mk-cart-suggestion__body em {
  display: block;
}

.mk-cart-suggestion__body strong {
  overflow: hidden;
  color: var(--mk-text);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-cart-suggestion__body small {
  overflow: hidden;
  color: var(--mk-muted);
  font-size: 14px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-cart-suggestion__body em {
  color: var(--mk-primary-dark);
  font-style: normal;
  font-size: 18px;
  font-weight: 900;
}

/* 结算页和支付页：保留 Halo 商城原生订单、支付和 CSRF 链路；地址弹窗保存时会同步调用用户地址簿接口。 */
.mk-checkout-page,
.mk-payment-page {
  background: var(--mk-soft-2);
}

.mk-checkout-hero {
  position: relative;
  overflow: hidden;
  padding: 146px 0 36px;
  background:
    linear-gradient(135deg, rgba(79, 199, 183, 0.14), rgba(255, 255, 255, 0.94) 52%, rgba(247, 184, 200, 0.14)),
    linear-gradient(180deg, rgba(255, 216, 107, 0.08), rgba(255, 255, 255, 0));
}

.mk-checkout-hero::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  opacity: 0.62;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(79, 199, 183, 0.14) 30%, transparent 46%, rgba(247, 184, 200, 0.12) 68%, transparent 86%),
    repeating-linear-gradient(90deg, rgba(79, 199, 183, 0.08) 0 1px, transparent 1px 96px);
  pointer-events: none;
}

.mk-checkout-flow {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
}

.mk-flow-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 34px;
  color: var(--mk-muted);
}

.mk-flow-progress span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.mk-flow-progress span:not(:last-child)::after {
  content: "";
  width: clamp(18px, 4vw, 36px);
  height: 2px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--mk-line);
}

.mk-flow-progress .is-active,
.mk-flow-progress .is-done {
  color: var(--mk-primary);
}

.mk-flow-progress .is-active:not(:last-child)::after,
.mk-flow-progress .is-done:not(:last-child)::after {
  background: var(--mk-primary);
}

.mk-flow-progress b {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--mk-line);
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 900;
}

.mk-flow-progress .is-active b,
.mk-flow-progress .is-done b {
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(79, 199, 183, 0.22);
}

.mk-flow-progress strong {
  white-space: nowrap;
}

.mk-checkout-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
}

.mk-checkout-hero__copy h1 {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.12;
}

.mk-checkout-hero__copy p {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--mk-muted);
  font-size: 17px;
  line-height: 1.8;
}

.mk-checkout-progress,
.mk-payment-safe-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(79, 199, 183, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
  box-shadow: var(--mk-shadow-sm);
  backdrop-filter: blur(14px);
}

.mk-checkout-progress span {
  display: grid;
  align-items: center;
  gap: 2px 12px;
  grid-template-columns: 42px minmax(0, 1fr);
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 12px;
}

.mk-checkout-progress b {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  grid-row: span 2;
  border-radius: var(--mk-radius);
  background: #e0f7f4;
  color: var(--mk-primary-dark);
  font-weight: 900;
}

.mk-checkout-progress strong,
.mk-payment-safe-card strong {
  color: var(--mk-text);
  font-size: 16px;
  font-weight: 900;
}

.mk-checkout-progress small,
.mk-payment-safe-card p {
  color: var(--mk-muted);
  font-size: 13px;
  line-height: 1.6;
}

.mk-checkout-progress .is-active {
  border-color: rgba(79, 199, 183, 0.5);
  background: linear-gradient(135deg, #fff, #eef9f7);
}

.mk-checkout-progress .is-active b {
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(79, 199, 183, 0.22);
}

.mk-checkout-section,
.mk-payment-section {
  background: var(--mk-soft-2);
  padding-top: 28px;
}

.mk-checkout-section .mk-container,
.mk-payment-section .mk-container,
.mk-payment-complete-section .mk-container {
  max-width: 760px;
}

.mk-checkout-layout {
  display: grid;
  align-items: start;
  gap: 18px;
  grid-template-columns: 1fr;
}

.mk-checkout-shell,
.mk-payment-shell,
.mk-checkout-aside article {
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--mk-shadow-sm);
}

.mk-checkout-shell,
.mk-payment-shell {
  min-width: 0;
  padding: 28px;
  overflow: hidden;
}

.mk-checkout-shell__head,
.mk-payment-shell__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--mk-line);
  padding-bottom: 20px;
}

.mk-checkout-shell__head span,
.mk-payment-shell__head span {
  display: block;
  margin-bottom: 6px;
  color: var(--mk-primary);
  font-size: 12px;
  font-weight: 900;
}

.mk-checkout-shell__head h2,
.mk-payment-shell__head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.18;
}

.mk-checkout-shell__head .mk-btn,
.mk-payment-shell__actions .mk-btn {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 9px 14px;
  font-size: 14px;
}

.mk-checkout-shell__head .mk-btn svg,
.mk-payment-shell__actions .mk-btn svg {
  width: 18px;
  height: 18px;
}

.mk-checkout-aside {
  position: static;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-checkout-aside article {
  padding: 20px;
}

.mk-checkout-aside__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: #e0f7f4;
  color: var(--mk-primary-dark);
}

.mk-checkout-aside__icon--yellow {
  background: rgba(255, 216, 107, 0.24);
  color: #9c7b18;
}

.mk-checkout-aside__icon svg,
.mk-payment-safe-card svg {
  width: 22px;
  height: 22px;
}

.mk-checkout-aside h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.mk-checkout-aside p {
  margin: 0;
  color: var(--mk-muted);
  font-size: 14px;
  line-height: 1.75;
}

.mk-payment-hero {
  padding-bottom: 36px;
}

.mk-payment-safe-card {
  gap: 10px;
  padding: 24px;
}

.mk-payment-safe-card > span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e0f7f4;
  color: var(--mk-primary-dark);
}

.mk-payment-safe-card p {
  margin: 0;
}

.mk-payment-shell {
  max-width: 760px;
  margin: 0 auto;
}

.mk-payment-shell__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.mk-checkout-shell shop-page-checkout,
.mk-payment-shell shop-page-payments {
  display: block;
  min-width: 0;
  color: var(--mk-text);
}

.mk-checkout-shell .shop-entry,
.mk-payment-shell .shop-entry {
  color: var(--mk-text);
}

.mk-checkout-shell .shop-entry__header,
.mk-payment-shell .shop-entry__header {
  display: none !important;
}

.mk-checkout-shell .shop-card,
.mk-payment-shell .shop-card,
.mk-checkout-shell [class*="address"],
.mk-checkout-shell [class*="Address"],
.mk-checkout-shell [class*="summary"],
.mk-checkout-shell [class*="Summary"],
.mk-checkout-shell [class*="order"],
.mk-checkout-shell [class*="Order"],
.mk-payment-shell [class*="payment"],
.mk-payment-shell [class*="Payment"] {
  border-color: var(--mk-line);
  border-radius: var(--mk-radius);
}

.mk-checkout-shell .shop-card,
.mk-payment-shell .shop-card {
  background: #fff;
  box-shadow: none;
}

.mk-checkout-shell .shop-card__title,
.mk-payment-shell .shop-card__title,
.mk-checkout-shell h2,
.mk-checkout-shell h3,
.mk-payment-shell h2,
.mk-payment-shell h3 {
  color: var(--mk-text);
  font-weight: 900;
}

.mk-checkout-shell input,
.mk-checkout-shell select,
.mk-checkout-shell textarea,
.mk-payment-shell input,
.mk-payment-shell select,
.mk-payment-shell textarea {
  min-height: 42px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  color: var(--mk-text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-checkout-shell input:focus,
.mk-checkout-shell select:focus,
.mk-checkout-shell textarea:focus,
.mk-payment-shell input:focus,
.mk-payment-shell select:focus,
.mk-payment-shell textarea:focus {
  border-color: var(--mk-primary);
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15);
}

.mk-checkout-shell label,
.mk-payment-shell label {
  color: var(--mk-text);
  font-weight: 800;
}

.mk-checkout-shell .shop-btn,
.mk-payment-shell .shop-btn {
  border-radius: var(--mk-radius);
  font-weight: 900;
}

.mk-checkout-shell .shop-btn.shop-btn-lg,
.mk-payment-shell .shop-btn.shop-btn-lg {
  min-height: 46px;
}

.mk-checkout-shell .shop-btn.shop-btn-primary,
.mk-payment-shell .shop-btn.shop-btn-primary,
.mk-payment-shell .shop-btn.shop-btn-secondary {
  border-color: var(--mk-primary);
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.24);
}

.mk-checkout-shell .shop-btn.shop-btn-primary:hover,
.mk-payment-shell .shop-btn.shop-btn-primary:hover,
.mk-payment-shell .shop-btn.shop-btn-secondary:hover {
  background: var(--mk-primary-dark);
}

.mk-checkout-shell .shop-btn.shop-btn-secondary,
.mk-payment-shell .shop-btn:not(.shop-btn-primary):not(.shop-btn-secondary) {
  border-color: rgba(79, 199, 183, 0.32);
  background: #fff;
  color: var(--mk-primary-dark);
  box-shadow: none;
}

.mk-checkout-shell .shop-btn.shop-btn-secondary:hover,
.mk-payment-shell .shop-btn:not(.shop-btn-primary):not(.shop-btn-secondary):hover {
  background: #e0f7f4;
}

.mk-checkout-shell [class*="item"],
.mk-checkout-shell [class*="Item"] {
  min-width: 0;
}

.mk-checkout-shell img,
.mk-payment-shell img {
  border-radius: var(--mk-radius);
}

.mk-checkout-shell [class*="price"],
.mk-checkout-shell [class*="Price"],
.mk-checkout-shell [class*="total"],
.mk-checkout-shell [class*="Total"],
.mk-payment-shell [class*="price"],
.mk-payment-shell [class*="Price"],
.mk-payment-shell [class*="amount"],
.mk-payment-shell [class*="Amount"],
.mk-payment-shell [class*="total"],
.mk-payment-shell [class*="Total"] {
  color: var(--mk-primary-dark);
  font-weight: 900;
}

.mk-checkout-shell [class*="summary"],
.mk-checkout-shell [class*="Summary"] {
  background: linear-gradient(180deg, #fff, rgba(79, 199, 183, 0.05));
}

.mk-payment-shell [class*="method"],
.mk-payment-shell [class*="Method"],
.mk-payment-shell [class*="channel"],
.mk-payment-shell [class*="Channel"] {
  border-color: var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
}

.mk-payment-shell [class*="method"].is-selected,
.mk-payment-shell [class*="Method"].is-selected,
.mk-payment-shell [class*="channel"].is-selected,
.mk-payment-shell [class*="Channel"].is-selected,
.mk-payment-shell [aria-checked="true"],
.mk-payment-shell [aria-selected="true"] {
  border-color: var(--mk-primary);
  background: rgba(79, 199, 183, 0.06);
  box-shadow: inset 0 0 0 1px rgba(79, 199, 183, 0.26);
}

.mk-payment-shell [class*="method"]:hover,
.mk-payment-shell [class*="Method"]:hover,
.mk-payment-shell [class*="channel"]:hover,
.mk-payment-shell [class*="Channel"]:hover {
  border-color: rgba(79, 199, 183, 0.48);
  box-shadow: 0 12px 30px rgba(36, 109, 116, 0.08);
}

.mk-flow-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 24px -28px -28px;
  border-top: 1px solid var(--mk-line);
  background: var(--mk-soft-2);
  padding: 16px 20px;
}

.mk-flow-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mk-muted);
  font-size: 13px;
  font-weight: 800;
}

.mk-flow-trust svg {
  width: 16px;
  height: 16px;
  color: var(--mk-primary);
}

.mk-real-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.mk-real-payment-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mk-real-payment-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(31, 45, 56, 0.52);
  backdrop-filter: blur(5px);
}

.mk-real-payment-modal__card {
  position: relative;
  width: min(440px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 28px 80px rgba(31, 45, 56, 0.28);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.22s ease;
}

.mk-real-payment-modal.is-open .mk-real-payment-modal__card {
  transform: translateY(0) scale(1);
}

.mk-real-payment-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.mk-real-payment-modal__head span {
  color: var(--mk-primary);
  font-size: 12px;
  font-weight: 900;
}

.mk-real-payment-modal__head h2 {
  margin: 5px 0 0;
  font-size: 22px;
  font-weight: 900;
}

.mk-real-payment-modal__head p {
  margin: 8px 0 0;
  color: var(--mk-muted);
  font-size: 13px;
  line-height: 1.65;
}

.mk-real-payment-modal__head button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--mk-radius);
  background: var(--mk-soft);
  color: var(--mk-muted);
}

.mk-real-payment-modal__head button:hover {
  color: var(--mk-text);
}

.mk-real-payment-modal__head button svg {
  width: 18px;
  height: 18px;
}

.mk-real-payment-modal__body {
  display: grid;
  place-items: center;
  min-height: 232px;
  border-radius: 12px;
  background: var(--mk-soft-2);
  padding: 18px;
}

.mk-real-payment-modal__body img,
.mk-real-payment-modal__body canvas,
.mk-real-payment-modal__body svg {
  max-width: min(232px, 100%);
  height: auto;
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 8px;
  box-shadow: var(--mk-shadow-sm);
}

.mk-real-payment-modal__body a {
  color: var(--mk-primary-dark);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.mk-real-payment-modal__expired {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 260px;
  color: var(--mk-muted);
  text-align: center;
}

.mk-real-payment-modal__expired strong {
  color: var(--mk-text);
  font-size: 18px;
  font-weight: 900;
}

.mk-real-payment-modal__expired p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.mk-real-payment-modal__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 800;
}

.mk-real-payment-modal__timer svg {
  width: 18px;
  height: 18px;
  color: var(--mk-primary);
}

.mk-real-payment-modal__timer b {
  color: var(--mk-primary-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
}

.mk-real-payment-modal__hint {
  margin: 12px 0 0;
  color: var(--mk-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.mk-payment-complete-section {
  background: var(--mk-soft-2);
  padding-top: 10px;
}

.mk-payment-complete-card {
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  padding: 38px 30px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.08);
}

.mk-payment-complete-card__icon {
  display: inline-flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(79, 199, 183, 0.14);
  color: var(--mk-primary);
}

.mk-payment-complete-card__icon svg {
  width: 44px;
  height: 44px;
}

.mk-payment-complete-card h2 {
  margin: 22px 0 0;
  font-size: 32px;
  font-weight: 900;
}

.mk-payment-complete-card p {
  margin: 10px 0 0;
  color: var(--mk-muted);
  font-weight: 700;
}

.mk-payment-complete-card__meta {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  border-radius: 12px;
  background: var(--mk-soft-2);
  padding: 16px;
  text-align: left;
}

.mk-payment-complete-card__meta:empty {
  display: none;
}

.mk-payment-complete-card__meta span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 800;
}

.mk-payment-complete-card__meta b {
  color: var(--mk-primary-dark);
}

.mk-payment-complete-card__actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.mk-payment-complete-card__actions .mk-btn {
  flex: 1 1 0;
  justify-content: center;
}

.mk-payment-order-drawer .mk-drawer__body {
  display: grid;
  gap: 14px;
}

.mk-payment-order-detail {
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: var(--mk-soft-2);
  padding: 16px;
}

.mk-payment-order-detail h3 {
  margin: 0 0 12px;
  color: var(--mk-text);
  font-size: 15px;
  font-weight: 900;
}

.mk-payment-order-detail dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.mk-payment-order-detail div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 700;
}

.mk-payment-order-detail dt {
  flex: 0 0 auto;
}

.mk-payment-order-detail dd {
  margin: 0;
  color: var(--mk-text);
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.mk-payment-order-empty {
  border: 1px dashed var(--mk-line);
  border-radius: 12px;
  background: var(--mk-soft-2);
  padding: 18px;
  color: var(--mk-muted);
  font-weight: 700;
  line-height: 1.75;
}

@media (max-width: 960px) {
  .mk-cart-section .shop-cart-item {
    grid-template-columns: 96px minmax(0, 1fr) auto;
  }

  .mk-cart-section .shop-cart-item .shop-quantity,
  .mk-cart-section .shop-cart-item__total {
    grid-column: 2;
  }

  .mk-cart-section .shop-cart-item__remove {
    grid-column: 3;
    grid-row: 1;
  }

  .mk-checkout-hero__grid,
  .mk-checkout-layout {
    grid-template-columns: 1fr;
  }

  .mk-checkout-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-cart-recommend__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .mk-product-detail {
    padding-top: 232px;
  }

  .mk-product-gallery__main img {
    padding: 32px;
  }

  .mk-product-gallery__arrow {
    width: 36px;
    height: 36px;
  }

  .mk-product-gallery__arrow--prev {
    left: 10px;
  }

  .mk-product-gallery__arrow--next {
    right: 10px;
  }

  .mk-product-gallery__thumbs button {
    width: 80px;
    height: 80px;
  }

  .mk-product-buy .buy-box__price {
    display: grid;
    gap: 8px;
  }

  .mk-product-buy .buy-box__price-value {
    font-size: 40px;
  }

  .mk-product-buy .buy-box__actions {
    flex-direction: row;
    gap: 16px;
  }

  .mk-product-buy .shop-btn.shop-btn-lg {
    min-height: 40px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 14px;
  }

  .mk-product-buy .shop-btn.shop-btn-primary.shop-btn-lg::before {
    width: 16px;
    height: 16px;
  }

  .mk-product-buy h1 {
    font-size: 30px;
  }

  .mk-tabs__nav button {
    min-width: 0;
    padding-right: 4px;
    padding-left: 4px;
    font-size: 14px;
  }

  .mk-tab-panel {
    padding: 32px;
  }

  .mk-spec-grid {
    grid-template-columns: 1fr;
  }

  .mk-cart-section .shop-cart-item {
    align-items: start;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px;
  }

  .mk-cart-section .shop-cart-item__image {
    width: 84px !important;
    height: 84px !important;
  }

  .mk-cart-section .shop-cart-item .shop-quantity {
    grid-column: 2;
    margin-top: 12px;
  }

  .mk-cart-section .shop-cart-item__total {
    grid-column: 2;
    min-height: 36px;
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    font-size: 18px;
  }

  .mk-cart-section .shop-cart-item__remove {
    grid-column: 3;
    grid-row: 1;
  }

  .mk-cart-recommend__grid {
    grid-template-columns: 1fr;
  }

  .mk-cart-section .shop-cart-summary__actions {
    grid-template-columns: 1fr;
  }

  .mk-cart-section .shop-cart-summary__actions > *,
  .mk-cart-section .shop-cart-summary__actions form {
    grid-column: 1 !important;
  }
}

.mk-search-form {
  display: flex;
  max-width: 680px;
  gap: 12px;
  margin: 34px auto 0;
}

.mk-search-form input {
  flex: 1;
  min-height: 56px;
}

.mk-result {
  max-width: 620px;
  margin: 20px auto 0;
  border: 1px solid var(--mk-line);
  border-left: 5px solid var(--mk-primary);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 18px;
  text-align: left;
  box-shadow: var(--mk-shadow-sm);
}

.mk-result.is-danger {
  border-left-color: var(--mk-danger);
}

.mk-steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-steps article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 22px;
  box-shadow: var(--mk-shadow-sm);
}

.mk-steps b {
  color: #b8d9d5;
  font-size: 30px;
  font-weight: 900;
}

.mk-steps span {
  color: var(--mk-muted);
}

.mk-proof-card,
.mk-faq-card,
.mk-form,
.mk-contact-panel {
  padding: 26px;
}

.mk-proof-card__body {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  grid-template-columns: 240px 1fr;
}

.mk-proof-card__body > div {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(145deg, #3ecbb8, #27a898);
  color: #fff;
}

.mk-proof-card__body strong {
  font-size: 30px;
}

.mk-proof-card dl {
  display: grid;
  align-content: center;
  gap: 12px 24px;
  grid-template-columns: auto 1fr;
  margin: 0;
  background: #f4faf9;
  padding: 28px;
}

.mk-proof-card dt {
  color: var(--mk-muted);
}

.mk-faq-card button {
  display: block;
  width: 100%;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #f4faf9;
  padding: 16px;
  color: var(--mk-text);
  text-align: left;
  font-weight: 800;
}

.mk-faq-card button + button {
  margin-top: 12px;
}

.mk-faq-card button span {
  display: block;
  margin-top: 4px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 400;
}

.mk-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.36s;
}

.mk-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.mk-drawer__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.25);
  padding: 0;
  opacity: 0;
  appearance: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.mk-drawer.is-open .mk-drawer__backdrop {
  opacity: 1;
}

.mk-order-drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(7, 16, 20, 0.56);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mk-order-drawer.is-open::before {
  opacity: 1;
}

.mk-drawer aside {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: min(420px, 100%);
  height: 100%;
  overflow: auto;
  background: #fff;
  padding: 28px;
  box-shadow: -8px 0 40px rgba(36, 109, 116, 0.12);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mk-drawer.is-open aside {
  transform: translateX(0);
}

.mk-drawer button[data-drawer-close] {
  float: right;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--mk-radius);
  background: #f4faf9;
  font-size: 24px;
}

.mk-drawer .mk-drawer__backdrop[data-drawer-close] {
  position: absolute;
  inset: 0;
  float: none;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  font-size: 0;
}

.mk-drawer img {
  margin: 18px 0;
  border-radius: var(--mk-radius);
  background: #eef9f7;
}

/* 正品查询页：下面这组样式专门复刻本地预览 /verify 页的卡片、抽屉和结果状态。
   选择器都带 mk-verify 前缀或抽屉局部类，避免覆盖 Halo 搜索页、商城页和文章页的通用组件。 */
.mk-verify-hero {
  overflow: hidden;
  padding-top: 232px;
  padding-bottom: 80px;
  background: var(--mk-soft-2);
}

.mk-verify-hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(79, 199, 183, 0.12), transparent 68%);
}

.mk-verify-hero__inner {
  position: relative;
  display: block;
  max-width: 1100px;
  margin-top: 0;
  text-align: center;
}

.mk-verify-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
}

.mk-verify-hero p {
  max-width: 800px;
  color: var(--mk-muted);
}

.mk-verify-search {
  max-width: 640px;
  align-items: stretch;
  margin-top: 40px;
}

.mk-search-field {
  position: relative;
  display: flex;
  flex: 1;
}

.mk-search-field__icon {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--mk-muted);
  transform: translateY(-50%);
}

.mk-search-field__icon svg,
.mk-step-card__icon svg,
.mk-step-arrow svg,
.mk-faq-button svg,
.mk-drawer__icon svg,
.mk-drawer__header button svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mk-verify-search input {
  width: 100%;
  min-height: 56px;
  border-color: var(--mk-line);
  border-radius: var(--mk-radius);
  padding-left: 48px;
  padding-right: 16px;
  font-size: 16px;
  box-shadow: 0 8px 30px rgba(36, 109, 116, 0.08);
}

.mk-verify-search .mk-btn {
  min-height: 56px;
  padding-right: 32px;
  padding-left: 32px;
  font-size: 18px;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.25);
  white-space: nowrap;
}

.mk-verify-result {
  max-width: 560px;
  border-color: rgba(79, 199, 183, 0.4);
  border-left-color: var(--mk-primary);
  padding: 20px;
}

.mk-verify-result.is-warning {
  border-color: rgba(255, 216, 107, 0.45);
  border-left-color: var(--mk-yellow);
}

.mk-verify-result.is-danger {
  border-color: rgba(239, 93, 93, 0.4);
  border-left-color: var(--mk-danger);
}

.mk-result-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mk-result-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: rgba(79, 199, 183, 0.1);
  color: var(--mk-primary);
}

.mk-result-icon svg {
  width: 20px;
  height: 20px;
}

.mk-verify-result.is-danger .mk-result-icon {
  background: rgba(239, 93, 93, 0.1);
  color: var(--mk-danger);
}

.mk-verify-result.is-warning .mk-result-icon {
  background: rgba(255, 216, 107, 0.18);
  color: #b89830;
}

.mk-result-content strong {
  display: block;
  color: var(--mk-primary);
  font-weight: 900;
}

.mk-verify-result.is-danger .mk-result-content strong {
  color: var(--mk-danger);
}

.mk-verify-result.is-warning .mk-result-content strong {
  color: var(--mk-text);
}

.mk-result-content p {
  margin: 6px 0 0;
  color: var(--mk-muted);
  font-size: 14px;
  line-height: 1.7;
}

.mk-result-content code {
  border-radius: 4px;
  background: var(--mk-soft);
  padding: 2px 6px;
  color: var(--mk-text);
  font-size: 12px;
}

.mk-result-grid {
  display: grid;
  gap: 4px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
  color: var(--mk-muted);
  font-size: 14px;
}

.mk-result-grid b {
  color: var(--mk-text);
}

.mk-verify-flow {
  padding-top: 32px;
  padding-bottom: 32px;
}

.mk-verify-steps {
  display: grid;
  align-items: center;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
}

.mk-step-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(36, 109, 116, 0.06);
}

.mk-step-card b {
  flex: 0 0 auto;
  color: var(--mk-line);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.mk-step-card__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: var(--mk-primary);
  color: #fff;
  padding: 12px;
}

.mk-step-card__copy {
  min-width: 0;
}

.mk-step-card__copy strong,
.mk-step-card__copy small {
  display: block;
}

.mk-step-card__copy strong {
  color: var(--mk-text);
  font-weight: 900;
}

.mk-step-card__copy small {
  margin-top: 2px;
  color: var(--mk-muted);
  font-size: 14px;
  line-height: 1.45;
}

.mk-step-arrow {
  display: inline-flex;
  width: 20px;
  height: 20px;
  margin: 0 8px;
  color: #b8d9d5;
}

.mk-verify-content {
  padding-top: 64px;
  padding-bottom: 80px;
}

.mk-verify-grid {
  display: grid;
  align-items: stretch;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 380px;
}

.mk-verify-proof-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-left: 4px solid rgba(79, 199, 183, 0.85);
  padding: 24px;
  box-shadow: 0 8px 32px rgba(79, 199, 183, 0.12);
}

.mk-verify-proof-card.is-fake {
  border-left-color: var(--mk-danger);
  box-shadow: 0 8px 32px rgba(239, 93, 93, 0.12);
}

.mk-verify-proof-card h2,
.mk-verify-faq-card h2 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.mk-verify-proof-card .mk-proof-card__body {
  flex: 1 1 auto;
  grid-template-columns: 240px 1fr;
  border-radius: var(--mk-radius);
}

.mk-proof-card__badge {
  position: relative;
  min-height: 230px;
  gap: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #3ecbb8, #27a898);
}

.mk-verify-proof-card.is-fake .mk-proof-card__badge {
  background: linear-gradient(145deg, #ef5d5d, #d63c3c);
}

.mk-proof-card__badge::before,
.mk-proof-card__badge::after {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  content: "";
}

.mk-proof-card__badge::before {
  top: -40px;
  right: -40px;
}

.mk-proof-card__badge::after {
  bottom: -52px;
  left: -42px;
}

.mk-proof-card__overline,
.mk-proof-card__badge strong,
.mk-proof-card__badge em,
.mk-proof-shield {
  position: relative;
  z-index: 1;
}

.mk-proof-card__overline {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.mk-proof-shield {
  width: 86px;
  height: 100px;
  color: #3ecbb8;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.18));
}

.mk-verify-proof-card.is-fake .mk-proof-shield {
  color: var(--mk-danger);
}

.mk-proof-shield svg {
  width: 100%;
  height: 100%;
}

.mk-proof-shield__x {
  display: none;
}

.mk-verify-proof-card.is-fake .mk-proof-shield__check {
  display: none;
}

.mk-verify-proof-card.is-fake .mk-proof-shield__x {
  display: block;
}

.mk-proof-card__badge strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.mk-proof-card__badge em {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 20px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
}

.mk-verify-proof-card .mk-proof-card dl {
  gap: 14px 32px;
  padding: 28px 32px;
  font-size: 15px;
}

.mk-verify-proof-card.is-fake .mk-proof-card dl {
  background: #fef7f7;
}

.mk-proof-fake-alert {
  display: flex;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 14px;
  border-radius: 14px;
  background: rgba(239, 93, 93, 0.1);
  padding: 16px 18px;
}

.mk-proof-fake-alert__icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--mk-danger);
}

.mk-proof-fake-alert__icon svg {
  width: 24px;
  height: 24px;
}

.mk-proof-fake-alert strong {
  display: block;
  color: var(--mk-danger);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
}

.mk-proof-fake-alert p {
  margin: 6px 0 0;
  color: var(--mk-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.mk-proof-fake-alert code {
  border-radius: 6px;
  background: #eef7f5;
  padding: 2px 8px;
  color: #516579;
  font-family: inherit;
  font-size: 0.92em;
}

.mk-verify-proof-card .mk-proof-card dd {
  margin: 0;
  color: var(--mk-text);
  font-weight: 800;
}

.mk-verify-proof-card.is-fake .mk-proof-card dd {
  color: var(--mk-danger);
}

.mk-verify-faq-card {
  padding: 24px;
  box-shadow: 0 4px 24px rgba(36, 109, 116, 0.06);
}

.mk-verify-faq-card .mk-faq-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #f4faf9;
  padding: 16px;
  color: var(--mk-text);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mk-verify-faq-card .mk-faq-button + .mk-faq-button {
  margin-top: 12px;
}

.mk-verify-faq-card .mk-faq-button:hover,
.mk-verify-faq-card .mk-faq-button:focus-visible {
  border-color: rgba(79, 199, 183, 0.4);
  background: var(--mk-soft);
  box-shadow: 0 4px 16px rgba(36, 109, 116, 0.1);
}

.mk-verify-faq-card .mk-faq-button .mk-faq-button__icon {
  display: inline-flex;
  margin-top: 0;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: var(--mk-soft);
  color: var(--mk-primary);
  padding: 10px;
  transition: background 0.2s ease;
}

.mk-faq-button:hover .mk-faq-button__icon,
.mk-faq-button:focus-visible .mk-faq-button__icon {
  background: rgba(79, 199, 183, 0.18);
}

.mk-verify-faq-card .mk-faq-button .mk-faq-button__copy {
  display: block;
  margin-top: 0;
  min-width: 0;
  flex: 1;
}

.mk-verify-faq-card .mk-faq-button .mk-faq-button__copy strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
}

.mk-verify-faq-card .mk-faq-button .mk-faq-button__copy span {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-verify-faq-card .mk-faq-button .mk-faq-button__arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #b8d9d5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mk-faq-button:hover .mk-faq-button__arrow,
.mk-faq-button:focus-visible .mk-faq-button__arrow {
  color: var(--mk-primary);
  transform: translateX(2px);
}

.mk-drawer__backdrop {
  backdrop-filter: blur(2px);
}

.mk-order-drawer .mk-drawer__backdrop {
  z-index: 1;
  background: transparent;
  backdrop-filter: none;
}

.mk-drawer .mk-drawer__panel {
  display: flex;
  width: min(420px, 100%);
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.mk-drawer__header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--mk-line);
  padding: 20px 24px;
}

.mk-drawer__header h2 {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.mk-drawer__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: var(--mk-soft);
  color: var(--mk-primary);
  padding: 9px;
}

.mk-drawer__header button[data-drawer-close] {
  float: none;
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--mk-radius);
  background: transparent;
  padding: 8px;
  color: var(--mk-muted);
  font-size: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.mk-drawer__header button[data-drawer-close]:hover,
.mk-drawer__header button[data-drawer-close]:focus-visible {
  background: #f4faf9;
  color: var(--mk-text);
}

.mk-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.mk-drawer-visual {
  position: relative;
  height: 192px;
  overflow: hidden;
  margin: 0 0 24px;
  border-radius: var(--mk-radius);
  background: var(--mk-soft);
}

.mk-drawer-visual--warm {
  height: 160px;
  background: #fff7f0;
}

.mk-drawer-visual--mint {
  height: clamp(220px, 32vw, 300px);
}

.mk-drawer .mk-drawer-visual img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  padding: 16px;
}

.mk-drawer-visual figcaption {
  position: absolute;
  right: 24px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #fff;
  padding: 6px 12px;
  color: var(--mk-primary-dark);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(36, 109, 116, 0.14);
}

.mk-drawer-callout {
  border: 1px solid rgba(79, 199, 183, 0.3);
  border-radius: var(--mk-radius);
  background: var(--mk-soft);
  padding: 16px;
  color: var(--mk-primary-dark);
  font-size: 14px;
  line-height: 1.75;
}

.mk-drawer-callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--mk-primary-dark);
  font-size: 16px;
}

.mk-drawer-callout p {
  margin: 0;
}

.mk-drawer-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.mk-drawer-list article {
  display: flex;
  gap: 12px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #f4faf9;
  padding: 16px;
}

.mk-drawer-list b,
.mk-drawer-list--icons > article > span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--mk-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.mk-drawer-list--icons > article > span {
  width: 32px;
  height: 32px;
  border-radius: var(--mk-radius);
}

.mk-drawer-list--icons .is-warm {
  background: #fff3e8;
  color: #ef8c4a;
}

.mk-drawer-list--icons .is-mint {
  background: var(--mk-soft);
  color: var(--mk-primary);
}

.mk-drawer-list--icons .is-blue {
  background: #eef2fd;
  color: #7b9be4;
}

.mk-drawer-list strong {
  display: block;
  color: var(--mk-text);
  font-weight: 900;
}

.mk-drawer-list p {
  margin: 4px 0 0;
  color: var(--mk-muted);
  font-size: 14px;
  line-height: 1.7;
}

.mk-drawer-support {
  margin-top: 24px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 16px;
}

.mk-drawer-support > strong {
  display: block;
  margin-bottom: 12px;
  font-weight: 900;
}

.mk-drawer-support p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--mk-text);
  font-weight: 800;
}

.mk-drawer-support p + p {
  margin-top: 12px;
}

.mk-drawer .mk-drawer-support img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  margin: 0;
  border-radius: var(--mk-radius);
  object-fit: cover;
  padding: 0;
}

.mk-partner-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
}

.mk-partner-hero .mk-partner-grid {
  margin-top: 64px;
}

.mk-partner-card,
.mk-account-card {
  padding: 24px;
}

.mk-partner-card {
  display: grid;
  align-content: start;
  grid-template-rows: 48px auto minmax(28px, auto) auto;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.mk-partner-card__icon,
.mk-contact-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: rgba(79, 199, 183, 0.1);
  color: var(--mk-primary);
}

.mk-partner-card__icon svg,
.mk-contact-icon svg,
.mk-partner-form .mk-eyebrow svg,
.mk-partner-form .mk-btn svg {
  width: 20px;
  height: 20px;
}

/* 合作卡片放在 Hero 区域内，需要覆盖内页 Hero 段落的通用字号和居中规则，避免说明文字变大并影响四张卡片的清单起点。 */
.mk-partner-card h3 {
  margin: 16px 0 0;
}

.mk-partner-card p {
  max-width: none;
  min-height: 28px;
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

.mk-partner-card ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.mk-partner-card li,
.mk-note li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.mk-partner-card li::before,
.mk-note li::before {
  content: "✓ ";
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--mk-primary);
  font-weight: 900;
}

.mk-partner-section {
  background: linear-gradient(180deg, rgba(79, 199, 183, 0.02) 0%, rgba(79, 199, 183, 0.06) 100%);
  padding: 80px 0;
}

.mk-partner-layout {
  gap: 64px;
}

.mk-partner-form,
.mk-partner-contact {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.mk-partner-form h2,
.mk-partner-contact h2 {
  margin: 16px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.15;
}

.mk-partner-form > p,
.mk-partner-contact > p {
  margin: 8px 0 0;
  color: var(--mk-muted);
}

.mk-form label {
  display: grid;
  gap: 8px;
  color: var(--mk-text);
  font-size: 14px;
  font-weight: 700;
}

.mk-form__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-form > * + * {
  margin-top: 16px;
}

.mk-partner-form input {
  min-height: 48px;
}

.mk-partner-form input,
.mk-partner-form textarea {
  color: var(--mk-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

/* 浏览器自动填充会给输入框盖一层浅蓝底色，这里只在合作表单内强制恢复白底。 */
.mk-partner-form input:autofill,
.mk-partner-form textarea:autofill,
.mk-partner-form input:-webkit-autofill,
.mk-partner-form input:-webkit-autofill:hover,
.mk-partner-form input:-webkit-autofill:active,
.mk-partner-form textarea:-webkit-autofill,
.mk-partner-form textarea:-webkit-autofill:hover,
.mk-partner-form textarea:-webkit-autofill:active {
  background-color: #fff !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--mk-text);
  caret-color: var(--mk-text);
}

.mk-partner-form input:autofill:focus,
.mk-partner-form textarea:autofill:focus,
.mk-partner-form input:-webkit-autofill:focus,
.mk-partner-form textarea:-webkit-autofill:focus {
  background-color: #fff !important;
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(79, 199, 183, 0.15) !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(79, 199, 183, 0.15) !important;
  -webkit-text-fill-color: var(--mk-text);
  caret-color: var(--mk-text);
}

.mk-partner-form > .mk-form__grid:first-of-type {
  margin-top: 32px;
}

.mk-partner-type {
  display: grid;
  gap: 8px;
  color: var(--mk-text);
  font-size: 14px;
  font-weight: 700;
}

.mk-partner-type__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-partner-type__grid button {
  min-height: 46px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 10px 12px;
  color: var(--mk-text);
  font: inherit;
  font-weight: 800;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mk-partner-type__grid button:hover,
.mk-partner-type__grid button:focus-visible {
  border-color: rgba(79, 199, 183, 0.45);
  outline: none;
}

.mk-partner-type__grid button.is-active,
.mk-partner-type__grid button[aria-pressed="true"] {
  border-color: var(--mk-primary);
  background: rgba(79, 199, 183, 0.1);
  color: var(--mk-primary-dark);
}

.mk-partner-form .mk-btn {
  width: 100%;
  min-height: 48px;
}

html.mk-modal-open,
html.mk-modal-open body {
  overflow: hidden;
}

.mk-partner-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.mk-partner-confirm-modal[hidden] {
  display: none;
}

.mk-partner-confirm-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mk-partner-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(31, 45, 56, 0.32);
  backdrop-filter: blur(5px);
}

.mk-partner-confirm-modal__card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(420px, 100%);
  gap: 14px;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  padding: 28px;
  text-align: center;
  box-shadow: 0 28px 90px rgba(12, 45, 47, 0.18);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.18s ease;
}

.mk-partner-confirm-modal.is-visible .mk-partner-confirm-modal__card {
  transform: translateY(0) scale(1);
}

.mk-partner-confirm-modal__icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  justify-self: center;
  border-radius: 12px;
  background: rgba(79, 199, 183, 0.12);
  color: var(--mk-primary-dark);
}

.mk-partner-confirm-modal__icon svg {
  width: 26px;
  height: 26px;
}

.mk-partner-confirm-modal h3 {
  margin: 2px 0 0;
  color: var(--mk-text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.mk-partner-confirm-modal p {
  margin: 0;
  color: var(--mk-muted);
  font-size: 14px;
  line-height: 1.75;
}

.mk-partner-confirm-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.mk-partner-confirm-modal__actions .mk-btn {
  min-height: 46px;
  width: 100%;
}

.mk-partner-confirm-modal__actions .mk-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.2);
}

.mk-contact-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.mk-contact-panel article {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 20px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.mk-contact-panel article:hover {
  border-color: rgba(79, 199, 183, 0.45);
  box-shadow: var(--mk-shadow-sm);
  transform: translateY(-4px);
}

.mk-contact-panel h4 {
  margin: 0;
  font-weight: 900;
}

.mk-contact-panel article div {
  min-width: 0;
}

.mk-contact-panel article div > span,
.mk-contact-panel article small {
  display: block;
  color: var(--mk-muted);
}

.mk-note {
  margin-top: 18px;
  border: 1px solid rgba(79, 199, 183, 0.2);
  border-radius: var(--mk-radius);
  background: rgba(79, 199, 183, 0.05);
  padding: 24px;
  transition: transform 0.24s ease;
}

.mk-note:hover {
  transform: translateY(-4px);
}

.mk-note h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.mk-note ul {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.mk-account-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-page--account {
  background: var(--mk-bg);
}

.mk-account-hero {
  padding-bottom: 48px;
}

.mk-account-hero .mk-eyebrow {
  gap: 8px;
}

.mk-account-hero .mk-eyebrow svg {
  width: 16px;
  height: 16px;
}

.mk-account-hero p {
  margin-right: 0;
  margin-left: 0;
}

.mk-account-section {
  background: linear-gradient(180deg, rgba(79, 199, 183, 0.03), rgba(79, 199, 183, 0.01));
  padding: 0 0 84px;
}

.mk-account-dashboard {
  display: grid;
  align-items: start;
  gap: 32px;
  grid-template-columns: 300px minmax(0, 1fr);
}

.mk-account-sidebar,
.mk-account-panel {
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.08);
}

.mk-account-sidebar {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.mk-account-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.mk-account-avatar {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--mk-primary), var(--mk-primary-dark));
  color: #fff;
}

.mk-account-avatar svg {
  width: 28px;
  height: 28px;
}

.mk-account-profile p {
  margin: 0;
  color: var(--mk-muted);
  font-size: 14px;
}

.mk-account-profile h2 {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.mk-account-menu {
  display: grid;
  gap: 8px;
}

.mk-account-menu button {
  display: grid;
  width: 100%;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 2px 12px;
  align-items: center;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 14px;
  color: var(--mk-text);
  font: inherit;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mk-account-menu button:hover,
.mk-account-menu button.is-active {
  border-color: var(--mk-primary);
  background: #e0f7f4;
  color: var(--mk-primary-dark);
}

.mk-account-menu button:hover {
  transform: translateY(-2px);
}

.mk-account-menu button > span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: var(--mk-soft);
  color: var(--mk-primary-dark);
}

.mk-account-menu button.is-active > span {
  background: rgba(79, 199, 183, 0.2);
}

.mk-account-menu svg,
.mk-account-logout svg {
  width: 20px;
  height: 20px;
}

.mk-account-menu strong,
.mk-account-menu small {
  min-width: 0;
}

.mk-account-menu strong {
  font-weight: 900;
}

.mk-account-menu small {
  color: var(--mk-muted);
  font-size: 12px;
  line-height: 1.35;
}

.mk-account-logout-form {
  margin: 24px 0 0;
}

.mk-account-logout {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  color: var(--mk-muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mk-account-logout:hover {
  border-color: rgba(239, 93, 93, 0.3);
  background: rgba(239, 93, 93, 0.08);
  color: var(--mk-danger);
}

.mk-account-panels {
  min-width: 0;
}

.mk-account-panel {
  padding: 24px;
}

.mk-account-panel[hidden] {
  display: none;
}

.mk-account-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.mk-account-pill,
.mk-account-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  font-weight: 900;
}

.mk-account-pill {
  background: rgba(79, 199, 183, 0.15);
  padding: 8px 14px;
  color: var(--mk-primary-dark);
  font-size: 14px;
}

.mk-account-panel__head h2 {
  margin: 12px 0 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
}

.mk-account-list {
  display: grid;
  gap: 16px;
}

.mk-account-order {
  display: grid;
  width: 100%;
  align-items: center;
  gap: 16px;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  padding: 20px;
  color: var(--mk-text);
  font: inherit;
  text-align: left;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.mk-account-order:hover,
.mk-address-card:hover,
.mk-security-card:hover {
  border-color: rgba(79, 199, 183, 0.5);
  box-shadow: 0 12px 35px rgba(36, 109, 116, 0.08);
  transform: translateY(-2px);
}

.mk-account-order__icon,
.mk-security-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: linear-gradient(140deg, #f6fbfa, #dff3f0);
  color: rgba(79, 199, 183, 0.5);
}

.mk-account-order__icon {
  width: 64px;
  height: 64px;
  overflow: hidden;
}

.mk-account-order__icon svg {
  width: 32px;
  height: 32px;
}

.mk-account-order__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.mk-account-order__main {
  min-width: 0;
}

.mk-account-status {
  gap: 6px;
  --mk-order-status-border: var(--mk-line);
  --mk-order-status-bg: var(--mk-primary-soft);
  --mk-order-status-color: var(--mk-primary-dark);
  border: 1px solid var(--mk-order-status-border);
  background: var(--mk-order-status-bg);
  padding: 5px 10px;
  color: var(--mk-order-status-color);
  font-size: 12px;
  font-style: normal;
}

.mk-account-status svg {
  width: 12px;
  height: 12px;
}

.mk-account-status--pending-payment {
  --mk-order-status-border: rgba(246, 115, 33, 0.2);
  --mk-order-status-bg: rgba(246, 115, 33, 0.1);
  --mk-order-status-color: #e76019;
}

.mk-account-status--cancelled {
  --mk-order-status-border: rgba(142, 142, 142, 0.18);
  --mk-order-status-bg: rgba(142, 142, 142, 0.1);
  --mk-order-status-color: #7a7f85;
}

.mk-account-status--pending-shipment {
  --mk-order-status-border: rgba(43, 111, 220, 0.16);
  --mk-order-status-bg: rgba(43, 111, 220, 0.1);
  --mk-order-status-color: #2b62cf;
}

.mk-account-status--shipping {
  --mk-order-status-border: rgba(214, 164, 28, 0.2);
  --mk-order-status-bg: rgba(255, 216, 107, 0.3);
  --mk-order-status-color: #b58b18;
}

.mk-account-status--completed {
  --mk-order-status-border: rgba(43, 141, 137, 0.16);
  --mk-order-status-bg: rgba(79, 199, 183, 0.16);
  --mk-order-status-color: #1e8f8a;
}

.mk-account-order strong,
.mk-account-order__title {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 900;
}

.mk-account-order__title-row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.mk-account-order__sku {
  min-width: 0;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mk-account-order__meta {
  display: grid;
  gap: 3px;
  margin-top: 6px;
  color: var(--mk-muted);
  font-size: 14px;
  line-height: 1.6;
}

.mk-account-order__meta-row {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.mk-account-order__meta-line {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mk-account-order small {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
  color: var(--mk-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.mk-account-order small svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.mk-account-order__amount {
  color: var(--mk-primary-dark);
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.mk-account-order__arrow {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: var(--mk-muted);
}

.mk-account-order__arrow svg {
  width: 20px;
  height: 20px;
}

.mk-address-list {
  display: grid;
  gap: 16px;
}

.mk-security-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-address-card,
.mk-security-card {
  position: relative;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  padding: 20px;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.mk-address-card.is-default {
  border-color: var(--mk-primary);
  background: rgba(79, 199, 183, 0.05);
}

.mk-address-card--state .mk-btn {
  margin-top: 14px;
}

.mk-address-card__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  border-radius: 999px;
  background: var(--mk-primary);
  padding: 5px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.mk-address-card__body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.mk-address-card__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: rgba(79, 199, 183, 0.1);
  color: var(--mk-primary);
}

.mk-address-card__icon svg {
  width: 20px;
  height: 20px;
}

.mk-address-card h3,
.mk-security-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.mk-address-card h3 small {
  margin-left: 10px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 700;
}

.mk-address-card p,
.mk-security-card p {
  margin: 10px 0 0;
  color: var(--mk-muted);
  line-height: 1.7;
}

.mk-address-card strong {
  display: block;
  margin-top: 4px;
  color: var(--mk-text);
  font-size: 15px;
  line-height: 1.6;
}

.mk-address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--mk-line);
  padding-top: 14px;
}

.mk-address-actions a,
.mk-address-actions button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--mk-primary-dark);
  cursor: pointer;
  font-weight: 900;
  font-size: 14px;
  font: inherit;
}

.mk-address-actions button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.mk-account-address-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.mk-account-address-modal[hidden] {
  display: none;
}

.mk-account-address-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 35, 40, 0.38);
}

.mk-account-address-modal__card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  border: 1px solid var(--mk-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(12, 45, 47, 0.18);
  padding: 24px;
}

.mk-account-address-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.mk-account-address-modal__head h3 {
  margin: 8px 0 0;
  font-size: 22px;
}

.mk-account-address-modal__head > button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--mk-line);
  border-radius: 999px;
  background: #fff;
  color: var(--mk-text);
  cursor: pointer;
}

.mk-account-address-modal__head svg {
  width: 18px;
  height: 18px;
}

.mk-account-address-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mk-account-address-form-grid label {
  display: grid;
  gap: 8px;
  color: var(--mk-text);
  font-size: 14px;
  font-weight: 900;
}

.mk-account-address-form-grid input,
.mk-account-address-form-grid select,
.mk-account-address-form-grid textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 10px 12px;
  color: var(--mk-text);
  font: inherit;
  outline: none;
}

.mk-account-address-form-grid textarea {
  resize: vertical;
}

.mk-account-address-form-grid input:focus,
.mk-account-address-form-grid select:focus,
.mk-account-address-form-grid textarea:focus {
  border-color: var(--mk-primary);
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15);
}

.mk-account-address-form-grid__full,
.mk-account-address-default {
  grid-column: 1 / -1;
}

.mk-account-address-default {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.mk-account-address-default input {
  width: 18px;
  min-height: auto;
  height: 18px;
}

.mk-account-address-message {
  margin: 16px 0 0;
  border-radius: 10px;
  background: rgba(226, 77, 77, 0.09);
  padding: 10px 12px;
  color: #b42323;
  font-weight: 800;
}

.mk-account-address-message[data-state="success"] {
  background: rgba(79, 199, 183, 0.12);
  color: var(--mk-primary-dark);
}

.mk-account-address-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.mk-account-address-modal-open {
  overflow: hidden;
}

.mk-security-card > span {
  width: 44px;
  height: 44px;
}

.mk-security-card svg {
  width: 22px;
  height: 22px;
}

.mk-security-card .mk-btn {
  width: 100%;
  margin-top: 20px;
}

.mk-account-mini-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.mk-account-mini-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 10px 12px;
  color: var(--mk-text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-account-mini-form input:focus {
  border-color: var(--mk-primary);
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15);
}

.mk-account-mini-form .mk-btn {
  margin-top: 0;
}

.mk-security-tips {
  margin-top: 24px;
  border: 1px solid rgba(79, 199, 183, 0.2);
  border-radius: 12px;
  background: rgba(79, 199, 183, 0.05);
  padding: 20px;
}

.mk-security-tips > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mk-primary-dark);
}

.mk-security-tips svg {
  width: 20px;
  height: 20px;
}

.mk-security-tips h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.mk-security-tips ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--mk-muted);
  font-size: 14px;
  line-height: 1.6;
  list-style: none;
}

.mk-security-tips li::before {
  content: "•";
  margin-right: 8px;
  color: var(--mk-primary);
  font-weight: 900;
}

.mk-order-drawer .mk-drawer__panel {
  width: min(480px, 100%);
}

.mk-order-drawer .mk-drawer__header {
  justify-content: space-between;
}

.mk-order-drawer .mk-drawer__header > div {
  flex: 1 1 auto;
  min-width: 0;
}

.mk-order-drawer .mk-drawer__header p {
  margin: 2px 0 0;
  color: var(--mk-muted);
  font-size: 12px;
}

.mk-order-drawer .mk-drawer__body {
  display: grid;
  gap: 20px;
}

.mk-order-drawer__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  --mk-order-status-border: var(--mk-line);
  --mk-order-status-bg: var(--mk-primary-soft);
  --mk-order-status-color: var(--mk-primary-dark);
  background: #fff;
  padding: 16px 24px;
}

.mk-order-drawer__status.is-pending-payment {
  --mk-order-status-border: rgba(246, 115, 33, 0.2);
  --mk-order-status-bg: rgba(246, 115, 33, 0.1);
  --mk-order-status-color: #e76019;
}

.mk-order-drawer__status.is-cancelled {
  --mk-order-status-border: rgba(142, 142, 142, 0.18);
  --mk-order-status-bg: rgba(142, 142, 142, 0.1);
  --mk-order-status-color: #7a7f85;
}

.mk-order-drawer__status.is-pending-shipment {
  --mk-order-status-border: rgba(43, 111, 220, 0.16);
  --mk-order-status-bg: rgba(43, 111, 220, 0.1);
  --mk-order-status-color: #2b62cf;
}

.mk-order-drawer__status.is-shipping {
  --mk-order-status-border: rgba(214, 164, 28, 0.2);
  --mk-order-status-bg: rgba(255, 216, 107, 0.3);
  --mk-order-status-color: #b58b18;
}

.mk-order-drawer__status.is-completed {
  --mk-order-status-border: rgba(43, 141, 137, 0.16);
  --mk-order-status-bg: rgba(79, 199, 183, 0.16);
  --mk-order-status-color: #1e8f8a;
}

.mk-order-drawer__status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--mk-order-status-border);
  border-radius: 999px;
  background: var(--mk-order-status-bg);
  padding: 7px 12px;
  color: var(--mk-order-status-color);
  font-size: 14px;
  font-weight: 900;
}

.mk-order-drawer__status svg {
  width: 16px;
  height: 16px;
}

.mk-order-drawer__status strong {
  color: var(--mk-primary-dark);
  font-size: 22px;
  font-weight: 900;
}

.mk-order-detail-card {
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.mk-order-detail-card.is-soft {
  background: #f6fbfa;
}

.mk-order-detail-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 900;
}

.mk-order-detail-card h3 svg {
  width: 16px;
  height: 16px;
  color: var(--mk-primary);
}

.mk-order-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mk-order-product + .mk-order-product {
  margin-top: 14px;
  border-top: 1px solid var(--mk-line);
  padding-top: 14px;
}

.mk-order-product > span {
  display: inline-flex;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: var(--mk-radius);
  background: #fff;
  color: rgba(79, 199, 183, 0.45);
}

.mk-order-product > span svg {
  width: 32px;
  height: 32px;
}

.mk-order-product h4 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 900;
}

.mk-order-product p {
  margin: 4px 0 0;
  color: var(--mk-muted);
  font-size: 14px;
}

.mk-order-product b {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  color: var(--mk-primary-dark);
}

.mk-order-product small {
  color: var(--mk-muted);
  font-weight: 700;
}

.mk-order-detail-card dl {
  display: grid;
  gap: 10px 16px;
  grid-template-columns: 64px minmax(0, 1fr);
  margin: 0;
  font-size: 14px;
}

.mk-order-detail-card dt {
  color: var(--mk-muted);
}

.mk-order-detail-card dd {
  min-width: 0;
  margin: 0;
  color: var(--mk-text);
  font-weight: 800;
  line-height: 1.6;
}

.mk-order-detail-card .is-price {
  column-gap: 0;
  grid-template-columns: minmax(0, 1fr) auto;
}

.mk-order-detail-card .is-price dt:nth-last-of-type(1),
.mk-order-detail-card .is-price dd:nth-last-of-type(1) {
  padding-top: 10px;
}

.mk-order-detail-card .is-price dt:nth-last-of-type(1) {
  position: relative;
  grid-column: 1 / -1;
  grid-row: var(--mk-summary-row);
  border-top: 1px solid var(--mk-line);
  color: var(--mk-text);
  font-weight: 900;
  padding-right: 16px;
  z-index: 0;
}

.mk-order-detail-card .is-price dd:nth-last-of-type(1) {
  position: relative;
  box-sizing: border-box;
  grid-column: 2;
  grid-row: var(--mk-summary-row);
  color: var(--mk-primary-dark);
  font-weight: 900;
  justify-self: end;
  padding-left: 18px;
  text-align: right;
  z-index: 1;
}

.mk-order-tracking-list {
  display: grid;
  gap: 10px;
  margin: -2px 0 16px;
}

.mk-order-tracking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 16px;
  border: 1px solid var(--mk-line);
  border-radius: 8px;
  background: #f6fbfa;
  padding: 10px 12px;
  color: var(--mk-muted);
  font-size: 12px;
}

.mk-order-tracking-list .mk-order-tracking {
  margin: 0;
}

.mk-order-tracking__main {
  min-width: 0;
}

.mk-order-tracking__main strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--mk-text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.mk-order-tracking__main small {
  display: block;
  margin-top: 2px;
  color: var(--mk-muted);
  font-size: 12px;
  line-height: 1.4;
}

.mk-order-tracking__link {
  display: inline-flex;
  min-height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 199, 183, 0.36);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--mk-primary-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.mk-order-tracking__link:hover,
.mk-order-tracking__link:focus-visible {
  border-color: var(--mk-primary);
  background: rgba(79, 199, 183, 0.12);
  color: var(--mk-primary-dark);
}

.mk-order-tracking-note {
  margin: -2px 0 16px;
  border: 1px dashed rgba(43, 141, 137, 0.28);
  border-radius: 8px;
  background: rgba(79, 199, 183, 0.08);
  padding: 10px 12px;
  color: var(--mk-muted);
  font-size: 12px;
  line-height: 1.6;
}

.mk-order-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-order-timeline li {
  position: relative;
  min-height: 44px;
  padding: 0 0 16px 26px;
  color: var(--mk-muted);
  font-size: 14px;
  line-height: 1.45;
}

.mk-order-timeline li:last-child {
  min-height: 0;
  padding-bottom: 0;
}

.mk-order-timeline li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 2px solid var(--mk-line);
  border-radius: 50%;
  background: #fff;
}

.mk-order-timeline li::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 0;
  left: 6px;
  width: 2px;
  background: var(--mk-line);
}

.mk-order-timeline li:first-child::before {
  border-color: var(--mk-primary);
  background: var(--mk-primary);
}

.mk-order-timeline li:last-child::after {
  display: none;
}

.mk-order-timeline strong {
  color: var(--mk-text);
  font-weight: 900;
}

.mk-order-timeline time {
  display: block;
  margin-top: 3px;
  color: var(--mk-muted);
  font-size: 12px;
}

.mk-order-drawer__actions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--mk-line);
  padding: 16px 24px;
}

.mk-order-drawer__actions .mk-btn {
  width: 100%;
  justify-content: center;
}

.mk-order-drawer__actions .mk-btn--primary {
  grid-column: 1 / -1;
}

.mk-page--auth {
  background:
    linear-gradient(135deg, rgba(79, 199, 183, 0.13), rgba(255, 255, 255, 0.92) 48%, rgba(247, 184, 200, 0.16)),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 216, 107, 0.08));
}

.mk-auth-shell {
  position: relative;
  overflow: hidden;
  padding: 148px 0 96px;
}

.mk-auth-shell::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  opacity: 0.58;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(79, 199, 183, 0.14) 30%, transparent 46%, rgba(247, 184, 200, 0.13) 68%, transparent 86%),
    repeating-linear-gradient(90deg, rgba(79, 199, 183, 0.08) 0 1px, transparent 1px 96px);
  pointer-events: none;
}

.mk-auth-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
}

.mk-register-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 448px);
}

.mk-register-shell .mk-auth-card {
  max-width: 448px;
  margin-left: auto;
}

.mk-auth-copy h1 {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 900;
  line-height: 1.12;
}

.mk-auth-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--mk-muted);
  font-size: 18px;
  line-height: 1.78;
}

.mk-auth-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.mk-auth-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 10px 12px;
  color: var(--mk-text);
  font-size: 14px;
  font-weight: 800;
}

.mk-auth-points svg {
  width: 18px;
  height: 18px;
  color: var(--mk-primary-dark);
}

.mk-auth-card {
  border: 1px solid rgba(217, 236, 233, 0.95);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(24px, 3.5vw, 34px);
  box-shadow: var(--mk-shadow);
  backdrop-filter: blur(16px);
}

.mk-auth-card__head h2 {
  margin: 18px 0 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.15;
}

.mk-auth-card__head p {
  margin: 12px 0 0;
  color: var(--mk-muted);
  line-height: 1.75;
}

.mk-auth-alert {
  margin-top: 18px;
  border: 1px solid rgba(79, 199, 183, 0.28);
  border-radius: var(--mk-radius);
  background: rgba(79, 199, 183, 0.08);
  padding: 12px 14px;
  color: var(--mk-primary-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.mk-auth-alert--danger {
  border-color: rgba(239, 93, 93, 0.25);
  background: rgba(239, 93, 93, 0.08);
  color: #b93d3d;
}

.mk-register-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.mk-register-form label {
  display: grid;
  gap: 8px;
}

.mk-register-form label > span:first-child,
.mk-register-agreement {
  color: var(--mk-text);
  font-size: 14px;
  font-weight: 800;
}

.mk-auth-switch {
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 800;
}

.mk-register-form small {
  color: var(--mk-muted);
  font-size: 12px;
  line-height: 1.55;
}

.mk-form-error {
  color: var(--mk-danger);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.mk-register-code {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.mk-register-code .mk-btn {
  min-width: 116px;
  min-height: 42px;
  padding-right: 14px;
  padding-left: 14px;
  white-space: nowrap;
}

.mk-register-code .mk-btn:disabled,
.mk-register-submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.mk-register-agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.65;
}

.mk-register-agreement input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--mk-primary);
}

.mk-register-agreement label {
  display: inline;
  font-weight: 700;
}

.mk-register-agreement a,
.mk-auth-switch a {
  color: var(--mk-primary-dark);
  font-weight: 900;
}

.mk-register-submit {
  width: 100%;
  min-height: 48px;
}

.mk-page--register-v0 {
  min-height: 100svh;
  background: linear-gradient(180deg, rgba(79, 199, 183, 0.12) 0%, rgba(79, 199, 183, 0.03) 100%);
}

.mk-page--register-v0 .mk-header:not(.is-scrolled):not(.is-menu-open) {
  background: transparent;
}

.mk-register-v0-shell {
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  padding: 132px 0 56px;
}

.mk-register-v0-container {
  display: flex;
  justify-content: center;
}

.mk-register-v0-card {
  width: min(100%, 448px);
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  padding: clamp(24px, 3.5vw, 34px);
  box-shadow: var(--mk-shadow);
}

.mk-register-v0-card h1 {
  margin: 0 0 22px;
  color: var(--mk-text);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.mk-register-v0-form {
  gap: 16px;
  margin-top: 0;
}

.mk-register-v0-field {
  gap: 8px;
}

.mk-register-v0-field > span:first-child {
  color: #10283c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.mk-register-v0-form .mk-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 11px 14px;
  color: var(--mk-text);
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

/* 浏览器自动填充手机号时会加浅蓝底，这里让注册页输入值始终保持白底和正文色。 */
.mk-register-v0-form .mk-input:-webkit-autofill,
.mk-register-v0-form .mk-input:-webkit-autofill:hover,
.mk-register-v0-form .mk-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--mk-text);
  caret-color: var(--mk-text);
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 9999s ease-out, color 9999s ease-out;
}

.mk-register-v0-form .mk-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--mk-text);
  caret-color: var(--mk-text);
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(79, 199, 183, 0.15), 0 8px 18px rgba(31, 45, 56, 0.05);
  transition: background-color 9999s ease-out, color 9999s ease-out;
}

.mk-register-v0-form .mk-input::placeholder,
.mk-login-form input::placeholder {
  color: #516579;
  font-size: inherit;
  font-weight: 400;
  opacity: 0.9;
}

.mk-register-v0-form .mk-input:focus {
  border-color: rgba(79, 199, 183, 0.78);
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15), 0 8px 18px rgba(31, 45, 56, 0.05);
}

.mk-register-v0-form .mk-register-code {
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 116px;
}

.mk-register-v0-form .mk-register-code .mk-btn {
  min-height: 48px;
  border-color: rgba(79, 199, 183, 0.35);
  border-radius: var(--mk-radius);
  background: #fff;
  padding-right: 14px;
  padding-left: 14px;
  color: var(--mk-primary-dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: none;
  white-space: nowrap;
}

.mk-register-v0-form .mk-register-code .mk-btn:hover {
  border-color: rgba(79, 199, 183, 0.65);
  background: #e0f7f4;
}

.mk-register-v0-form .mk-register-submit {
  min-height: 48px;
  margin-top: 2px;
  border: 0;
  border-radius: var(--mk-radius);
  background: var(--mk-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.25);
}

.mk-register-v0-form .mk-register-submit:hover {
  background: var(--mk-primary-dark);
  transform: translateY(-1px);
}

.mk-register-v0-switch {
  margin: 18px 0 0;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.mk-register-v0-switch a {
  color: var(--mk-primary-dark);
  font-weight: 900;
}

.mk-auth-switch {
  margin: 18px 0 0;
  text-align: center;
}

.mk-login-section {
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(79, 199, 183, 0.03), rgba(79, 199, 183, 0.01));
  padding: 132px 0 84px;
}

.mk-login-card {
  max-width: 448px;
  margin: 0 auto;
}

.mk-login-card__head {
  margin-bottom: 22px;
  text-align: center;
}

.mk-login-card__head h2 {
  margin: 0;
  font-size: 26px;
}

.mk-login-tabs {
  display: inline-flex;
  width: 100%;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: var(--mk-soft);
  padding: 4px;
}

.mk-login-tabs a,
.mk-login-tabs button {
  flex: 1 1 0;
  border: 0;
  border-radius: var(--mk-radius);
  background: transparent;
  padding: 10px 12px;
  color: var(--mk-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mk-login-tabs a:hover,
.mk-login-tabs a.is-active,
.mk-login-tabs button:hover,
.mk-login-tabs button.is-active {
  background: #fff;
  color: var(--mk-primary-dark);
  box-shadow: 0 8px 18px rgba(31, 45, 56, 0.06);
}

.mk-login-tabs a.is-disabled {
  cursor: default;
  opacity: 0.72;
  pointer-events: none;
}

.mk-login-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.mk-login-form[hidden] {
  display: none;
}

.mk-login-field {
  display: grid;
  gap: 8px;
}

.mk-login-field > span,
.mk-login-remember span,
.mk-login-form .form-item > label,
.mk-login-form .form-label-group label {
  color: var(--mk-text);
  font-size: 14px;
  font-weight: 800;
}

.mk-login-form .form-item {
  display: grid;
  gap: 8px;
  margin: 0;
}

.mk-login-form .form-label-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mk-login-form .form-item-extra-link,
.mk-login-extra a {
  color: var(--mk-primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.mk-login-form .form-input,
.mk-login-form .form-input-group {
  width: 100%;
}

.mk-login-form .form-input input,
.mk-login-form input[type="text"],
.mk-login-form input[type="email"],
.mk-login-form input[type="password"],
.mk-login-form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 11px 14px;
  color: var(--mk-text);
  font: inherit;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-login-form .form-input input:focus,
.mk-login-form input:focus {
  border-color: var(--mk-primary);
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15);
}

.mk-login-form .form-input-group {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.mk-login-code {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.mk-login-form .form-input-group button,
.mk-login-form button:not(.mk-login-submit) {
  min-height: 48px;
  border: 1px solid rgba(79, 199, 183, 0.35);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 10px 14px;
  color: var(--mk-primary-dark);
  font: inherit;
  font-weight: 800;
}

.mk-login-code .mk-btn {
  min-width: 116px;
  padding-right: 14px;
  padding-left: 14px;
  white-space: nowrap;
}

.mk-login-code .mk-btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.mk-login-extra {
  margin-top: -6px;
  text-align: right;
}

.mk-login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mk-muted);
}

.mk-login-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--mk-primary);
}

.mk-login-submit {
  width: 100%;
  min-height: 48px;
}

.mk-auth-providers .divider-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 14px;
  color: var(--mk-muted);
  font-size: 13px;
  font-weight: 700;
}

.mk-auth-providers .divider-wrapper hr {
  flex: 1 1 0;
  border: 0;
  border-top: 1px solid var(--mk-line);
}

.mk-auth-providers .pill-items {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-auth-providers .pill-items a,
.mk-auth-providers .pill-items button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  color: var(--mk-text);
  font: inherit;
  font-weight: 800;
}

.mk-auth-providers .pill-items img {
  width: 20px;
  height: 20px;
}

.mk-login-toast {
  position: fixed;
  top: 96px;
  left: 50%;
  z-index: 80;
  max-width: calc(100% - 32px);
  border: 1px solid rgba(79, 199, 183, 0.3);
  border-radius: var(--mk-radius);
  background: #fff;
  padding: 12px 18px;
  color: var(--mk-primary-dark);
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--mk-shadow);
  opacity: 0;
  transform: translate(-50%, -12px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mk-login-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mk-login-toast.is-danger {
  border-color: rgba(239, 93, 93, 0.25);
  background: #fff8f8;
  color: #b93d3d;
}

/* 关于我们页：首屏和内容结构按本地预览重建，下面这些样式只作用于 about 页面专用类。 */
.mk-about-main,
.mk-about-main .mk-section {
  background: var(--mk-soft-2);
}

.mk-about-main .mk-section {
  padding: 96px 0;
}

.mk-about-social-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.mk-about-hero {
  overflow: hidden;
  padding-top: 232px;
  padding-bottom: 96px;
  background: var(--mk-soft-2);
}

.mk-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(79, 199, 183, 0.08), transparent 60%);
  pointer-events: none;
}

.mk-about-hero > .mk-container {
  position: relative;
  z-index: 1;
}

.mk-about-hero .mk-center {
  display: block;
  max-width: 760px;
  margin-top: 0;
}

.mk-about-hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.1;
}

.mk-about-hero p {
  max-width: 672px;
  margin-top: 24px;
}

.mk-about-hero .mk-stats {
  gap: 20px;
  margin-top: 64px;
}

.mk-about-hero .mk-stats--cards article {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  padding: 28px 20px;
  backdrop-filter: blur(10px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.mk-about-hero .mk-stats--cards article:hover {
  border-color: rgba(79, 199, 183, 0.45);
  box-shadow: var(--mk-shadow);
  transform: translateY(-6px);
}

.mk-about-hero .mk-stats--cards strong {
  font-size: clamp(36px, 5vw, 48px);
}

.mk-about-hero .mk-stats--cards strong .mk-stat-value {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
}

.mk-about-hero .mk-stats--cards strong .mk-stat-suffix {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: 16px;
  font-weight: 800;
}

.mk-about-strength-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.mk-about-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 48px;
}

.mk-about-heading h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.mk-about-heading p {
  max-width: 672px;
  margin-top: 14px;
}

.mk-about-strength-head .mk-about-heading {
  margin-bottom: 0;
}

.mk-about-strength-head .mk-about-heading p {
  max-width: 448px;
}

.mk-section-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(79, 199, 183, 0.1);
  color: var(--mk-primary);
}

.mk-section-icon svg {
  width: 24px;
  height: 24px;
}

.mk-about-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--mk-primary);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.mk-strength-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  max-width: 620px;
}

.mk-strength-badges article {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--mk-line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 16px;
}

.mk-strength-badges article > span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(79, 199, 183, 0.1);
  color: var(--mk-primary);
}

.mk-strength-badges svg {
  width: 16px;
  height: 16px;
}

.mk-strength-badges strong,
.mk-strength-badges em {
  display: block;
  font-style: normal;
}

.mk-strength-badges strong {
  color: var(--mk-text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
}

.mk-strength-badges small {
  font-size: 12px;
}

.mk-strength-badges em {
  margin-top: 2px;
  color: var(--mk-muted);
  font-size: 12px;
  line-height: 1.2;
}

.mk-factory-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mk-factory-grid__top {
  display: grid;
  align-items: stretch;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-factory-grid__tiles {
  display: grid;
  align-content: start;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 961px) {
  .mk-factory-grid__top {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .mk-factory-grid__main {
    align-self: stretch;
  }
}

.mk-factory-grid figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef9f7 0%, #d9f0ed 100%);
}

.mk-factory-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 58%);
  pointer-events: none;
}

.mk-factory-grid__main {
  grid-row: auto;
  min-height: 0;
}

.mk-factory-grid__tiles figure {
  aspect-ratio: 4 / 3;
}

.mk-factory-grid__wide {
  aspect-ratio: 21 / 4;
}

.mk-factory-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mk-factory-grid figure:hover img {
  transform: scale(1.05);
}

.mk-factory-grid figcaption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  padding: 0;
  background: transparent;
  color: #fff;
}

.mk-factory-grid figcaption strong,
.mk-factory-grid figcaption span {
  display: block;
}

.mk-factory-grid figcaption strong {
  font-size: 18px;
  font-weight: 800;
}

.mk-factory-grid figcaption span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.mk-factory-grid__tiles figcaption {
  bottom: 12px;
  left: 12px;
  padding: 0;
}

.mk-factory-grid__tiles figcaption strong {
  font-size: 14px;
}

.mk-factory-grid__tiles figcaption span {
  font-size: 12px;
}

.mk-cert-grid,
.mk-recognition-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

.mk-cert-card,
.mk-recognition-card {
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.mk-cert-card {
  padding: 24px;
  border-radius: 16px;
}

.mk-cert-card__image,
.mk-recognition-card__image {
  overflow: hidden;
  border-radius: 12px;
  background: #f4faf9;
}

.mk-cert-card__image {
  aspect-ratio: 3 / 4;
  margin-bottom: 20px;
}

.mk-cert-card__image img,
.mk-recognition-card__image img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.mk-cert-card__image img {
  object-fit: cover;
  padding: 8px;
}

.mk-cert-card:hover img,
.mk-recognition-card:hover img {
  transform: scale(1.05);
}

.mk-cert-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--mk-primary);
  font-size: 12px;
  font-weight: 900;
}

.mk-cert-status svg {
  width: 16px;
  height: 16px;
}

.mk-cert-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.mk-cert-card p,
.mk-recognition-card p {
  color: var(--mk-muted);
  font-size: 14px;
}

.mk-cert-card p {
  margin: 4px 0 0;
}

.mk-recognition-grid {
  gap: 16px;
  margin-top: 0;
}

.mk-recognition-card {
  border-radius: 16px;
  /* 社会认可区图片按 1:2 展示后，需要让图片离卡片边界更松一点；
     这里从原来的 12px 翻倍到 24px，卡片宽度不变，图片会等比例内缩。 */
  padding: 24px;
}

.mk-recognition-card__image {
  /* 社会认可区共 8 张榜单/主播截图，按手机长截图 1:2 展示；
     只拉长图片框高度，卡片宽度继续跟随四列网格，避免影响整段横向排版。 */
  aspect-ratio: 1 / 2;
}

.mk-recognition-card__image img {
  object-fit: cover;
}

.mk-recognition-card p {
  margin: 12px 0 0;
  color: var(--mk-text);
  font-weight: 800;
}

.mk-row-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
}

.mk-recognition-grid + .mk-row-heading {
  margin-top: 64px;
}

.mk-row-heading span {
  display: inline-flex;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 216, 107, 0.22);
  color: #b89830;
}

.mk-row-heading .mk-row-heading__red {
  background: rgba(255, 107, 107, 0.15);
  color: #e05555;
}

.mk-row-heading svg {
  width: 20px;
  height: 20px;
}

.mk-row-heading h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.mk-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 48px 40px;
  align-items: start;
  margin-top: 0;
}

.mk-social-grid .mk-social-card {
  display: flex;
  width: 100%;
  min-width: 0;
  height: auto;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--mk-text);
  font-weight: 900;
  text-align: center;
  transition: transform 0.24s ease;
}

.mk-social-grid .mk-social-card:hover {
  transform: translateY(-8px);
}

.mk-social-grid .mk-social-card--static {
  cursor: default;
}

.mk-social-grid .mk-social-card--static:hover {
  transform: none;
}

.mk-social-icon {
  display: inline-flex;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 12px 30px rgba(31, 45, 56, 0.1);
}

.mk-social-icon svg {
  width: 40px;
  height: 40px;
}

.mk-social-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.mk-social-icon--xiaohongshu {
  background: #fe2c55;
  font-size: 22px;
}

.mk-social-icon--douyin {
  background: #000;
}

.mk-social-icon--weibo {
  background: linear-gradient(135deg, #ff8200, #ffd500);
}

.mk-social-icon--generic {
  background: linear-gradient(135deg, var(--mk-primary), var(--mk-secondary));
  font-size: 14px;
  font-weight: 900;
}

.mk-social-grid strong,
.mk-social-grid span:not(.mk-social-icon) {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.mk-social-grid strong {
  line-height: 1;
}

.mk-social-grid span:not(.mk-social-icon) {
  color: var(--mk-muted);
  font-size: 13px;
  font-weight: 400;
}

.mk-doc,
.mk-list-page,
.mk-empty {
  padding: 140px 0 80px;
}

.mk-post {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
}

.mk-post h1,
.mk-list-page h1,
.mk-empty h1 {
  margin-top: 0;
  font-size: clamp(34px, 5vw, 52px);
}

.mk-post__meta {
  color: var(--mk-muted);
}

.mk-post__content {
  color: var(--mk-text);
  line-height: 1.85;
}

.mk-post__content img {
  border-radius: var(--mk-radius);
}

.mk-post-list {
  display: grid;
  gap: 16px;
}

.mk-list-card {
  padding: 22px;
}

.mk-list-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.mk-list-card p {
  margin: 0;
  color: var(--mk-muted);
}

.mk-empty {
  min-height: 70vh;
  text-align: center;
}

.mk-footer {
  background: #17262c;
  padding: 56px 0;
  color: #eaf8f6;
}

.mk-footer__grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.mk-footer h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.mk-footer h4 {
  margin: 0 0 12px;
}

.mk-footer p,
.mk-footer a,
.mk-footer span {
  display: block;
  color: rgba(234, 248, 246, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.mk-footer a:hover {
  color: var(--mk-primary);
}

.mk-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  border-top: 1px solid rgba(234, 248, 246, 0.1);
  padding-top: 24px;
}

.mk-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  min-width: 0;
}

.mk-footer__legal span,
.mk-footer__copyright-link {
  display: inline;
}

.mk-footer__copyright-link {
  text-decoration: none;
}

.mk-footer .mk-footer__version {
  color: rgba(234, 248, 246, 0.56);
  white-space: nowrap;
}

.mk-reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(4px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1), filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.mk-reveal--left {
  transform: translateX(-48px);
}

.mk-reveal--right {
  transform: translateX(48px);
}

.mk-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0);
}

@media (max-width: 960px) {
  .mk-hero__grid,
  .mk-split,
  .mk-two-col,
  .mk-product-detail__grid {
    grid-template-columns: 1fr;
  }

  .mk-product-buy {
    height: auto;
  }

  .mk-shop-hero .mk-hero__grid {
    grid-template-columns: 1fr;
  }

  .mk-verify-grid {
    grid-template-columns: 1fr;
  }

  .mk-account-dashboard {
    grid-template-columns: 1fr;
  }

  .mk-account-sidebar {
    position: static;
  }

  .mk-auth-grid {
    grid-template-columns: 1fr;
  }

  .mk-product-grid,
  .mk-partner-grid,
  .mk-cert-grid,
  .mk-recognition-grid,
  .mk-icon-grid--four,
  .mk-stats,
  .mk-account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-home-products-grid[data-product-count="1"] {
    grid-template-columns: minmax(0, min(100%, 340px));
  }

  .mk-home-products-grid[data-product-count="2"],
  .mk-home-products-grid[data-product-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .mk-shop-search {
    width: 100%;
    flex-basis: auto;
  }

  .mk-heading--feature,
  .mk-heading--feature-reverse {
    display: block;
    width: auto;
    margin-right: auto;
    margin-left: auto;
  }

  .mk-heading--feature-reverse .mk-eyebrow {
    order: initial;
  }

  .mk-partner-layout {
    gap: 48px;
  }

  .mk-about-strength-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .mk-strength-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .mk-header,
  .mk-header__inner {
    height: 68px;
  }

  .mk-nav {
    position: fixed;
    top: 68px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--mk-line);
    border-radius: var(--mk-radius);
    background: rgba(255, 255, 255, 0.96);
    padding: 8px;
    box-shadow: var(--mk-shadow);
  }

  .mk-header.is-menu-open .mk-nav {
    display: flex;
  }

  .mk-menu-button {
    display: inline-flex;
  }

  .mk-verify-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mk-verify-search .mk-btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .mk-account-address-modal {
    align-items: end;
    padding: 12px;
  }

  .mk-account-address-modal__card {
    max-height: 90vh;
    border-radius: 14px;
    padding: 18px;
  }

  .mk-account-address-form-grid,
  .mk-account-address-modal__actions {
    grid-template-columns: 1fr;
  }

  .mk-address-card__body {
    gap: 12px;
  }

  .mk-address-actions {
    gap: 12px;
  }

  .mk-partner-grid {
    grid-template-columns: 1fr;
  }

  .mk-factory-grid__top {
    grid-template-columns: 1fr;
  }

  .mk-factory-grid__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-factory-grid__main {
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .mk-factory-grid__wide {
    aspect-ratio: 21 / 4;
  }
}

@media (max-width: 640px) {
  .mk-container {
    width: calc(100% - 28px);
  }

  .mk-partner-confirm-modal {
    align-items: end;
    padding: 14px;
  }

  .mk-partner-confirm-modal__card {
    width: 100%;
    border-radius: 12px;
    padding: 22px;
  }

  .mk-partner-confirm-modal__actions {
    grid-template-columns: 1fr;
  }

  .mk-hero,
  .mk-inner-hero {
    padding-top: 108px;
  }

  .mk-partner-hero {
    padding-top: 232px;
    padding-bottom: 80px;
  }

  .mk-partner-hero .mk-partner-grid {
    margin-top: 64px;
  }

  .mk-about-hero {
    padding-top: 232px;
    padding-bottom: 96px;
  }

  .mk-hero__title,
  .mk-hero h1,
  .mk-inner-hero h1 {
    font-size: 38px;
  }

  .mk-product-grid,
  .mk-partner-grid,
  .mk-icon-grid,
  .mk-icon-grid--four,
  .mk-stats,
  .mk-account-grid,
  .mk-steps,
  .mk-banner-grid,
  .mk-footer__grid,
  .mk-factory-grid {
    grid-template-columns: 1fr;
  }

  .mk-home-products-grid[data-product-count="1"],
  .mk-home-products-grid[data-product-count="2"],
  .mk-home-products-grid[data-product-count="3"] {
    grid-template-columns: 1fr;
  }

  .mk-cert-grid,
  .mk-recognition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-cert-grid {
    grid-template-columns: 1fr;
  }

  .mk-about-heading {
    gap: 10px;
  }

  .mk-section-icon {
    width: 42px;
    height: 42px;
  }

  .mk-strength-badges {
    gap: 10px;
  }

  .mk-search-form,
  .mk-form__grid,
  .mk-account-panel__head,
  .mk-footer__bottom {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .mk-account-panel__head {
    align-items: stretch;
  }

  .mk-account-order {
    align-items: start;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    padding: 16px;
  }

  .mk-account-order__icon {
    width: 52px;
    height: 52px;
  }

  .mk-account-order__icon svg {
    width: 26px;
    height: 26px;
  }

  .mk-account-order__amount {
    grid-column: 2;
    font-size: 16px;
  }

  .mk-account-order__arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .mk-address-list,
  .mk-address-grid,
  .mk-security-grid {
    grid-template-columns: 1fr;
  }

  .mk-address-card__body {
    gap: 12px;
  }

  .mk-address-card h3 small {
    display: block;
    margin: 4px 0 0;
  }

  .mk-address-actions {
    flex-wrap: wrap;
  }

  .mk-order-drawer__actions {
    grid-template-columns: 1fr;
  }

  .mk-order-drawer__actions .mk-btn--primary {
    grid-column: auto;
  }

  .mk-partner-type__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-partner-type__grid button {
    min-width: 0;
  }

  .mk-partner-section {
    padding: 80px 0;
  }

  .mk-auth-shell {
    padding-top: 116px;
    padding-bottom: 72px;
  }

  .mk-auth-copy h1 {
    font-size: 38px;
  }

  .mk-auth-copy p {
    font-size: 16px;
  }

  .mk-register-v0-shell {
    align-items: flex-start;
    padding-top: 104px;
    padding-bottom: 40px;
  }

  .mk-register-v0-card {
    padding: 28px 20px 24px;
  }

  .mk-register-v0-card h1 {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .mk-register-v0-form {
    gap: 16px;
  }

  .mk-register-v0-field > span:first-child,
  .mk-register-v0-form .mk-input,
  .mk-register-v0-form .mk-register-code .mk-btn,
  .mk-register-v0-form .mk-register-submit,
  .mk-register-v0-switch {
    font-size: 14px;
  }

  .mk-register-v0-form .mk-input,
  .mk-register-v0-form .mk-register-code .mk-btn,
  .mk-register-v0-form .mk-register-submit {
    min-height: 48px;
  }

  .mk-register-v0-form .mk-register-code {
    grid-template-columns: 1fr;
  }

  .mk-register-code {
    grid-template-columns: 1fr;
  }

  .mk-register-code .mk-btn {
    width: 100%;
  }

  .mk-login-section {
    align-items: flex-start;
    padding-top: 104px;
    padding-bottom: 72px;
  }

  .mk-login-form .form-input-group {
    grid-template-columns: 1fr;
  }

  .mk-login-code {
    grid-template-columns: 1fr;
  }

  .mk-login-code .mk-btn {
    width: 100%;
  }

  .mk-contact-panel article {
    padding: 18px;
  }

  .mk-search-form {
    display: grid;
  }

  .mk-verify-hero {
    padding-top: 128px;
    padding-bottom: 60px;
  }

  .mk-verify-hero h1 {
    font-size: 38px;
  }

  .mk-verify-search {
    margin-top: 32px;
  }

  .mk-verify-search .mk-btn {
    width: 100%;
  }

  .mk-result-content {
    gap: 10px;
  }

  .mk-result-grid {
    grid-template-columns: 1fr;
  }

  .mk-verify-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mk-step-arrow {
    display: none;
  }

  .mk-step-card {
    padding: 18px;
  }

  .mk-verify-content {
    padding-top: 48px;
  }

  .mk-verify-proof-card,
  .mk-verify-faq-card {
    padding: 20px;
  }

  .mk-verify-proof-card .mk-proof-card__body {
    grid-template-columns: 1fr;
  }

  .mk-proof-card__badge {
    min-height: 220px;
    padding: 24px 18px;
  }

  .mk-verify-proof-card .mk-proof-card dl {
    gap: 12px 18px;
    grid-template-columns: auto 1fr;
    padding: 24px 20px;
  }

  .mk-verify-faq-card .mk-faq-button .mk-faq-button__copy span {
    white-space: normal;
  }

  .mk-drawer__header,
  .mk-drawer__body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .mk-filter--segments,
  .mk-shop-search {
    width: 100%;
  }

  .mk-checkout-hero {
    padding-top: 112px;
    padding-bottom: 44px;
  }

  .mk-flow-progress {
    gap: 8px;
    margin-bottom: 26px;
    font-size: 13px;
  }

  .mk-flow-progress b {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .mk-flow-progress span:not(:last-child)::after {
    width: 16px;
    margin-left: 2px;
  }

  .mk-checkout-hero__copy h1 {
    font-size: 36px;
  }

  .mk-checkout-hero__copy p {
    font-size: 15px;
  }

  .mk-checkout-progress,
  .mk-payment-safe-card,
  .mk-checkout-shell,
  .mk-payment-shell,
  .mk-checkout-aside article {
    border-radius: var(--mk-radius);
  }

  .mk-checkout-shell,
  .mk-payment-shell {
    padding: 20px;
  }

  .mk-flow-trust {
    margin: 22px -20px -20px;
  }

  .mk-checkout-shell__head,
  .mk-payment-shell__head {
    align-items: stretch;
    flex-direction: column;
  }

  .mk-checkout-shell__head .mk-btn,
  .mk-payment-shell__actions,
  .mk-payment-shell__actions .mk-btn {
    width: 100%;
  }

  .mk-checkout-aside {
    grid-template-columns: 1fr;
  }

  .mk-payment-complete-card__actions,
  .mk-payment-shell__actions {
    flex-direction: column;
  }

  .mk-payment-complete-card__actions .mk-btn {
    width: 100%;
  }

  .mk-filter--segments a {
    flex: 1 1 120px;
    text-align: center;
  }

  .mk-proof-card__body {
    grid-template-columns: 1fr;
  }

  .mk-factory-grid__main {
    aspect-ratio: 4 / 3;
  }

  .mk-factory-grid__wide {
    aspect-ratio: 21 / 4;
  }

  .mk-social-grid {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 36px 18px;
  }
}


/* 购物车页 v0 最终同步层：
   下方选择器全部限制在 .mk-cart-section / .mk-cart-hero 内，只覆盖购物车视觉。
   Halo 原生 <shop-page-cart> 的数据读取、数量变更、删除、结算提交和 CSRF 仍由商城组件自己处理。 */
.mk-cart-hero {
  background: var(--mk-soft-2);
  padding-top: 232px;
  padding-bottom: 32px;
}

.mk-cart-hero .mk-container {
  max-width: 768px;
  text-align: center;
}

.mk-cart-hero__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(79, 199, 183, 0.1);
  color: var(--mk-primary);
}

.mk-cart-hero h1 {
  margin-top: 0;
  font-size: clamp(30px, 3.2vw, 36px);
  line-height: 1.18;
}

.mk-cart-hero p {
  max-width: 560px;
  margin: 8px auto 0;
  color: var(--mk-muted);
  font-size: 16px;
  font-weight: 700;
}

.mk-cart-section {
  padding-top: 0;
  padding-bottom: 40px;
}

.mk-cart-section .mk-container,
.mk-cart-recommend .mk-container {
  max-width: 768px;
}

.mk-cart-section .mk-native-shop-box {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.mk-cart-section shop-page-cart,
.mk-cart-section .shop-entry {
  display: block;
  width: 100%;
  color: var(--mk-text);
}

.mk-cart-section .shop-entry__header {
  display: none !important;
}

/* 把 Halo 原生购物车外壳压成 v0 的一张居中白色结算卡，卡内再由商品区、摘要区和操作区分层。 */
.mk-cart-section .shop-cart {
  display: grid !important;
  overflow: hidden;
  gap: 0;
  grid-template-columns: 1fr;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.08);
}

/* 空购物车只改提示视觉；没有写任何假商品或本地购物车数据。 */
.mk-cart-section .shop-cart:not(:has(.shop-cart-item)) .shop-cart-summary {
  display: none !important;
}

.mk-cart-section .shop-cart > span:only-child,
.mk-cart-section .shop-cart:not(:has(.shop-cart-item)) > span:first-child {
  display: none !important;
}

.mk-cart-section .shop-cart > span:only-child::before,
.mk-cart-section .shop-cart:not(:has(.shop-cart-item)) > span:first-child::before {
  content: none;
}

.mk-cart-empty-state {
  display: flex;
  min-height: 450px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 52px 40px 42px;
  text-align: center;
}

.mk-cart-empty-state[hidden] {
  display: none !important;
}

.mk-cart-empty-state__icon {
  display: inline-flex;
  width: 96px;
  height: 96px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  border-radius: 999px;
  background: var(--mk-soft);
  color: var(--mk-primary);
}

.mk-cart-empty-state__icon svg {
  width: 48px;
  height: 48px;
}

.mk-cart-empty-state h2 {
  margin: 0;
  color: var(--mk-text);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
}

.mk-cart-empty-state p {
  max-width: 460px;
  margin: 18px auto 0;
  color: var(--mk-muted);
  font-size: 16px;
  line-height: 1.7;
}

.mk-cart-empty-state__button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  border-radius: var(--mk-radius);
  background: var(--mk-primary);
  padding: 14px 28px;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mk-cart-empty-state__button:hover {
  background: var(--mk-primary-dark);
  transform: translateY(-2px);
}

.mk-cart-section .shop-cart__items {
  display: grid;
  gap: 0;
  border-bottom: 4px solid var(--mk-soft-2);
}

/* 商品行按 v0 购物车重排：首行是图片、商品信息、数量器、删除按钮；第二行是浅底小计。 */
.mk-cart-section .shop-cart-item {
  display: grid !important;
  align-items: center;
  gap: 12px 16px;
  grid-template-columns: 100px minmax(0, 1fr) auto 40px;
  border: 0;
  border-bottom: 1px solid var(--mk-line);
  border-radius: 0;
  background: #fff;
  padding: 20px;
  box-shadow: none;
  transition: background 0.24s ease;
}

.mk-cart-section .shop-cart-item:last-child {
  border-bottom: 0;
}

.mk-cart-section .shop-cart-item:hover {
  background: linear-gradient(180deg, #fff, rgba(79, 199, 183, 0.035));
}

.mk-cart-section .shop-cart-item__image {
  grid-column: 1;
  grid-row: 1;
  width: 100px !important;
  height: 100px !important;
  border-radius: var(--mk-radius);
  background: linear-gradient(140deg, #f6fbfa, #dff3f0);
  object-fit: contain;
  padding: 8px;
  transition: transform 0.3s ease;
}

.mk-cart-section .shop-cart-item:hover .shop-cart-item__image {
  transform: scale(1.03);
}

.mk-cart-section .shop-cart-item__info {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.mk-cart-section .shop-cart-item__name {
  display: block;
  overflow: hidden;
  color: var(--mk-text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-cart-section .shop-cart-item__name:hover {
  color: var(--mk-primary-dark);
}

.mk-cart-section .shop-cart-item__price {
  display: inline-flex;
  margin-top: 6px;
  color: var(--mk-primary-dark);
  font-size: 18px;
  font-weight: 900;
}

.mk-cart-section .shop-cart-item__price-original {
  margin-left: 8px;
  color: var(--mk-muted-2, #98a5ad);
  font-size: 13px;
}

.mk-cart-section .shop-cart-item .shop-quantity {
  grid-column: 3;
  grid-row: 1;
  flex: 0 0 auto;
}

.mk-cart-section .shop-cart-item .shop-quantity__btn {
  color: var(--mk-text);
  font-size: 15px;
  font-weight: 900;
}

.mk-cart-section .shop-cart-item__total {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: var(--mk-radius);
  background: var(--mk-soft-2);
  padding: 8px 16px;
  color: var(--mk-primary-dark);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.mk-cart-section .shop-cart-item__total::before {
  content: "小计";
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 700;
}

.mk-cart-section .shop-cart-item__remove {
  grid-column: 4;
  grid-row: 1;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--mk-radius);
  background: transparent;
  padding: 0;
  color: var(--mk-muted);
  font: inherit;
  font-size: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.mk-cart-section .shop-cart-item__remove:hover {
  background: #fef2f2;
  color: var(--mk-danger);
}

/* 摘要区顺序和 v0 保持一致：金额行 -> 保障条 -> 继续选购/去结算。 */
.mk-cart-section .shop-cart-summary.shop-card {
  position: static;
  display: grid;
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 24px 20px 20px;
  box-shadow: none;
}

.mk-cart-section .shop-card__title {
  display: none;
}

.mk-cart-section .shop-cart-summary__row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 16px;
  color: var(--mk-muted);
  font-weight: 700;
}

.mk-cart-section .shop-cart-summary__row span:last-child {
  color: var(--mk-text);
  font-weight: 900;
}

.mk-cart-section .shop-divider {
  height: 1px;
  margin: 0 0 16px;
  background: var(--mk-line);
}

.mk-cart-section .shop-cart-summary__row--total {
  align-items: baseline;
  padding-bottom: 0;
  color: var(--mk-text);
  font-size: 18px;
}

.mk-cart-section .shop-cart-summary__row--total span:last-child {
  color: var(--mk-primary-dark);
  font-size: 28px;
  font-weight: 900;
}

.mk-cart-section .shop-cart-summary__actions {
  order: 3;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 20px;
}

.mk-cart-section .shop-cart-summary__actions form {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

.mk-cart-section .shop-cart-summary__actions > * {
  width: 100% !important;
  min-width: 0;
}

.mk-cart-section .shop-cart-summary__actions .mk-cart-action--continue {
  order: 1;
  grid-column: 1;
}

.mk-cart-section .shop-cart-summary__actions .mk-cart-action--checkout {
  order: 2;
  grid-column: 2;
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-lg {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  gap: 8px;
  border-radius: var(--mk-radius);
  font-weight: 900;
  line-height: 1.2;
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-primary.shop-btn-lg {
  border-color: var(--mk-primary);
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.24);
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-primary.shop-btn-lg:hover {
  background: var(--mk-primary-dark);
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-primary.shop-btn-lg::after,
.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-lg:not(.shop-btn-primary)::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: currentColor;
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-primary.shop-btn-lg::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m9 18 6-6-6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m9 18 6-6-6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-lg:not(.shop-btn-primary)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m15 18-6-6 6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m15 18-6-6 6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-secondary.shop-btn-lg,
.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-lg:not(.shop-btn-primary) {
  border-color: rgba(79, 199, 183, 0.3);
  background: #fff;
  color: var(--mk-primary-dark);
  box-shadow: none;
}

.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-secondary.shop-btn-lg:hover,
.mk-cart-section .shop-cart-summary .shop-btn.shop-btn-lg:not(.shop-btn-primary):hover {
  background: #e0f7f4;
}

.mk-cart-section .mk-cart-trust-row {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 20px -20px 0;
  border-top: 1px solid var(--mk-line);
  background: var(--mk-soft-2);
  padding: 14px 20px;
  color: var(--mk-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.mk-cart-section .mk-cart-trust-row[hidden] {
  display: none !important;
}

.mk-cart-section .mk-cart-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.mk-cart-section .mk-cart-trust-row svg {
  width: 16px;
  height: 16px;
  color: var(--mk-primary);
}

.mk-cart-section .shop-cart-summary::after {
  content: none;
  display: none;
}

.mk-cart-recommend {
  padding-top: 0;
  padding-bottom: 80px;
}

.mk-cart-recommend .mk-heading {
  margin-bottom: 24px;
}

.mk-cart-recommend .mk-heading h2 {
  font-size: 22px;
}

.mk-cart-recommend .mk-heading p {
  margin-top: 8px;
  font-size: 14px;
}

.mk-cart-recommend__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-cart-suggestion {
  border-radius: 12px;
}

@media (max-width: 720px) {
  .mk-cart-hero {
    padding-top: 124px;
    padding-bottom: 28px;
  }

  .mk-cart-hero h1 {
    font-size: 32px;
  }

  .mk-cart-hero p {
    font-size: 15px;
  }

  .mk-cart-section {
    padding-bottom: 36px;
  }

  .mk-cart-section .shop-cart > span:only-child,
  .mk-cart-section .shop-cart:not(:has(.shop-cart-item)) > span:first-child {
    display: none !important;
  }

  .mk-cart-empty-state {
    min-height: 380px;
    padding: 44px 24px 38px;
  }

  .mk-cart-empty-state__icon {
    width: 84px;
    height: 84px;
    margin-bottom: 24px;
  }

  .mk-cart-empty-state__icon svg {
    width: 42px;
    height: 42px;
  }

  .mk-cart-empty-state h2 {
    font-size: 24px;
  }

  .mk-cart-empty-state p {
    font-size: 15px;
  }

  .mk-cart-empty-state__button {
    min-height: 52px;
    margin-top: 30px;
    padding: 12px 24px;
    font-size: 20px;
  }

  .mk-cart-section .shop-cart-item {
    align-items: start;
    grid-template-columns: 84px minmax(0, 1fr) 40px;
    gap: 12px;
    padding: 16px;
  }

  .mk-cart-section .shop-cart-item__image {
    width: 84px !important;
    height: 84px !important;
  }

  .mk-cart-section .shop-cart-item__info {
    grid-column: 2;
  }

  .mk-cart-section .shop-cart-item__name {
    white-space: normal;
  }

  .mk-cart-section .shop-cart-item .shop-quantity {
    grid-column: 2;
    grid-row: 2;
    margin-top: 8px;
  }

  .mk-cart-section .shop-cart-item__remove {
    grid-column: 3;
    grid-row: 1;
  }

  .mk-cart-section .shop-cart-item__total {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 38px;
    font-size: 17px;
  }

  .mk-cart-section .shop-cart-summary__row--total span:last-child {
    font-size: 26px;
  }

  .mk-cart-section .shop-cart-summary__actions {
    grid-template-columns: 1fr;
  }

  .mk-cart-section .shop-cart-summary__actions > *,
  .mk-cart-section .shop-cart-summary__actions form {
    grid-column: 1 !important;
  }

  .mk-cart-recommend__grid {
    grid-template-columns: 1fr;
  }
}

/* 确认订单页 v0 视觉覆盖：
   页面保留 Halo 原生 <shop-page-checkout> 的地址、商品、优惠、订单创建和 CSRF 能力；
   下面只把原生组件外观整理成本地 v0 项目的居中单卡确认订单流程。 */
.mk-checkout-page {
  min-height: 100vh;
  background: #f5faf9;
}

.mk-checkout-page .mk-checkout-hero {
  overflow: visible;
  padding: 168px 0 34px;
  background: #f5faf9;
}

.mk-checkout-page .mk-checkout-hero::before {
  content: none;
}

.mk-checkout-page .mk-checkout-flow,
.mk-checkout-page .mk-checkout-section .mk-container {
  max-width: 720px;
}

.mk-checkout-page .mk-flow-progress {
  gap: 12px;
  margin: 0 auto;
  color: #687783;
  font-size: 15px;
}

.mk-checkout-page .mk-flow-progress span {
  gap: 8px;
  font-weight: 800;
}

.mk-checkout-page .mk-flow-progress span:not(:last-child)::after {
  width: 34px;
  margin-left: 8px;
  background: #d9ece9;
}

.mk-checkout-page .mk-flow-progress .is-active:not(:last-child)::after {
  background: #d9ece9;
}

.mk-checkout-page .mk-flow-progress b {
  width: 32px;
  height: 32px;
  background: #d9ece9;
  color: #687783;
  font-size: 14px;
}

.mk-checkout-page .mk-flow-progress .is-active {
  color: var(--mk-primary);
}

.mk-checkout-page .mk-flow-progress .is-active b {
  background: var(--mk-primary);
  color: #fff;
  box-shadow: none;
}

.mk-checkout-page .mk-checkout-section {
  background: #f5faf9;
  padding: 0 0 80px;
}

.mk-checkout-page .mk-checkout-layout {
  display: block;
}

.mk-checkout-page .mk-checkout-shell[hidden],
.mk-checkout-page .mk-checkout-inline-payment-host[hidden],
.mk-checkout-page [data-mk-payment-complete][hidden] {
  display: none !important;
}

.mk-checkout-page .mk-checkout-service-panel-hidden,
.mk-checkout-page [data-mk-checkout-hidden-service="discount-coupon"] {
  display: none !important;
}

.mk-checkout-page .mk-reveal,
.mk-checkout-page .mk-flow-progress,
.mk-checkout-page .mk-checkout-layout {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.mk-checkout-page .mk-checkout-shell {
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.08);
}

.mk-checkout-page .mk-checkout-shell shop-page-checkout {
  display: block;
  min-width: 0;
}

.mk-checkout-page .mk-checkout-shell shop-page-checkout > *,
.mk-checkout-page .mk-checkout-shell shop-page-checkout form > *,
.mk-checkout-page .mk-checkout-shell .shop-entry > * {
  min-width: 0;
}

.mk-checkout-page .mk-checkout-shell .shop-entry,
.mk-checkout-page .mk-checkout-shell [class*="checkout"],
.mk-checkout-page .mk-checkout-shell [class*="Checkout"] {
  color: var(--mk-text);
}

.mk-checkout-page .mk-checkout-shell .shop-entry__header {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .shop-entry > *,
.mk-checkout-page .mk-checkout-shell [class*="checkout"] > *,
.mk-checkout-page .mk-checkout-shell [class*="Checkout"] > * {
  max-width: 100%;
}

.mk-checkout-page .mk-checkout-shell .shop-entry,
.mk-checkout-page .mk-checkout-shell .shop-checkout,
.mk-checkout-page .mk-checkout-shell .shop-checkout__form,
.mk-checkout-page .mk-checkout-shell .shop-checkout__summary,
.mk-checkout-page .mk-checkout-shell .mk-checkout-native-form-area,
.mk-checkout-page .mk-checkout-shell .mk-checkout-native-summary-area {
  display: block !important;
  width: 100% !important;
}

.mk-checkout-page .mk-checkout-shell .shop-checkout,
.mk-checkout-page .mk-checkout-shell .shop-checkout__form,
.mk-checkout-page .mk-checkout-shell .shop-checkout__summary,
.mk-checkout-page .mk-checkout-shell .shop-entry,
.mk-checkout-page .mk-checkout-shell .mk-checkout-layout {
  grid-template-columns: 1fr !important;
}

.mk-checkout-page .mk-checkout-shell .shop-entry,
.mk-checkout-page .mk-checkout-shell .shop-checkout,
.mk-checkout-page .mk-checkout-shell .shop-checkout__form,
.mk-checkout-page .mk-checkout-shell .shop-checkout__summary {
  max-width: 100%;
}

.mk-checkout-page .mk-checkout-shell .shop-card {
  border: 0;
  border-bottom: 1px solid var(--mk-line);
  border-radius: 0;
  background: #fff;
  padding: 24px;
  box-shadow: none;
}

.mk-checkout-page .mk-checkout-shell .shop-card:last-child {
  border-bottom: 0;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-products,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-note {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address {
  border-bottom: 1px solid var(--mk-line);
  background: #fff;
  padding: 24px;
}

.mk-checkout-page .mk-checkout-shell .shop-card__title,
.mk-checkout-page .mk-checkout-shell h2,
.mk-checkout-page .mk-checkout-shell h3 {
  margin-top: 0;
  color: var(--mk-text);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.mk-checkout-page .mk-checkout-shell .shop-card__title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.mk-checkout-page .mk-checkout-shell .shop-card__title::before {
  content: "";
  display: inline-flex;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-right: 0;
  vertical-align: middle;
  border-radius: 999px;
  background:
    linear-gradient(var(--mk-primary), var(--mk-primary)) center / 14px 14px no-repeat,
    #e0f7f4;
  -webkit-mask: none;
  mask: none;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-products .shop-card__title::before {
  background:
    linear-gradient(var(--mk-primary), var(--mk-primary)) center 9px / 13px 10px no-repeat,
    linear-gradient(var(--mk-primary), var(--mk-primary)) center 20px / 16px 3px no-repeat,
    #e0f7f4;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary .shop-card__title::before {
  background:
    linear-gradient(var(--mk-primary), var(--mk-primary)) center 9px / 14px 3px no-repeat,
    linear-gradient(var(--mk-primary), var(--mk-primary)) center / 14px 3px no-repeat,
    linear-gradient(var(--mk-primary), var(--mk-primary)) center 22px / 14px 3px no-repeat,
    #e0f7f4;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-note .shop-card__title::before {
  background:
    linear-gradient(var(--mk-primary), var(--mk-primary)) center / 14px 16px no-repeat,
    #e0f7f4;
}

.mk-checkout-page .mk-checkout-title-meta {
  margin-left: auto;
  color: #687783;
  font-size: 14px;
  font-weight: 500;
}

.mk-checkout-page .mk-checkout-address-title-add {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--mk-primary);
  padding: 0 8px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.mk-checkout-page .mk-checkout-address-title-add::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.mk-checkout-page .mk-checkout-address-title-add:hover {
  background: #e0f7f4;
  color: var(--mk-primary-dark);
}

.mk-checkout-page .mk-checkout-shell label {
  color: var(--mk-text);
  font-size: 14px;
  font-weight: 800;
}

.mk-checkout-page .mk-checkout-shell input,
.mk-checkout-page .mk-checkout-shell select,
.mk-checkout-page .mk-checkout-shell textarea {
  min-height: 42px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  color: var(--mk-text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-checkout-page .mk-checkout-shell input:focus,
.mk-checkout-page .mk-checkout-shell select:focus,
.mk-checkout-page .mk-checkout-shell textarea:focus {
  border-color: var(--mk-primary);
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15);
}

.mk-checkout-page .mk-checkout-shell [class*="address"],
.mk-checkout-page .mk-checkout-shell [class*="Address"] {
  border-color: var(--mk-line);
}

.mk-checkout-page .mk-checkout-shell [class*="address-card"],
.mk-checkout-page .mk-checkout-shell [class*="AddressCard"],
.mk-checkout-page .mk-checkout-shell [class*="address-item"],
.mk-checkout-page .mk-checkout-shell [class*="AddressItem"] {
  border: 1px solid var(--mk-line);
  border-radius: 12px;
  background: #f5faf9;
  padding: 16px;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview {
  display: block;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  margin-top: 0;
  position: relative;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview__body {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #d9ece9;
  border-radius: 12px;
  background: #f5faf9;
  padding: 14px 16px;
  color: #1f2d38;
  text-align: left;
  box-shadow: none;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview__body::after {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: #687783;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview.is-open .mk-checkout-address-preview__body::after {
  transform: rotate(180deg);
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview__body:hover {
  border-color: rgba(79, 199, 183, 0.55);
  background: #eef9f7;
}

.mk-checkout-address-preview__check {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid #d9ece9;
  border-radius: 999px;
  background: #fff;
}

.mk-checkout-address-preview.has-address .mk-checkout-address-preview__check {
  border-color: var(--mk-primary);
  background: var(--mk-primary);
}

.mk-checkout-address-preview.has-address .mk-checkout-address-preview__check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mk-checkout-address-preview strong {
  display: block;
  color: #687783;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.mk-checkout-address-preview strong b,
.mk-checkout-address-preview strong span {
  color: inherit;
  font: inherit;
}

.mk-checkout-address-preview small {
  display: block;
  margin-top: 4px;
  color: #687783;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.mk-checkout-address-preview__body > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview__add {
  display: none;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview__add:hover {
  background: #e0f7f4;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  max-height: 260px;
  overflow: auto;
  border: 1px solid #d9ece9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.14);
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-dropdown[hidden] {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-dropdown__item {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid #d9ece9;
  border-radius: 0;
  background: #fff;
  padding: 14px 16px;
  color: #1f2d38;
  text-align: left;
  box-shadow: none;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-dropdown__item:last-child {
  border-bottom: 0;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-dropdown__item:hover,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-dropdown__item[aria-pressed="true"] {
  background: #f5faf9;
}

.mk-checkout-address-dropdown__check {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 2px solid #d9ece9;
  border-radius: 999px;
  background: #fff;
}

.mk-checkout-address-dropdown__item[aria-pressed="true"] .mk-checkout-address-dropdown__check {
  border-color: var(--mk-primary);
  background: var(--mk-primary);
}

.mk-checkout-address-dropdown__item[aria-pressed="true"] .mk-checkout-address-dropdown__check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mk-checkout-address-dropdown__item strong {
  display: block;
  color: #687783;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.mk-checkout-address-dropdown__item strong b,
.mk-checkout-address-dropdown__item strong span {
  color: inherit;
  font: inherit;
}

.mk-checkout-address-dropdown__item small {
  display: block;
  margin-top: 4px;
  color: #687783;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-panel:not(.mk-checkout-address-modal) .mk-checkout-native-address-choice,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address:not(.mk-checkout-address-modal) .mk-checkout-native-address-choice {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-panel:not(.mk-checkout-address-modal) .mk-checkout-address-native-block,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address:not(.mk-checkout-address-modal) .mk-checkout-address-native-block,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-panel:not(.mk-checkout-address-modal) [data-mk-checkout-location-grid] {
  display: none !important;
}

/* 结算页地址卡片关闭新增/编辑弹窗后，JS 会保留表单节点以便下次打开复用。
   非弹窗状态只展示地址预览和地址下拉，避免姓名、电话、地区、详细地址、保存按钮露出到页面中。 */
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-panel:not(.mk-checkout-address-modal) [data-mk-checkout-address-head],
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address:not(.mk-checkout-address-modal) [data-mk-checkout-address-head],
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-panel:not(.mk-checkout-address-modal) [data-mk-checkout-v0-form],
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address:not(.mk-checkout-address-modal) [data-mk-checkout-v0-form],
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-panel:not(.mk-checkout-address-modal) [data-mk-checkout-address-modal-actions],
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address:not(.mk-checkout-address-modal) [data-mk-checkout-address-modal-actions],
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-panel:not(.mk-checkout-address-modal) [data-mk-checkout-address-save-message],
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address:not(.mk-checkout-address-modal) [data-mk-checkout-address-save-message] {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-preview {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal [data-mk-checkout-contact-grid],
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal [data-mk-checkout-location-grid],
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select:not([data-mk-checkout-v0-region]) {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-native-address-choice {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-native-block {
  display: grid !important;
  gap: 8px;
  margin: 0 0 14px;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-modal-extra-field {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-v0-hidden {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-native-visual-hidden {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal form > :not([data-mk-checkout-v0-form]):not([data-mk-checkout-address-modal-actions]):not([data-mk-checkout-address-head]) {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-name-proxy {
  display: grid !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-detail-field {
  display: block !important;
  width: 100% !important;
  margin: 0 0 16px !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .shop-checkout__form-row.mk-checkout-address-native-block {
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal input.mk-checkout-address-native-block,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select.mk-checkout-address-native-block,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal textarea.mk-checkout-address-native-block {
  display: block !important;
  margin: 0 0 14px;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .shop-checkout__form-row.mk-checkout-address-native-block > .mk-checkout-address-native-block {
  margin: 0;
}

.mk-checkout-page .mk-checkout-shell [class*="item"],
.mk-checkout-page .mk-checkout-shell [class*="Item"] {
  min-width: 0;
}

.mk-checkout-page .mk-checkout-shell [class*="product"],
.mk-checkout-page .mk-checkout-shell [class*="Product"] {
  min-width: 0;
}

.mk-checkout-page .mk-checkout-card-products {
  border-bottom: 1px solid var(--mk-line);
  padding: 24px !important;
}

.mk-checkout-page .mk-checkout-card-products > :not(.shop-card__title):not([data-mk-checkout-title-meta]) + .shop-order-item,
.mk-checkout-page .mk-checkout-card-products .shop-order-item + .shop-order-item {
  margin-top: 12px;
}

.mk-checkout-page .mk-checkout-card-products .shop-order-item,
.mk-checkout-page .mk-checkout-card-products .shop-product-item,
.mk-checkout-page .mk-checkout-card-products [class~="product-item"],
.mk-checkout-page .mk-checkout-card-products [class~="ProductItem"],
.mk-checkout-page .mk-checkout-card-products [class~="order-item"],
.mk-checkout-page .mk-checkout-card-products [class~="OrderItem"] {
  border: 0;
  border-radius: 12px;
  background: #f5faf9;
  padding: 16px;
}

.mk-checkout-page .mk-checkout-card-products .shop-order-item,
.mk-checkout-page .mk-checkout-card-products .shop-product-item,
.mk-checkout-page .mk-checkout-card-products [class~="product-item"],
.mk-checkout-page .mk-checkout-card-products [class~="ProductItem"],
.mk-checkout-page .mk-checkout-card-products [class~="order-item"],
.mk-checkout-page .mk-checkout-card-products [class~="OrderItem"] {
  display: grid !important;
  align-items: center;
  gap: 14px;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  min-height: 112px;
}

.mk-checkout-page .mk-checkout-card-products img {
  width: 84px !important;
  height: 84px !important;
  object-fit: contain;
  padding: 8px;
  border-radius: var(--mk-radius);
  background: #fff;
}

.mk-checkout-page .mk-checkout-card-products .shop-order-item__image,
.mk-checkout-page .mk-checkout-card-products [class*="image"],
.mk-checkout-page .mk-checkout-card-products [class*="Image"] {
  overflow: hidden;
  border-radius: var(--mk-radius);
  background: #fff;
}

.mk-checkout-page .mk-checkout-card-products [class*="title"],
.mk-checkout-page .mk-checkout-card-products [class*="Title"],
.mk-checkout-page .mk-checkout-card-products [class*="name"],
.mk-checkout-page .mk-checkout-card-products [class*="Name"] {
  max-width: 100%;
  writing-mode: horizontal-tb !important;
  word-break: normal;
  overflow-wrap: anywhere;
  color: #1f2d38;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

.mk-checkout-page .mk-checkout-card-products [class*="quantity"],
.mk-checkout-page .mk-checkout-card-products [class*="Quantity"] {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  padding: 4px 10px;
  color: #687783;
  font-size: 13px;
  font-weight: 700;
}

.mk-checkout-page .mk-checkout-card-summary {
  border-bottom: 0 !important;
  padding-top: 24px !important;
}

.mk-checkout-page .mk-checkout-card-summary > * {
  max-width: 100%;
}

.mk-checkout-page .mk-checkout-card-summary [class*="row"],
.mk-checkout-page .mk-checkout-card-summary [class*="Row"],
.mk-checkout-page .mk-checkout-card-summary li,
.mk-checkout-page .mk-checkout-card-summary p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  color: #687783;
  font-size: 14px;
  line-height: 1.6;
}

.mk-checkout-page .mk-checkout-card-summary [class*="total"],
.mk-checkout-page .mk-checkout-card-summary [class*="Total"] {
  color: #2b8d89;
  font-size: 24px;
  font-weight: 900;
}

.mk-checkout-page .mk-checkout-card-summary > :not(.shop-card__title):not(.mk-checkout-trust-row):not(.mk-checkout-actions):last-child {
  margin-bottom: 0;
}

.mk-checkout-page .mk-checkout-shell img {
  border-radius: var(--mk-radius);
  background: #fff;
}

.mk-checkout-page .mk-checkout-shell [class*="price"],
.mk-checkout-page .mk-checkout-shell [class*="Price"],
.mk-checkout-page .mk-checkout-shell [class*="amount"],
.mk-checkout-page .mk-checkout-shell [class*="Amount"],
.mk-checkout-page .mk-checkout-shell [class*="total"],
.mk-checkout-page .mk-checkout-shell [class*="Total"] {
  color: var(--mk-primary-dark);
  font-weight: 900;
}

.mk-checkout-page .mk-checkout-shell [class*="summary"],
.mk-checkout-page .mk-checkout-shell [class*="Summary"] {
  border-color: var(--mk-line);
  background: #fff;
}

.mk-checkout-page .mk-checkout-shell .shop-divider {
  background: var(--mk-line);
}

.mk-checkout-page .mk-checkout-actions {
  display: grid;
  align-items: center;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  margin-top: 22px;
}

.mk-checkout-page .mk-checkout-action--cart {
  grid-column: 1;
}

.mk-checkout-page .mk-checkout-action--pay,
.mk-checkout-page .mk-checkout-action--pay-form {
  grid-column: 2;
}

.mk-checkout-page .mk-checkout-shell .shop-btn,
.mk-checkout-page .mk-checkout-shell button,
.mk-checkout-page .mk-checkout-shell input[type="submit"] {
  border-radius: var(--mk-radius);
  font-weight: 900;
}

.mk-checkout-page .mk-checkout-shell .shop-btn.shop-btn-lg,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--cart,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form .shop-btn,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form button,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form input[type="submit"] {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.2;
}

.mk-checkout-page .mk-checkout-shell .shop-btn.shop-btn-primary,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form .shop-btn.shop-btn-primary,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form button,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form input[type="submit"] {
  border-color: var(--mk-primary);
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.24);
}

.mk-checkout-page .mk-checkout-shell .shop-btn.shop-btn-primary:hover,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay:hover,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form .shop-btn.shop-btn-primary:hover,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form button:hover,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form input[type="submit"]:hover {
  background: var(--mk-primary-dark);
}

.mk-checkout-page .mk-checkout-shell .shop-btn.shop-btn-secondary,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--cart {
  border: 1px solid rgba(79, 199, 183, 0.3);
  background: #fff;
  color: var(--mk-primary-dark);
  box-shadow: none;
}

.mk-checkout-page .mk-checkout-shell .shop-btn.shop-btn-secondary:hover,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--cart:hover {
  background: #e0f7f4;
}

.mk-checkout-page .mk-checkout-action--cart::before,
.mk-checkout-page .mk-checkout-action--pay::after,
.mk-checkout-page .mk-checkout-action--pay-form .shop-btn.shop-btn-primary::after,
.mk-checkout-page .mk-checkout-action--pay-form button::after,
.mk-checkout-page .mk-checkout-action--pay-form input[type="submit"]::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: currentColor;
}

.mk-checkout-page .mk-checkout-action--cart::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m15 18-6-6 6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m15 18-6-6 6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mk-checkout-page .mk-checkout-action--pay::after,
.mk-checkout-page .mk-checkout-action--pay-form .shop-btn.shop-btn-primary::after,
.mk-checkout-page .mk-checkout-action--pay-form button::after,
.mk-checkout-page .mk-checkout-action--pay-form input[type="submit"]::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m9 18 6-6-6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m9 18 6-6-6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mk-checkout-page .mk-checkout-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 20px 0 0;
  color: var(--mk-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.mk-checkout-page .mk-checkout-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.mk-checkout-page .mk-checkout-trust-row svg {
  width: 16px;
  height: 16px;
  color: var(--mk-primary);
}

.mk-checkout-address-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(31, 45, 56, 0.32);
  backdrop-filter: blur(5px);
}

body.mk-checkout-address-modal-open {
  overflow: hidden;
}

/* 新增地址弹窗只改变展示方式，不改变 Halo 原生表单的 action、method、字段 name 和 CSRF。 */
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1201;
  display: block !important;
  box-sizing: border-box;
  width: min(672px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-width: calc(100vw - 32px) !important;
  max-height: none !important;
  overflow: visible !important;
  transform: translate(-50%, -50%) scale(1);
  border: 1px solid #d9ece9 !important;
  border-radius: 16px !important;
  background: #fff !important;
  padding: 24px !important;
  color: #1f2d38;
  box-shadow: 0 26px 80px rgba(31, 45, 56, 0.22) !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address.mk-checkout-address-modal {
  width: min(672px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal > .shop-card__title,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal > h2,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-modal-native-title,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal [data-mk-checkout-address-title-open] {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-panel-hidden {
  display: none !important;
}

.mk-checkout-address-modal__head {
  display: block;
  margin-bottom: 20px;
}

.mk-checkout-address-modal__icon {
  display: none;
}

.mk-checkout-address-modal__icon svg {
  width: 20px;
  height: 20px;
}

.mk-checkout-address-modal__head h3 {
  margin: 0 !important;
  color: #1f2d38 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.mk-checkout-address-modal__head p {
  display: none;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__close {
  display: none;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__close:hover {
  background: #e0f7f4;
}

.mk-checkout-address-modal__close svg {
  width: 17px;
  height: 17px;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal label {
  display: block;
  margin: 0 0 16px;
  color: #1f2d38;
  font-size: 14px;
  font-weight: 800;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal form {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.mk-checkout-address-v0-form {
  display: block;
  width: 100%;
}

.mk-checkout-address-v0-form label {
  display: block !important;
  margin: 0 !important;
}

.mk-checkout-address-v0-form label > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.mk-checkout-address-v0-contact,
.mk-checkout-address-v0-region {
  display: grid;
  gap: 24px;
  margin: 0 0 16px;
}

.mk-checkout-address-v0-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mk-checkout-address-v0-region {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mk-checkout-address-v0-detail {
  margin-bottom: 16px !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal input,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal textarea {
  width: 100%;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px;
  border: 1px solid #d9ece9;
  border-radius: 8px;
  background: #fff !important;
  background-color: #fff !important;
  color: var(--mk-text);
  padding: 0 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal input:-webkit-autofill,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal input:-webkit-autofill:hover,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal input:-webkit-autofill:active,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select:-webkit-autofill,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select:-webkit-autofill:hover,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select:-webkit-autofill:active,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal textarea:-webkit-autofill,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal textarea:-webkit-autofill:hover,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal textarea:-webkit-autofill:active {
  -webkit-text-fill-color: var(--mk-text);
  caret-color: var(--mk-text);
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 9999s ease-out, color 9999s ease-out;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal input:-webkit-autofill:focus,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select:-webkit-autofill:focus,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--mk-text);
  caret-color: var(--mk-text);
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(79, 199, 183, 0.15);
  transition: background-color 9999s ease-out, color 9999s ease-out;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal input::placeholder,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal textarea::placeholder {
  color: #516579;
  font-size: inherit;
  font-weight: 400;
  opacity: 0.9;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal textarea {
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding-top: 10px;
  padding-bottom: 10px;
  resize: none;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select {
  appearance: none;
  padding-right: 38px;
  background:
    linear-gradient(45deg, transparent 50%, #687783 50%) right 18px center / 6px 6px no-repeat,
    linear-gradient(135deg, #687783 50%, transparent 50%) right 13px center / 6px 6px no-repeat,
    #fff;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select.is-placeholder {
  color: #516579;
  font-size: inherit;
  font-weight: 400;
  opacity: 0.9;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select option {
  background: #fff;
  color: var(--mk-text);
  font-size: 16px;
  font-weight: 400;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select option[value=""] {
  color: #516579;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal input:focus,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select:focus,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal textarea:focus {
  border-color: var(--mk-primary);
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15);
}

.mk-checkout-address-location-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 16px;
}

.mk-checkout-address-contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 16px;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-location-grid .mk-checkout-address-select,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-contact-grid .mk-checkout-address-native-block,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal .mk-checkout-address-contact-grid label {
  margin: 0 !important;
}

.mk-checkout-address-select span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.mk-checkout-native-location-wrap,
.mk-checkout-native-location-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.mk-checkout-address-modal__actions {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-top: 8px;
}

.mk-checkout-address-save-message {
  margin: 0 0 12px;
  border: 1px solid rgba(255, 77, 79, 0.32);
  border-radius: 8px;
  background: #fff5f5;
  color: #c43d3d;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.mk-checkout-address-save-message[hidden] {
  display: none !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions > *,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions button,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions input[type="button"],
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions input[type="submit"] {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions > :first-child,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions > :first-child button,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions > :first-child input {
  border: 1px solid rgba(79, 199, 183, 0.32);
  background: #fff;
  color: #2b8d89;
  box-shadow: none;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions > :last-child,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions > :last-child button,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions > :last-child input,
.mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal__actions input[type="submit"] {
  border-color: var(--mk-primary);
  background: var(--mk-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.24);
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  color: var(--mk-primary-dark);
  font-weight: 900;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-add::before {
  content: "+";
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e0f7f4;
  color: var(--mk-primary-dark);
  font-size: 15px;
  line-height: 1;
}

/* 按用户确认的 v0 截图再次收敛：页面主视觉只突出地址、商品清单、金额汇总三段；备注字段如由 Halo 原生输出则保留为轻量输入。 */
.mk-checkout-page .mk-checkout-flow,
.mk-checkout-page .mk-checkout-section .mk-container {
  max-width: 1080px;
}

.mk-checkout-page .mk-checkout-hero {
  padding-top: 94px;
  padding-bottom: 58px;
}

.mk-checkout-page .mk-flow-progress {
  gap: 22px;
  color: #5f7080;
  font-size: 22px;
}

.mk-checkout-page .mk-flow-progress .is-active {
  color: #4fc7b7;
}

.mk-checkout-page .mk-flow-progress b {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.mk-checkout-page .mk-flow-progress span:not(:last-child)::after {
  width: 22px;
  margin-left: 10px;
  background: transparent;
  color: #cfeee9;
  content: "›";
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.mk-checkout-page .mk-checkout-shell {
  border-color: #cfeee9;
  border-radius: 18px;
  box-shadow: 0 28px 84px rgba(36, 109, 116, 0.12);
}

.mk-checkout-page .mk-checkout-shell .shop-card,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address,
.mk-checkout-page .mk-checkout-card-products,
.mk-checkout-page .mk-checkout-card-summary {
  padding: 36px !important;
}

.mk-checkout-page .mk-checkout-shell .shop-card__title {
  margin-bottom: 24px;
  font-size: 28px;
}

.mk-checkout-page .mk-checkout-shell .shop-card__title::before {
  width: 48px;
  height: 48px;
  background: #e0f7f4;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address .shop-card__title::before {
  background: #e0f7f4;
  -webkit-mask: none;
  mask: none;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address .shop-card__title::after,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-products .shop-card__title::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: #4fc7b7;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address .shop-card__title,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-products .shop-card__title {
  position: relative;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address .shop-card__title::after {
  left: 13px;
  top: 13px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.1 7-12a7 7 0 1 0-14 0c0 6.9 7 12 7 12Z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='9' r='2.6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.1 7-12a7 7 0 1 0-14 0c0 6.9 7 12 7 12Z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='9' r='2.6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-products .shop-card__title::before {
  background: #e0f7f4;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-products .shop-card__title::after {
  left: 13px;
  top: 13px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 8h10l1 12H6L7 8Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 8h10l1 12H6L7 8Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mk-checkout-page .mk-checkout-address-title-add {
  color: #4fc7b7;
  font-size: 18px;
  font-weight: 500;
}

.mk-checkout-page .mk-checkout-address-title-add::before {
  font-weight: 400;
}

.mk-checkout-page .mk-checkout-title-meta {
  color: #657584;
  font-size: 20px;
  font-weight: 500;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview__body {
  min-height: 122px;
  align-items: center;
  border-radius: 18px;
  background: #f5faf9;
  padding: 24px;
}

.mk-checkout-page .mk-checkout-address-preview__check {
  display: none;
}

.mk-checkout-page .mk-checkout-address-preview strong,
.mk-checkout-page .mk-checkout-address-dropdown__item strong {
  align-items: center;
  display: inline;
  color: #657584;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}

.mk-checkout-page .mk-checkout-address-preview strong b,
.mk-checkout-page .mk-checkout-address-dropdown__item strong b {
  color: inherit;
  font: inherit;
  font-weight: inherit;
}

.mk-checkout-page .mk-checkout-address-preview strong span,
.mk-checkout-page .mk-checkout-address-dropdown__item strong span {
  color: inherit;
  font: inherit;
}

.mk-checkout-page .mk-checkout-address-preview strong em,
.mk-checkout-page .mk-checkout-address-dropdown__item strong em {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 8px;
  background: #dff7f3;
  color: #2b8d89;
  padding: 0 12px;
  font-size: 17px;
  font-style: normal;
  font-weight: 900;
  margin-left: 10px;
  vertical-align: middle;
}

.mk-checkout-page .mk-checkout-address-preview small,
.mk-checkout-page .mk-checkout-address-dropdown__item small {
  font-size: 20px;
  font-weight: 500;
}

.mk-checkout-page .mk-checkout-card-products .shop-order-item,
.mk-checkout-page .mk-checkout-card-products .shop-product-item,
.mk-checkout-page .mk-checkout-card-products [class~="product-item"],
.mk-checkout-page .mk-checkout-card-products [class~="ProductItem"],
.mk-checkout-page .mk-checkout-card-products [class~="order-item"],
.mk-checkout-page .mk-checkout-card-products [class~="OrderItem"] {
  min-height: 168px;
  grid-template-columns: 120px minmax(0, 1fr) minmax(94px, auto);
  border-radius: 18px;
  padding: 24px;
}

.mk-checkout-page .mk-checkout-card-products img {
  width: 92px !important;
  height: 92px !important;
}

.mk-checkout-page .mk-checkout-card-products [class*="title"],
.mk-checkout-page .mk-checkout-card-products [class*="Title"],
.mk-checkout-page .mk-checkout-card-products [class*="name"],
.mk-checkout-page .mk-checkout-card-products [class*="Name"] {
  color: #102337;
  font-size: 23px;
}

.mk-checkout-page .mk-checkout-card-products [class*="price"],
.mk-checkout-page .mk-checkout-card-products [class*="Price"],
.mk-checkout-page .mk-checkout-card-products [class*="amount"],
.mk-checkout-page .mk-checkout-card-products [class*="Amount"],
.mk-checkout-page .mk-checkout-card-products [class*="total"],
.mk-checkout-page .mk-checkout-card-products [class*="Total"] {
  color: #2b8d89;
  font-size: 24px;
}

.mk-checkout-page .mk-checkout-card-summary > .shop-card__title,
.mk-checkout-page .mk-checkout-card-summary > h2,
.mk-checkout-page .mk-checkout-card-summary > h3 {
  display: none !important;
}

.mk-checkout-page .mk-checkout-card-summary [class*="row"],
.mk-checkout-page .mk-checkout-card-summary [class*="Row"],
.mk-checkout-page .mk-checkout-card-summary li,
.mk-checkout-page .mk-checkout-card-summary p {
  color: #657584;
  font-size: 23px;
}

.mk-checkout-page .mk-checkout-card-summary [class*="total"],
.mk-checkout-page .mk-checkout-card-summary [class*="Total"] {
  color: #102337;
  font-size: 46px;
}

.mk-checkout-page .mk-checkout-card-note {
  padding-top: 0 !important;
}

.mk-checkout-page .mk-checkout-card-note .shop-card__title {
  margin-bottom: 12px;
  color: #657584;
  font-size: 18px;
}

.mk-checkout-page .mk-checkout-card-note .shop-card__title::before {
  width: 30px;
  height: 30px;
}

.mk-checkout-page .mk-checkout-note-field {
  font-size: 0;
}

.mk-checkout-page .mk-checkout-note-field textarea,
.mk-checkout-page .mk-checkout-note-field input,
.mk-checkout-page .mk-checkout-note-field select {
  font-size: 16px;
}

.mk-checkout-page .mk-checkout-trust-row {
  color: #657584;
  font-size: 18px;
  font-weight: 500;
}

.mk-checkout-page .mk-checkout-shell .shop-btn.shop-btn-lg,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--cart,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form .shop-btn,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form button,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form input[type="submit"] {
  min-height: 72px;
  font-size: 28px;
}

/* 确认订单页紧凑版：对齐 v0 的 720px 单卡比例，并去掉地址与备注之间过重的横线和空白。 */
.mk-checkout-page .mk-checkout-flow,
.mk-checkout-page .mk-checkout-section .mk-container {
  max-width: 720px;
}

.mk-checkout-page .mk-checkout-hero {
  padding-top: 148px;
  padding-bottom: 34px;
}

.mk-checkout-page .mk-flow-progress {
  gap: 12px;
  font-size: 15px;
}

.mk-checkout-page .mk-flow-progress b {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.mk-checkout-page .mk-flow-progress span:not(:last-child)::after {
  width: 22px;
  margin-left: 4px;
  color: #d9ece9;
  font-size: 24px;
}

.mk-checkout-page .mk-checkout-shell {
  border-color: #d9ece9;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.08);
}

.mk-checkout-page .mk-checkout-shell .shop-card,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address,
.mk-checkout-page .mk-checkout-card-products,
.mk-checkout-page .mk-checkout-card-summary {
  padding: 24px !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address {
  border-bottom: 0 !important;
  padding-bottom: 16px !important;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-note,
.mk-checkout-page .mk-checkout-card-note {
  display: block !important;
  border-bottom: 0 !important;
  padding: 0 24px 18px !important;
}

.mk-checkout-page .mk-checkout-card-products {
  padding-top: 22px !important;
}

.mk-checkout-page .mk-checkout-card-summary {
  padding-top: 22px !important;
}

.mk-checkout-page .mk-checkout-shell .shop-card__title {
  gap: 10px;
  margin-bottom: 16px;
  font-size: 18px;
}

.mk-checkout-page .mk-checkout-shell .shop-card__title::before {
  width: 32px;
  height: 32px;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address .shop-card__title::after,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-products .shop-card__title::after {
  left: 8px;
  top: 8px;
  width: 16px;
  height: 16px;
}

.mk-checkout-page .mk-checkout-address-title-add {
  min-height: 30px;
  font-size: 14px;
}

.mk-checkout-page .mk-checkout-title-meta {
  font-size: 14px;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview__body {
  min-height: 72px;
  border-radius: 12px;
  padding: 14px 16px;
}

.mk-checkout-page .mk-checkout-address-preview strong,
.mk-checkout-page .mk-checkout-address-dropdown__item strong {
  font-size: 15px;
  line-height: 1.4;
}

.mk-checkout-page .mk-checkout-address-preview strong em,
.mk-checkout-page .mk-checkout-address-dropdown__item strong em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border-radius: 5px;
  padding: 0 8px;
  background: #e0f7f4;
  color: #2b8d89;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  margin-left: 10px;
  vertical-align: middle;
  font-style: normal;
}

.mk-checkout-page .mk-checkout-address-preview small,
.mk-checkout-page .mk-checkout-address-dropdown__item small {
  font-size: 13px;
  line-height: 1.45;
}

.mk-checkout-page .mk-checkout-card-note .shop-card__title {
  display: none !important;
  margin: 0 !important;
}

.mk-checkout-page .mk-checkout-card-note .shop-card__title::before {
  display: none !important;
  content: none !important;
}

.mk-checkout-page .mk-checkout-note-control {
  display: flex !important;
  align-items: center;
  gap: 16px;
  width: 100% !important;
  min-height: 42px;
  border: 1px solid #d9ece9;
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mk-checkout-page .mk-checkout-note-control:focus-within {
  border-color: var(--mk-primary);
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15);
}

.mk-checkout-page .mk-checkout-note-label {
  flex: 0 0 auto;
  color: #657584;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

.mk-checkout-page .mk-checkout-note-field {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
  justify-self: stretch;
  margin: 0 !important;
}

.mk-checkout-page textarea.mk-checkout-note-field,
.mk-checkout-page input.mk-checkout-note-field,
.mk-checkout-page select.mk-checkout-note-field {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
  justify-self: stretch;
  margin: 0 !important;
  font-size: 16px;
}

.mk-checkout-page .mk-checkout-note-field textarea {
  display: block;
  box-sizing: border-box;
  min-height: 40px;
  height: 40px;
  border: 0 !important;
  background: transparent !important;
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
  padding: 10px 0;
  line-height: 1.35;
  overflow: hidden;
  resize: none;
  white-space: nowrap;
  box-shadow: none !important;
}

.mk-checkout-page .mk-checkout-note-field input,
.mk-checkout-page .mk-checkout-note-field select {
  display: block;
  min-height: 40px;
  border: 0 !important;
  background: transparent !important;
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
  padding: 10px 0;
  box-shadow: none !important;
}

.mk-checkout-page .mk-checkout-note-field textarea:focus,
.mk-checkout-page .mk-checkout-note-field input:focus,
.mk-checkout-page .mk-checkout-note-field select:focus,
.mk-checkout-page textarea.mk-checkout-note-field:focus,
.mk-checkout-page input.mk-checkout-note-field:focus,
.mk-checkout-page select.mk-checkout-note-field:focus {
  border-color: transparent !important;
  box-shadow: none !important;
}

.mk-checkout-page .mk-checkout-note-field textarea,
.mk-checkout-page .mk-checkout-note-field input,
.mk-checkout-page .mk-checkout-note-field select,
.mk-checkout-page textarea.mk-checkout-note-field,
.mk-checkout-page input.mk-checkout-note-field,
.mk-checkout-page select.mk-checkout-note-field {
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
}

.mk-checkout-page textarea.mk-checkout-note-field {
  display: block;
  box-sizing: border-box;
  min-height: 40px;
  height: 40px;
  border: 0 !important;
  background: transparent !important;
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
  padding: 10px 0;
  line-height: 1.35;
  overflow: hidden;
  resize: none;
  white-space: nowrap;
  box-shadow: none !important;
}

.mk-checkout-page input.mk-checkout-note-field,
.mk-checkout-page select.mk-checkout-note-field {
  display: block;
  min-height: 40px;
  border: 0 !important;
  background: transparent !important;
  width: 100% !important;
  inline-size: 100% !important;
  max-width: none !important;
  padding: 10px 0;
  box-shadow: none !important;
}

.mk-checkout-page .mk-checkout-card-products .shop-order-item,
.mk-checkout-page .mk-checkout-card-products .shop-product-item,
.mk-checkout-page .mk-checkout-card-products [class~="product-item"],
.mk-checkout-page .mk-checkout-card-products [class~="ProductItem"],
.mk-checkout-page .mk-checkout-card-products [class~="order-item"],
.mk-checkout-page .mk-checkout-card-products [class~="OrderItem"] {
  min-height: 104px;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  border-radius: 12px;
  padding: 14px 16px;
}

.mk-checkout-page .mk-checkout-card-products img {
  width: 80px !important;
  height: 80px !important;
  padding: 8px;
}

.mk-checkout-page .mk-checkout-card-products [class*="title"],
.mk-checkout-page .mk-checkout-card-products [class*="Title"],
.mk-checkout-page .mk-checkout-card-products [class*="name"],
.mk-checkout-page .mk-checkout-card-products [class*="Name"] {
  font-size: 15px;
  line-height: 1.45;
}

.mk-checkout-page .mk-checkout-card-products [class*="price"],
.mk-checkout-page .mk-checkout-card-products [class*="Price"],
.mk-checkout-page .mk-checkout-card-products [class*="amount"],
.mk-checkout-page .mk-checkout-card-products [class*="Amount"],
.mk-checkout-page .mk-checkout-card-products [class*="total"],
.mk-checkout-page .mk-checkout-card-products [class*="Total"] {
  font-size: 16px;
}

.mk-checkout-page .mk-checkout-card-summary [class*="row"],
.mk-checkout-page .mk-checkout-card-summary [class*="Row"],
.mk-checkout-page .mk-checkout-card-summary li,
.mk-checkout-page .mk-checkout-card-summary p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.mk-checkout-page .mk-checkout-card-summary [class*="total"],
.mk-checkout-page .mk-checkout-card-summary [class*="Total"] {
  font-size: 30px;
}

.mk-checkout-page .mk-checkout-trust-row {
  gap: 24px;
  margin-top: 18px;
  font-size: 12px;
}

.mk-checkout-page .mk-checkout-actions {
  margin-top: 20px;
}

.mk-checkout-page .mk-checkout-shell .shop-btn.shop-btn-lg,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--cart,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form .shop-btn,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form button,
.mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form input[type="submit"] {
  min-height: 48px;
  font-size: 16px;
}

/* 支付订单页：对齐 v0 本地预览的居中单卡流程，只包装 Halo 原生支付组件，不改提交、渠道、二维码和 CSRF。 */
.mk-payment-page {
  min-height: 100vh;
  background: #f5faf9;
}

.mk-payment-page .mk-payment-hero {
  overflow: visible;
  padding: 168px 0 34px;
  background: #f5faf9;
}

.mk-payment-page .mk-payment-hero::before {
  content: none;
}

.mk-payment-page .mk-checkout-flow,
.mk-payment-page .mk-payment-section .mk-container,
.mk-payment-page .mk-payment-complete-section .mk-container {
  max-width: 720px;
}

.mk-payment-page .mk-flow-progress {
  gap: 12px;
  margin: 0 auto;
  color: #687783;
  font-size: 15px;
}

.mk-payment-page .mk-flow-progress span {
  gap: 8px;
  font-weight: 800;
}

.mk-payment-page .mk-flow-progress span:not(:last-child)::after {
  content: "";
  width: 34px;
  height: 22px;
  margin-left: 8px;
  border: 0;
  background: transparent;
}

.mk-payment-page .mk-flow-progress span:not(:last-child)::after,
.mk-payment-page .mk-flow-progress .is-active:not(:last-child)::after,
.mk-payment-page .mk-flow-progress .is-done:not(:last-child)::after {
  background: transparent;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m9 18 6-6-6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m9 18 6-6-6-6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}

.mk-payment-page .mk-flow-progress .is-done:not(:last-child)::after,
.mk-payment-page .mk-flow-progress .is-active:not(:last-child)::after {
  background-color: #4fc7b7;
}

.mk-payment-page .mk-flow-progress span:not(.is-active):not(.is-done):not(:last-child)::after {
  background-color: #d9ece9;
}

.mk-payment-page .mk-flow-progress b {
  width: 32px;
  height: 32px;
  background: #d9ece9;
  color: #687783;
  font-size: 14px;
  font-weight: 900;
  box-shadow: none;
}

.mk-payment-page .mk-flow-progress .is-active,
.mk-payment-page .mk-flow-progress .is-done {
  color: #4fc7b7;
}

.mk-payment-page .mk-flow-progress .is-active b,
.mk-payment-page .mk-flow-progress .is-done b {
  background: #4fc7b7;
  color: #fff;
  box-shadow: none;
}

.mk-payment-page .mk-payment-section {
  background: #f5faf9;
  padding: 0 0 80px;
}

.mk-payment-page .mk-reveal,
.mk-payment-page .mk-flow-progress,
.mk-payment-page .mk-payment-shell {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.mk-payment-page .mk-payment-shell {
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid #d9ece9;
  border-radius: 16px;
  background: #fff;
  padding: 0;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.08);
}

.mk-payment-order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #d9ece9;
  padding: 24px;
}

.mk-payment-order-summary > div {
  min-width: 0;
}

.mk-payment-order-summary > div:last-child {
  text-align: right;
}

.mk-payment-order-summary span {
  display: block;
  color: #687783;
  font-size: 14px;
  line-height: 1.4;
}

.mk-payment-order-summary strong {
  display: block;
  margin-top: 4px;
  color: #1f2d38;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mk-payment-order-summary [data-mk-payment-summary-amount] {
  color: #2b8d89;
  font-size: 28px;
  font-weight: 900;
}

.mk-payment-card-body {
  padding: 24px;
}

.mk-payment-page .mk-payment-shell .mk-payment-methods-title {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #1f2d38;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  letter-spacing: 0;
}

.mk-payment-page .mk-payment-shell .mk-payment-methods-title > span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(79, 199, 183, 0.15);
  color: #4fc7b7;
}

.mk-payment-page .mk-payment-shell .mk-payment-methods-title svg {
  width: 17px;
  height: 17px;
}

.mk-payment-visual-methods {
  display: grid;
  gap: 12px;
}

.mk-payment-page .mk-payment-shell shop-page-payments {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  display: block;
  min-width: 0;
  color: #1f2d38;
  white-space: nowrap !important;
}

.mk-payment-page .mk-payment-shell .mk-payment-native-order-block {
  display: none !important;
}

.mk-payment-page .mk-payment-shell .shop-entry__header,
.mk-payment-page .mk-payment-shell .shop-card__title,
.mk-payment-page .mk-payment-shell h2:not(.mk-payment-methods-title),
.mk-payment-page .mk-payment-shell h3:not(.mk-payment-methods-title) {
  display: none !important;
}

.mk-payment-page .mk-payment-shell .shop-entry,
.mk-payment-page .mk-payment-shell .shop-card,
.mk-payment-page .mk-payment-shell [class^="shop-payment"],
.mk-payment-page .mk-payment-shell [class*=" shop-payment"],
.mk-payment-page .mk-payment-shell [class^="shop-Payment"],
.mk-payment-page .mk-payment-shell [class*=" shop-Payment"] {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.mk-payment-page .mk-payment-shell .shop-entry > *,
.mk-payment-page .mk-payment-shell shop-page-payments > * {
  max-width: 100%;
  min-width: 0;
}

.mk-payment-page .mk-payment-shell .mk-real-payment-method,
.mk-payment-page .mk-payment-shell .mk-payment-visual-method {
  position: relative;
  display: flex !important;
  width: 100%;
  min-height: 104px;
  align-items: center;
  gap: 16px;
  margin: 0 0 12px;
  border: 2px solid #d9ece9 !important;
  border-radius: 16px !important;
  background: #fff !important;
  padding: 20px !important;
  color: #1f2d38 !important;
  font-size: 0;
  text-align: left;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mk-payment-page .mk-payment-shell .mk-real-payment-method:last-child,
.mk-payment-page .mk-payment-shell .mk-payment-visual-method:last-child {
  margin-bottom: 0;
}

.mk-payment-page .mk-payment-shell .mk-real-payment-method:hover,
.mk-payment-page .mk-payment-shell .mk-payment-visual-method:hover {
  border-color: rgba(79, 199, 183, 0.5) !important;
}

.mk-payment-page .mk-payment-shell .mk-payment-visual-method.is-disabled,
.mk-payment-page .mk-payment-shell .mk-payment-visual-method:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.mk-payment-page .mk-payment-shell .mk-payment-visual-method.is-disabled:hover,
.mk-payment-page .mk-payment-shell .mk-payment-visual-method:disabled:hover {
  border-color: #d9ece9 !important;
}

.mk-payment-page .mk-payment-shell .mk-real-payment-method.is-selected,
.mk-payment-page .mk-payment-shell .mk-real-payment-method[aria-checked="true"],
.mk-payment-page .mk-payment-shell .mk-real-payment-method[aria-selected="true"],
.mk-payment-page .mk-payment-shell .mk-payment-visual-method.is-selected {
  border-color: #4fc7b7 !important;
  background: rgba(79, 199, 183, 0.05) !important;
  box-shadow: none !important;
}

.mk-payment-method-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

.mk-payment-method-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.mk-payment-method-icon--wechat {
  background: rgba(7, 193, 96, 0.1);
  color: #07c160;
}

.mk-payment-method-icon--alipay {
  background: rgba(22, 119, 255, 0.1);
  color: #1677ff;
}

.mk-payment-method-copy {
  display: grid;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
}

.mk-payment-method-copy strong {
  color: #1f2d38;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.mk-payment-method-copy small {
  color: #687783;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.mk-payment-method-check {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 2px solid #d9ece9;
  border-radius: 999px;
  color: transparent;
}

.mk-payment-method-check svg {
  width: 16px;
  height: 16px;
}

.mk-real-payment-method.is-selected .mk-payment-method-check,
.mk-real-payment-method[aria-checked="true"] .mk-payment-method-check,
.mk-real-payment-method[aria-selected="true"] .mk-payment-method-check,
.mk-payment-visual-method.is-selected .mk-payment-method-check {
  border-color: #4fc7b7;
  background: #4fc7b7;
  color: #fff;
}

.mk-payment-page .mk-payment-shell .mk-real-payment-method input[type="radio"],
.mk-payment-page .mk-payment-shell .mk-real-payment-method input[type="checkbox"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.mk-payment-page .mk-payment-shell .mk-real-payment-method > :not(.mk-payment-method-icon):not(.mk-payment-method-copy):not(.mk-payment-method-check):not(input[type="radio"]):not(input[type="checkbox"]) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.mk-payment-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: #687783;
  font-size: 14px;
  line-height: 1.4;
}

.mk-payment-security-note svg {
  width: 18px;
  height: 18px;
  color: #4fc7b7;
}

.mk-payment-v0-actions {
  display: grid;
  align-items: stretch;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  margin-top: 24px;
}

.mk-payment-native-action-slot {
  min-width: 0;
}

.mk-payment-native-action-slot:empty::before {
  content: "";
  display: none;
}

.mk-payment-page .mk-payment-native-action-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.mk-payment-page .mk-payment-back-action,
.mk-payment-page .mk-payment-confirm-action,
.mk-payment-page .mk-payment-confirm-control {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 56px !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px !important;
  font-size: 17px;
  font-weight: 900 !important;
  line-height: 1.2;
}

.mk-payment-page .mk-payment-back-action {
  border: 1px solid #d9ece9;
  background: #fff;
  color: #687783;
  box-shadow: none;
}

.mk-payment-page .mk-payment-back-action:hover {
  background: #f5faf9;
  color: #1f2d38;
}

.mk-payment-page .mk-payment-back-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.mk-payment-page .mk-payment-confirm-action,
.mk-payment-page .mk-payment-confirm-control {
  border-color: #4fc7b7 !important;
  background: #4fc7b7 !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.25) !important;
}

.mk-payment-page .mk-payment-confirm-action:hover,
.mk-payment-page .mk-payment-confirm-control:hover {
  background: #2b8d89 !important;
}

.mk-payment-page .mk-payment-confirm-control:disabled,
.mk-payment-page .mk-payment-confirm-control.is-disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.mk-payment-policy-note {
  margin: 18px 0 0;
  color: #687783;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 720px) {
  .mk-payment-page .mk-payment-hero {
    padding-top: 124px;
    padding-bottom: 28px;
  }

  .mk-payment-page .mk-flow-progress {
    gap: 8px;
    font-size: 13px;
  }

  .mk-payment-page .mk-flow-progress b {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .mk-payment-page .mk-flow-progress span:not(:last-child)::after {
    width: 18px;
    height: 18px;
    margin-left: 2px;
    -webkit-mask-size: 18px 18px;
    mask-size: 18px 18px;
  }

  .mk-payment-page .mk-payment-section {
    padding-bottom: 52px;
  }

  .mk-payment-page .mk-payment-shell {
    border-radius: var(--mk-radius);
  }

  .mk-payment-order-summary,
  .mk-payment-card-body {
    padding: 20px;
  }

  .mk-payment-order-summary {
    align-items: flex-start;
  }

  .mk-payment-order-summary [data-mk-payment-summary-amount] {
    font-size: 24px;
  }

  .mk-payment-page .mk-payment-shell .mk-real-payment-method,
  .mk-payment-page .mk-payment-shell .mk-payment-visual-method {
    min-height: 92px;
    gap: 12px;
    border-radius: 12px !important;
    padding: 16px !important;
  }

  .mk-payment-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .mk-payment-method-icon svg {
    width: 29px;
    height: 29px;
  }

  .mk-payment-method-copy strong {
    font-size: 17px;
  }

  .mk-payment-method-copy small {
    font-size: 13px;
  }

  .mk-payment-v0-actions {
    grid-template-columns: 1fr;
  }

  .mk-payment-page .mk-payment-back-action,
  .mk-payment-page .mk-payment-confirm-action,
  .mk-payment-page .mk-payment-confirm-control {
    min-height: 52px !important;
    font-size: 16px;
  }

  .mk-checkout-page .mk-checkout-hero {
    padding-top: 124px;
    padding-bottom: 28px;
  }

  .mk-checkout-page .mk-flow-progress {
    gap: 8px;
    font-size: 13px;
  }

  .mk-checkout-page .mk-flow-progress b {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .mk-checkout-page .mk-flow-progress span:not(:last-child)::after {
    width: 16px;
    margin-left: 2px;
  }

  .mk-checkout-page .mk-checkout-section {
    padding-bottom: 52px;
  }

  .mk-checkout-page .mk-checkout-shell {
    border-radius: var(--mk-radius);
  }

  .mk-checkout-page .mk-checkout-shell .shop-card {
    padding: 20px;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-address,
  .mk-checkout-page .mk-checkout-card-products {
    padding: 20px !important;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview {
    grid-template-columns: 1fr;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview__add {
    width: 100%;
  }

  .mk-checkout-page .mk-checkout-shell .shop-card__title {
    gap: 10px;
    margin-bottom: 16px;
    font-size: 22px;
  }

  .mk-checkout-page .mk-checkout-shell .shop-card__title::before {
    width: 38px;
    height: 38px;
  }

  .mk-checkout-page .mk-checkout-title-meta {
    font-size: 15px;
  }

  .mk-checkout-page .mk-checkout-address-title-add {
    font-size: 15px;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview__body {
    min-height: 92px;
    padding: 16px;
  }

  .mk-checkout-page .mk-checkout-address-preview strong,
  .mk-checkout-page .mk-checkout-address-dropdown__item strong {
    display: block;
    color: #657584;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
  }

  .mk-checkout-page .mk-checkout-address-preview strong b,
  .mk-checkout-page .mk-checkout-address-dropdown__item strong b,
  .mk-checkout-page .mk-checkout-address-preview strong span,
  .mk-checkout-page .mk-checkout-address-dropdown__item strong span {
    color: inherit;
    font: inherit;
  }

  .mk-checkout-page .mk-checkout-address-preview strong em,
  .mk-checkout-page .mk-checkout-address-dropdown__item strong em {
    min-height: 24px;
    padding: 0 8px;
    font-size: 13px;
    font-weight: 900;
    margin-left: 8px;
  }

  .mk-checkout-page .mk-checkout-address-preview small,
  .mk-checkout-page .mk-checkout-address-dropdown__item small {
    font-size: 14px;
    line-height: 1.5;
  }

  .mk-checkout-page .mk-checkout-card-products .shop-order-item,
  .mk-checkout-page .mk-checkout-card-products .shop-product-item,
  .mk-checkout-page .mk-checkout-card-products [class~="product-item"],
  .mk-checkout-page .mk-checkout-card-products [class~="ProductItem"],
  .mk-checkout-page .mk-checkout-card-products [class~="order-item"],
  .mk-checkout-page .mk-checkout-card-products [class~="OrderItem"] {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 104px;
    padding: 14px;
  }

  .mk-checkout-page .mk-checkout-card-products img {
    width: 72px !important;
    height: 72px !important;
  }

  .mk-checkout-page .mk-checkout-card-products [class*="title"],
  .mk-checkout-page .mk-checkout-card-products [class*="Title"],
  .mk-checkout-page .mk-checkout-card-products [class*="name"],
  .mk-checkout-page .mk-checkout-card-products [class*="Name"] {
    font-size: 16px;
  }

  .mk-checkout-page .mk-checkout-card-products [class*="price"],
  .mk-checkout-page .mk-checkout-card-products [class*="Price"],
  .mk-checkout-page .mk-checkout-card-products [class*="amount"],
  .mk-checkout-page .mk-checkout-card-products [class*="Amount"],
  .mk-checkout-page .mk-checkout-card-products [class*="total"],
  .mk-checkout-page .mk-checkout-card-products [class*="Total"] {
    grid-column: 2;
    justify-self: start;
    font-size: 18px;
  }

  .mk-checkout-page .mk-checkout-card-summary [class*="row"],
  .mk-checkout-page .mk-checkout-card-summary [class*="Row"],
  .mk-checkout-page .mk-checkout-card-summary li,
  .mk-checkout-page .mk-checkout-card-summary p {
    font-size: 16px;
  }

  .mk-checkout-page .mk-checkout-card-summary [class*="total"],
  .mk-checkout-page .mk-checkout-card-summary [class*="Total"] {
    font-size: 30px;
  }

  .mk-checkout-page .mk-checkout-actions {
    grid-template-columns: 1fr;
  }

  .mk-checkout-page .mk-checkout-action--cart,
  .mk-checkout-page .mk-checkout-action--pay,
  .mk-checkout-page .mk-checkout-action--pay-form {
    grid-column: 1;
  }

  .mk-checkout-page .mk-checkout-trust-row {
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 13px;
  }

  .mk-checkout-page .mk-checkout-shell .shop-btn.shop-btn-lg,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-action--cart,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form .shop-btn,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form button,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form input[type="submit"] {
    min-height: 52px;
    font-size: 17px;
  }

  .mk-checkout-page .mk-checkout-shell .shop-card,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-address,
  .mk-checkout-page .mk-checkout-card-products,
  .mk-checkout-page .mk-checkout-card-summary {
    padding: 18px !important;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-address {
    border-bottom: 0 !important;
    padding-bottom: 12px !important;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-note,
  .mk-checkout-page .mk-checkout-card-note {
    display: block !important;
    border-bottom: 0 !important;
    padding: 0 18px 14px !important;
  }

  .mk-checkout-page .mk-checkout-card-products,
  .mk-checkout-page .mk-checkout-card-summary {
    padding-top: 18px !important;
  }

  .mk-checkout-page .mk-checkout-shell .shop-card__title {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .mk-checkout-page .mk-checkout-shell .shop-card__title::before {
    width: 30px;
    height: 30px;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-address .shop-card__title::after,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-products .shop-card__title::after {
    left: 7px;
    top: 7px;
    width: 16px;
    height: 16px;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-address-preview__body {
    min-height: 72px;
    padding: 12px 14px;
  }

  .mk-checkout-page .mk-checkout-card-note .shop-card__title {
    display: none !important;
    margin: 0 !important;
  }

  .mk-checkout-page .mk-checkout-card-note .shop-card__title::before {
    display: none !important;
    content: none !important;
  }

  .mk-checkout-page .mk-checkout-note-control {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100% !important;
    min-height: 40px;
    border: 1px solid #d9ece9;
    border-radius: 12px;
    background: #fff;
    padding: 0 12px;
  }

  .mk-checkout-page .mk-checkout-note-label {
    color: #657584;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
  }

  .mk-checkout-page .mk-checkout-note-field,
  .mk-checkout-page textarea.mk-checkout-note-field,
  .mk-checkout-page input.mk-checkout-note-field,
  .mk-checkout-page select.mk-checkout-note-field {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    inline-size: 100% !important;
    max-width: none !important;
    justify-self: stretch;
    margin: 0 !important;
  }

  .mk-checkout-page .mk-checkout-note-field textarea,
  .mk-checkout-page textarea.mk-checkout-note-field {
    display: block;
    box-sizing: border-box;
    min-height: 38px;
    height: 38px;
    border: 0 !important;
    background: transparent !important;
    width: 100% !important;
    inline-size: 100% !important;
    max-width: none !important;
    padding: 9px 0;
    overflow: hidden;
    resize: none;
    white-space: nowrap;
    box-shadow: none !important;
  }

  .mk-checkout-page .mk-checkout-note-field input,
  .mk-checkout-page .mk-checkout-note-field select,
  .mk-checkout-page input.mk-checkout-note-field,
  .mk-checkout-page select.mk-checkout-note-field {
    display: block;
    min-height: 38px;
    border: 0 !important;
    background: transparent !important;
    width: 100% !important;
    inline-size: 100% !important;
    max-width: none !important;
    padding: 9px 0;
    box-shadow: none !important;
  }

  .mk-checkout-page .mk-checkout-card-products .shop-order-item,
  .mk-checkout-page .mk-checkout-card-products .shop-product-item,
  .mk-checkout-page .mk-checkout-card-products [class~="product-item"],
  .mk-checkout-page .mk-checkout-card-products [class~="ProductItem"],
  .mk-checkout-page .mk-checkout-card-products [class~="order-item"],
  .mk-checkout-page .mk-checkout-card-products [class~="OrderItem"] {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 88px;
    padding: 12px;
  }

  .mk-checkout-page .mk-checkout-card-products img {
    width: 64px !important;
    height: 64px !important;
  }

  .mk-checkout-page .mk-checkout-card-products [class*="price"],
  .mk-checkout-page .mk-checkout-card-products [class*="Price"],
  .mk-checkout-page .mk-checkout-card-products [class*="amount"],
  .mk-checkout-page .mk-checkout-card-products [class*="Amount"],
  .mk-checkout-page .mk-checkout-card-products [class*="total"],
  .mk-checkout-page .mk-checkout-card-products [class*="Total"] {
    font-size: 16px;
  }

  .mk-checkout-page .mk-checkout-card-summary [class*="row"],
  .mk-checkout-page .mk-checkout-card-summary [class*="Row"],
  .mk-checkout-page .mk-checkout-card-summary li,
  .mk-checkout-page .mk-checkout-card-summary p {
    font-size: 14px;
  }

  .mk-checkout-page .mk-checkout-shell .shop-btn.shop-btn-lg,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-action--cart,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form .shop-btn,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form button,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-action--pay-form input[type="submit"] {
    min-height: 48px;
    font-size: 16px;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 22px !important;
  }

  .mk-checkout-address-modal__head {
    grid-template-columns: 36px minmax(0, 1fr) 34px;
  }

  .mk-checkout-address-modal__icon {
    width: 36px;
    height: 36px;
  }

  .mk-checkout-address-location-grid,
  .mk-checkout-address-contact-grid,
  .mk-checkout-address-v0-contact,
  .mk-checkout-address-v0-region,
  .mk-checkout-address-modal__actions {
    grid-template-columns: 1fr;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal input,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal textarea,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-address-modal select option {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .mk-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* 结算页最终校准：分隔线统一使用费用明细里的内缩细线样式，避免横线贴到白色卡片外沿。 */
.mk-checkout-page .mk-checkout-shell .shop-card,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address,
.mk-checkout-page .mk-checkout-card-note,
.mk-checkout-page .mk-checkout-card-products,
.mk-checkout-page .mk-checkout-card-summary {
  border-bottom: 0 !important;
}

.mk-checkout-page .mk-checkout-card-products,
.mk-checkout-page .mk-checkout-card-summary {
  position: relative;
}

.mk-checkout-page .mk-checkout-card-products::before,
.mk-checkout-page .mk-checkout-card-summary::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: #d9ece9;
  pointer-events: none;
}

/* 商品清单底部也单独画一条内缩线，确保“商品清单”和“费用汇总”之间的第二条分隔线不会被原生卡片结构吞掉。 */
.mk-checkout-page .mk-checkout-card-products::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 1px;
  background: #d9ece9;
  pointer-events: none;
}

.mk-checkout-page .mk-checkout-shell .shop-divider {
  height: 1px;
  border: 0;
  background: #d9ece9;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address > .shop-card__title,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address > h2,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-address > h3,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-products > .shop-card__title,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-products > h2,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-products > h3,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > .shop-card__title,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > h2,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > h3,
.mk-checkout-page .mk-checkout-card-summary .shop-card__title,
.mk-checkout-page .mk-checkout-card-summary h2,
.mk-checkout-page .mk-checkout-card-summary h3 {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px !important;
  color: #102337;
  font-size: 18px !important;
  font-weight: 900;
  line-height: 1.25;
}

.mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > .shop-card__title::before,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > h2::before,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > h3::before,
.mk-checkout-page .mk-checkout-card-summary .shop-card__title::before,
.mk-checkout-page .mk-checkout-card-summary h2::before,
.mk-checkout-page .mk-checkout-card-summary h3::before {
  content: "¥";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e0f7f4;
  color: #4fc7b7;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.mk-checkout-page [data-mk-checkout-summary-title="true"]::before,
.mk-checkout-page .mk-checkout-card-summary .mk-checkout-summary-title-has-icon::before,
.mk-checkout-page .mk-checkout-card-summary [data-mk-checkout-summary-title="true"]::before,
.mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary [data-mk-checkout-summary-title="true"]::before {
  content: "\00A5" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: #e0f7f4 !important;
  color: #4fc7b7 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.mk-checkout-page .mk-checkout-title-icon--summary {
  display: none !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e0f7f4;
  color: #4fc7b7;
  line-height: 1;
  box-shadow: none;
}

.mk-checkout-page .mk-checkout-title-icon--summary svg {
  display: block;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.mk-checkout-page .mk-checkout-title-meta,
.mk-checkout-page [data-mk-checkout-title-meta] {
  color: #687783 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

.mk-checkout-page .mk-checkout-address-preview strong em,
.mk-checkout-page .mk-checkout-address-dropdown__item strong em,
.mk-checkout-page .mk-checkout-address-preview__tag {
  display: inline-flex !important;
  min-height: 24px !important;
  align-items: center;
  border-radius: 8px !important;
  background: #dff7f3 !important;
  color: #2b8d89 !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  margin-left: 10px !important;
  vertical-align: middle;
}

@media (max-width: 720px) {
  .mk-checkout-page .mk-checkout-card-products::before,
  .mk-checkout-page .mk-checkout-card-summary::before,
  .mk-checkout-page .mk-checkout-card-products::after {
    left: 18px;
    right: 18px;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-address > .shop-card__title,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-address > h2,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-address > h3,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-products > .shop-card__title,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-products > h2,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-products > h3,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > .shop-card__title,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > h2,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > h3,
  .mk-checkout-page .mk-checkout-card-summary .shop-card__title,
  .mk-checkout-page .mk-checkout-card-summary h2,
  .mk-checkout-page .mk-checkout-card-summary h3 {
    margin-bottom: 12px !important;
    font-size: 17px !important;
  }

  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > .shop-card__title::before,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > h2::before,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary > h3::before,
  .mk-checkout-page .mk-checkout-card-summary .shop-card__title::before,
  .mk-checkout-page .mk-checkout-card-summary h2::before,
  .mk-checkout-page .mk-checkout-card-summary h3::before {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .mk-checkout-page .mk-checkout-title-meta {
    font-size: 13px !important;
  }

  .mk-checkout-page [data-mk-checkout-summary-title="true"]::before,
  .mk-checkout-page .mk-checkout-card-summary .mk-checkout-summary-title-has-icon::before,
  .mk-checkout-page .mk-checkout-card-summary [data-mk-checkout-summary-title="true"]::before,
  .mk-checkout-page .mk-checkout-shell .mk-checkout-card-summary [data-mk-checkout-summary-title="true"]::before {
    width: 30px;
    height: 30px;
    font-size: 16px !important;
  }

  .mk-checkout-page .mk-checkout-title-icon--summary svg {
    width: 17px;
    height: 17px;
  }
}

/* 账号页 v0 还原层：只覆盖 /account 页面，真实订单和地址接口仍由 mikapu.js 对接 Halo 商城。 */
.mk-page--account {
  background: #fbfefe;
  color: #1f2d38;
}

.mk-page--account .mk-account-narrow,
.mk-page--account .mk-account-dashboard {
  max-width: 720px;
}

.mk-page--account .mk-account-hero {
  display: flex;
  align-items: end;
  min-height: 214px;
  padding: 120px 0 32px;
  background: linear-gradient(180deg, rgba(79, 199, 183, 0.12) 0%, rgba(79, 199, 183, 0.06) 30%, rgba(79, 199, 183, 0.03) 100%);
  text-align: center;
}

.mk-page--account .mk-account-hero h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}

.mk-page--account .mk-account-section {
  background: linear-gradient(180deg, rgba(79, 199, 183, 0.03) 0%, rgba(79, 199, 183, 0.01) 100%);
  padding: 0 0 80px;
}

.mk-page--account .mk-account-dashboard {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.mk-page--account .mk-account-profile-card,
.mk-page--account .mk-account-tabs,
.mk-page--account .mk-account-panel {
  border: 1px solid #d9ece9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.08);
}

.mk-page--account .mk-account-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
}

.mk-page--account .mk-account-profile {
  margin: 0;
}

.mk-page--account .mk-account-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, #4fc7b7, #2b8d89);
}

.mk-page--account .mk-account-profile p {
  color: #687783;
}

.mk-page--account .mk-account-profile h2 {
  font-size: 20px;
  font-weight: 900;
}

.mk-page--account .mk-account-logout-form {
  flex: 0 0 auto;
  margin: 0;
}

.mk-page--account .mk-account-logout--inline {
  width: auto;
  min-height: 36px;
  padding: 7px 12px;
  color: #687783;
  font-size: 14px;
}

.mk-page--account .mk-account-logout__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.mk-page--account .mk-account-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  scrollbar-width: none;
}

.mk-page--account .mk-account-tabs::-webkit-scrollbar {
  display: none;
}

.mk-page--account .mk-account-tabs button {
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  flex: 1 0 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #687783;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mk-page--account .mk-account-tabs button:hover {
  background: #eef9f7;
  color: #2b8d89;
}

.mk-page--account .mk-account-tabs button.is-active {
  background: #4fc7b7;
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 199, 183, 0.3);
}

.mk-page--account .mk-account-tabs svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.mk-page--account .mk-account-panels {
  min-width: 0;
}

.mk-page--account .mk-account-panel {
  padding: 24px;
}

.mk-page--account .mk-account-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.mk-page--account .mk-account-panel__head h2 {
  margin: 0;
  color: #1f2d38;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.mk-page--account .mk-account-panel__head .mk-btn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}

.mk-page--account .mk-account-panel__head .mk-btn svg {
  width: 16px;
  height: 16px;
}

.mk-page--account .mk-account-list,
.mk-page--account .mk-address-list,
.mk-page--account .mk-security-list {
  display: grid;
  gap: 12px;
}

.mk-page--account .mk-account-order,
.mk-page--account .mk-address-card,
.mk-page--account .mk-security-action {
  border: 1px solid #d9ece9;
  border-radius: 12px;
  background: #fff;
  color: #1f2d38;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.mk-page--account .mk-account-order {
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  gap: 16px;
  padding: 20px;
}

.mk-page--account .mk-account-order:hover,
.mk-page--account .mk-address-card:hover,
.mk-page--account .mk-security-action:hover {
  border-color: rgba(79, 199, 183, 0.5);
  background: #fff;
  box-shadow: 0 12px 35px rgba(36, 109, 116, 0.08);
  transform: translateY(-2px);
}

.mk-page--account .mk-account-order__icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: linear-gradient(140deg, #f6fbfa, #dff3f0);
  color: rgba(79, 199, 183, 0.5);
  overflow: hidden;
}

.mk-page--account .mk-account-order__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.mk-page--account .mk-account-status {
  gap: 6px;
  --mk-order-status-border: #e6f4f2;
  --mk-order-status-bg: #e0f7f4;
  --mk-order-status-color: #2b8d89;
  border: 1px solid var(--mk-order-status-border);
  background: var(--mk-order-status-bg);
  padding: 5px 10px;
  color: var(--mk-order-status-color);
  font-size: 12px;
}

.mk-page--account .mk-account-status--pending-payment {
  --mk-order-status-border: rgba(246, 115, 33, 0.2);
  --mk-order-status-bg: rgba(246, 115, 33, 0.1);
  --mk-order-status-color: #e76019;
}

.mk-page--account .mk-account-status--cancelled {
  --mk-order-status-border: rgba(142, 142, 142, 0.18);
  --mk-order-status-bg: rgba(142, 142, 142, 0.1);
  --mk-order-status-color: #7a7f85;
}

.mk-page--account .mk-account-status--pending-shipment {
  --mk-order-status-border: rgba(43, 111, 220, 0.16);
  --mk-order-status-bg: rgba(43, 111, 220, 0.1);
  --mk-order-status-color: #2b62cf;
}

.mk-page--account .mk-account-status--shipping {
  --mk-order-status-border: rgba(214, 164, 28, 0.2);
  --mk-order-status-bg: rgba(255, 216, 107, 0.3);
  --mk-order-status-color: #b58b18;
}

.mk-page--account .mk-account-status--completed {
  --mk-order-status-border: rgba(43, 141, 137, 0.16);
  --mk-order-status-bg: rgba(79, 199, 183, 0.16);
  --mk-order-status-color: #1e8f8a;
}

.mk-page--account .mk-account-order strong,
.mk-page--account .mk-account-order__title {
  margin-top: 8px;
  font-weight: 900;
}

.mk-page--account .mk-account-order__title-row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.mk-page--account .mk-account-order__sku {
  min-width: 0;
  color: #687783;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mk-page--account .mk-account-order__meta {
  display: grid;
  gap: 3px;
  margin-top: 6px;
  color: #687783;
  font-size: 14px;
  line-height: 1.6;
}

.mk-page--account .mk-account-order__meta-row {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.mk-page--account .mk-account-order__meta-line {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mk-page--account .mk-account-order small {
  margin-top: 6px;
  color: #687783;
  font-size: 14px;
}

.mk-page--account .mk-account-order__amount {
  color: #2b8d89;
  font-size: 20px;
}

.mk-page--account .mk-account-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px 0 0;
  color: #687783;
  font-size: 14px;
  text-align: center;
}

.mk-page--account .mk-account-pagination__button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9ece9;
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  color: #2b8d89;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mk-page--account .mk-account-pagination__button:hover:not(:disabled),
.mk-page--account .mk-account-pagination__button:focus-visible:not(:disabled) {
  border-color: rgba(79, 199, 183, 0.55);
  background: #eef9f7;
  transform: translateY(-1px);
}

.mk-page--account .mk-account-pagination__button:disabled {
  color: #98a5ad;
  cursor: not-allowed;
  opacity: 0.55;
}

.mk-page--account .mk-address-card {
  padding: 16px;
}

.mk-page--account .mk-address-list .mk-address-card:not(.mk-address-card--state) {
  cursor: pointer;
}

.mk-page--account .mk-address-card.is-default {
  border-color: #4fc7b7;
  background: rgba(79, 199, 183, 0.05);
}

.mk-page--account .mk-address-card__body {
  display: grid;
  align-items: start;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.mk-page--account .mk-address-card__main {
  min-width: 0;
}

.mk-page--account .mk-address-card__tag {
  position: static;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin: 0;
  border-radius: 5px;
  background: #4fc7b7;
  padding: 0 8px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.mk-page--account .mk-address-card__icon,
.mk-page--account .mk-security-action > span {
  border-radius: 8px;
  background: rgba(79, 199, 183, 0.1);
  color: #4fc7b7;
}

.mk-page--account .mk-address-card__icon {
  width: 48px;
  height: 48px;
}

.mk-page--account .mk-address-card__icon svg {
  width: 20px;
  height: 20px;
}

.mk-page--account .mk-address-card h3 {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.mk-page--account .mk-address-card h3 small {
  margin: 0;
  color: #687783;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.mk-page--account .mk-address-card p,
.mk-page--account .mk-security-action p {
  color: #687783;
  font-size: 14px;
}

.mk-page--account .mk-address-card p {
  margin: 4px 0 0;
  line-height: 1.55;
}

.mk-page--account .mk-address-card strong {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.mk-page--account .mk-address-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 10px;
  min-width: 76px;
  margin: 0;
  border: 0;
  padding: 0;
}

.mk-page--account .mk-address-actions button {
  color: #687783;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.mk-page--account .mk-address-actions button:hover {
  color: #4fc7b7;
}

.mk-page--account .mk-address-actions button[data-mk-account-address-action="delete"]:hover {
  color: #ef5d5d;
}

.mk-page--account .mk-security-action {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid #d9ece9;
  padding: 16px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.mk-page--account .mk-security-action > span {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
}

.mk-page--account .mk-security-action svg {
  width: 20px;
  height: 20px;
}

.mk-page--account .mk-security-action > svg:last-child {
  color: #687783;
}

.mk-page--account .mk-security-action h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.mk-page--account .mk-security-action p {
  margin: 4px 0 0;
}

.mk-page--account .mk-security-tips {
  margin-top: 24px;
  border-color: rgba(79, 199, 183, 0.2);
  border-radius: 12px;
  background: rgba(79, 199, 183, 0.05);
  padding: 16px;
}

.mk-page--account .mk-security-tips h4 {
  font-size: 14px;
}

.mk-page--account .mk-security-tips ul {
  margin-top: 8px;
  font-size: 12px;
}

.mk-page--account .mk-account-address-modal,
.mk-page--account .mk-account-confirm-modal,
.mk-page--account .mk-account-security-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.mk-page--account .mk-account-confirm-modal {
  z-index: 1300;
}

.mk-page--account .mk-account-security-modal {
  z-index: 1600;
}

.mk-page--account .mk-account-address-modal[hidden],
.mk-page--account .mk-account-confirm-modal[hidden],
.mk-page--account .mk-account-security-modal[hidden] {
  display: none;
}

.mk-page--account .mk-account-address-modal__backdrop,
.mk-page--account .mk-account-confirm-modal__backdrop,
.mk-page--account .mk-account-security-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(31, 45, 56, 0.3);
  backdrop-filter: blur(4px);
}

.mk-page--account .mk-account-address-modal__card,
.mk-page--account .mk-account-confirm-modal__card,
.mk-page--account .mk-account-security-modal__card {
  position: relative;
  z-index: 1;
  border: 1px solid #d9ece9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(12, 45, 47, 0.18);
}

.mk-page--account .mk-account-address-modal__card {
  width: min(480px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  padding: 24px;
}

.mk-page--account .mk-account-security-modal__card {
  display: grid;
  width: min(384px, calc(100vw - 32px));
  max-height: min(86vh, 680px);
  gap: 16px;
  overflow: auto;
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.mk-page--account .mk-account-security-modal__backdrop {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
}

.mk-page--account .mk-account-address-modal__head,
.mk-page--account .mk-account-security-modal__head {
  margin-bottom: 24px;
}

.mk-page--account .mk-account-security-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.mk-page--account .mk-account-address-modal__head h3,
.mk-page--account .mk-account-security-modal__head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.mk-page--account .mk-account-security-modal__head > button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d9ece9;
  border-radius: 8px;
  background: #fff;
  color: #1f2d38;
  cursor: pointer;
}

.mk-page--account .mk-account-security-modal__head svg {
  width: 18px;
  height: 18px;
}

.mk-page--account .mk-account-address-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mk-page--account .mk-account-security-field {
  display: grid;
  gap: 8px;
  color: #1f2d38;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.mk-page--account .mk-account-address-form-grid label {
  gap: 8px;
  color: #1f2d38;
  font-size: 14px;
  font-weight: 800;
}

.mk-page--account .mk-account-address-form-grid input,
.mk-page--account .mk-account-address-form-grid select,
.mk-page--account .mk-account-address-form-grid textarea,
.mk-page--account .mk-account-security-field input {
  width: 100%;
  min-height: 44px;
  border-color: #d9ece9;
  border-radius: 8px;
  border-style: solid;
  border-width: 1px;
  background: #fff;
  padding: 10px 12px;
  color: #1f2d38;
  font: inherit;
  outline: none;
}

.mk-page--account .mk-account-security-field input:focus {
  border-color: #4fc7b7;
  box-shadow: 0 0 0 4px rgba(79, 199, 183, 0.15);
}

.mk-page--account .mk-account-security-field input {
  height: 44px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.mk-page--account .mk-account-security-field input::placeholder {
  color: #687783;
  font-size: 14px;
  font-weight: 400;
  opacity: 1;
}

.mk-page--account .mk-account-security-field input:autofill,
.mk-page--account .mk-account-security-field input:-webkit-autofill,
.mk-page--account .mk-account-security-field input:-webkit-autofill:hover,
.mk-page--account .mk-account-security-field input:-webkit-autofill:focus,
.mk-page--account .mk-account-security-field input:-webkit-autofill:active {
  border-color: #d9ece9;
  background: #fff !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #1f2d38;
  caret-color: #1f2d38;
  transition: background-color 9999s ease-out;
}

.mk-page--account .mk-account-security-field input:autofill:focus,
.mk-page--account .mk-account-security-field input:-webkit-autofill:focus {
  border-color: #4fc7b7;
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(79, 199, 183, 0.15) !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(79, 199, 183, 0.15) !important;
}

.mk-page--account .mk-account-security-current {
  margin: -2px 0 0;
  padding: 0;
  color: #687783;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.mk-page--account .mk-account-security-current strong {
  color: #1f2d38;
  font-weight: 700;
}

.mk-page--account .mk-account-security-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.mk-page--account .mk-account-security-code .mk-btn {
  min-width: 104px;
  min-height: 44px;
  justify-content: center;
  padding: 0 12px;
  white-space: nowrap;
}

.mk-page--account .mk-account-security-message {
  margin: 2px 0 0;
  border-radius: 10px;
  background: rgba(226, 77, 77, 0.09);
  padding: 10px 12px;
  color: #b42323;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.mk-page--account .mk-account-security-message[data-state="success"] {
  background: rgba(79, 199, 183, 0.12);
  color: #2b8d89;
}

.mk-page--account .mk-account-address-form-grid input[type="hidden"] {
  display: none;
}

.mk-page--account .mk-account-address-form-grid__full,
.mk-page--account .mk-account-address-default {
  grid-column: 1 / -1;
}

.mk-page--account .mk-account-address-default {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.mk-page--account .mk-account-address-default input {
  width: 18px;
  height: 18px;
}

.mk-page--account .mk-account-address-modal__actions,
.mk-page--account .mk-account-security-modal__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mk-page--account .mk-account-security-modal__actions {
  display: grid;
  margin-top: 4px;
}

.mk-page--account .mk-account-security-modal__actions .mk-btn {
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
}

.mk-page--account .mk-account-confirm-modal__card {
  width: min(340px, calc(100vw - 32px));
  padding: 28px;
  text-align: center;
}

.mk-page--account .mk-account-confirm-modal__icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: #ffe1e4;
  color: #ff2d3f;
}

.mk-page--account .mk-account-confirm-modal__icon svg {
  width: 22px;
  height: 22px;
}

.mk-page--account .mk-account-confirm-modal h3 {
  margin: 20px 0 10px;
  color: #1f2d38;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.mk-page--account .mk-account-confirm-modal p {
  max-width: 260px;
  margin: 0 auto 26px;
  color: #687783;
  font-size: 14px;
  line-height: 1.55;
}

.mk-page--account .mk-account-confirm-modal__card > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mk-page--account .mk-account-confirm-modal .mk-btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.mk-page--account .mk-account-confirm-modal .mk-btn--ghost {
  border-color: #d9ece9;
  background: #fff;
  color: #1f2d38;
  box-shadow: 0 4px 12px rgba(31, 45, 56, 0.06);
}

.mk-page--account .mk-account-confirm-modal .mk-btn--ghost:hover {
  border-color: rgba(79, 199, 183, 0.45);
  background: #eef9f7;
  color: #2b8d89;
}

.mk-page--account .mk-account-confirm-modal .mk-btn--danger {
  background: #ff2d3f;
  color: #fff;
}

.mk-page--account .mk-account-confirm-modal .mk-btn--danger:hover {
  background: #e11d2e;
}

.mk-btn--danger {
  background: #ef5d5d;
  color: #fff;
}

.mk-btn--danger:hover {
  background: #dc2626;
}

.mk-page--account .mk-order-drawer .mk-drawer__panel {
  width: min(480px, 100%);
  background: #fff;
  box-shadow: -8px 0 40px rgba(36, 109, 116, 0.12);
}

.mk-page--account .mk-order-drawer .mk-drawer__header {
  align-items: center;
  gap: 12px;
  border-bottom-color: #e6f4f2;
  padding: 20px 24px;
}

.mk-page--account .mk-order-drawer .mk-drawer__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef9f7;
  color: #4fc7b7;
}

.mk-page--account .mk-order-drawer .mk-drawer__header h2 {
  color: #1f2d38;
  font-size: 18px;
  font-weight: 900;
}

.mk-page--account .mk-order-drawer .mk-drawer__header p {
  color: #687783;
  font-size: 12px;
}

.mk-page--account .mk-order-drawer .mk-drawer__body {
  display: block;
  padding: 24px;
}

.mk-page--account .mk-order-drawer__status {
  background: #fff;
  padding: 16px 24px;
}

.mk-page--account .mk-order-detail-card {
  border-color: #d9ece9;
  border-radius: 12px;
  padding: 16px;
}

.mk-page--account .mk-order-detail-card.is-soft {
  background: #f6fbfa;
}

.mk-page--account .mk-order-detail-card + .mk-order-detail-card {
  margin-top: 20px;
}

.mk-page--account .mk-order-detail-card h3 {
  margin-bottom: 12px;
  color: #687783;
  font-size: 14px;
}

.mk-page--account .mk-order-product {
  align-items: center;
}

.mk-page--account .mk-order-product__media {
  display: inline-flex;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: rgba(79, 199, 183, 0.45);
}

.mk-page--account .mk-order-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-page--account .mk-order-product__media svg {
  width: 32px;
  height: 32px;
}

.mk-page--account .mk-order-detail-card dl {
  grid-template-columns: 56px minmax(0, 1fr);
}

.mk-page--account .mk-order-detail-card .is-price {
  grid-template-columns: minmax(0, 1fr) auto;
}

.mk-page--account .mk-order-drawer__actions {
  border-top-color: #e6f4f2;
  padding: 16px 24px;
}

.mk-page--account .mk-order-drawer__actions .mk-btn {
  min-height: 42px;
  gap: 8px;
  border-color: #d9ece9;
  color: #687783;
  font-weight: 800;
}

.mk-page--account .mk-order-drawer__actions .mk-btn svg {
  width: 16px;
  height: 16px;
}

/* 账号订单详情抽屉在 HTML 中位于 .mk-page--account 之外，必须用抽屉 ID 直接绑定。
   这样能避免全局 SVG 默认尺寸把底部操作按钮撑成大卡片，稳定复刻 v0 的 480px 紧凑抽屉视觉。 */
#mk-account-order-drawer .mk-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  display: flex;
  width: min(480px, 100%) !important;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
  background: #fff;
  box-shadow: -8px 0 40px rgba(36, 109, 116, 0.12);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.24s ease;
  will-change: transform;
}

#mk-account-order-drawer.is-open .mk-drawer__panel {
  transform: translate3d(0, 0, 0);
}

#mk-account-order-drawer .mk-drawer__header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e6f4f2;
  padding: 20px 24px;
}

#mk-account-order-drawer .mk-drawer__header > div {
  flex: 1 1 auto;
  min-width: 0;
}

#mk-account-order-drawer .mk-drawer__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef9f7;
  color: #4fc7b7;
}

#mk-account-order-drawer .mk-drawer__header h2 {
  color: #1f2d38;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

#mk-account-order-drawer .mk-drawer__header p {
  overflow: hidden;
  margin: 2px 0 0;
  color: #687783;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#mk-account-order-drawer .mk-drawer__header button[data-drawer-close] {
  width: 34px;
  height: 34px;
  background: transparent;
  color: #687783;
  font-size: inherit;
}

#mk-account-order-drawer .mk-order-drawer__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  --mk-order-status-border: #e6f4f2;
  --mk-order-status-bg: #e0f7f4;
  --mk-order-status-color: #2b8d89;
  border-bottom: 1px solid #e6f4f2;
  background: #fff;
  padding: 16px 24px;
}

#mk-account-order-drawer .mk-order-drawer__status.is-pending-payment {
  --mk-order-status-border: rgba(246, 115, 33, 0.2);
  --mk-order-status-bg: rgba(246, 115, 33, 0.1);
  --mk-order-status-color: #e76019;
}

#mk-account-order-drawer .mk-order-drawer__status.is-cancelled {
  --mk-order-status-border: rgba(142, 142, 142, 0.18);
  --mk-order-status-bg: rgba(142, 142, 142, 0.1);
  --mk-order-status-color: #7a7f85;
}

#mk-account-order-drawer .mk-order-drawer__status.is-pending-shipment {
  --mk-order-status-border: rgba(43, 111, 220, 0.16);
  --mk-order-status-bg: rgba(43, 111, 220, 0.1);
  --mk-order-status-color: #2b62cf;
}

#mk-account-order-drawer .mk-order-drawer__status.is-shipping {
  --mk-order-status-border: rgba(214, 164, 28, 0.2);
  --mk-order-status-bg: rgba(255, 216, 107, 0.3);
  --mk-order-status-color: #b58b18;
}

#mk-account-order-drawer .mk-order-drawer__status.is-completed {
  --mk-order-status-border: rgba(43, 141, 137, 0.16);
  --mk-order-status-bg: rgba(79, 199, 183, 0.16);
  --mk-order-status-color: #1e8f8a;
}

#mk-account-order-drawer .mk-order-drawer__status-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

#mk-account-order-drawer .mk-order-drawer__status span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--mk-order-status-border);
  border-radius: 999px;
  background: var(--mk-order-status-bg);
  padding: 7px 12px;
  color: var(--mk-order-status-color);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

#mk-account-order-drawer .mk-order-drawer__payment-countdown {
  color: #687783;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

#mk-account-order-drawer .mk-order-drawer__payment-countdown b {
  color: #2b8d89;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}

#mk-account-order-drawer .mk-order-drawer__status svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

#mk-account-order-drawer .mk-order-drawer__status strong {
  color: #2b8d89;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

#mk-account-order-drawer .mk-drawer__body {
  display: block;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px;
  background: #fff;
}

#mk-account-order-drawer .mk-order-detail-card {
  border: 1px solid #d9ece9;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

#mk-account-order-drawer .mk-order-detail-card.is-soft {
  background: #f6fbfa;
}

#mk-account-order-drawer .mk-order-detail-card + .mk-order-detail-card {
  margin-top: 20px;
}

#mk-account-order-drawer .mk-order-detail-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #687783;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

#mk-account-order-drawer .mk-order-detail-card h3 svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #4fc7b7;
}

#mk-account-order-drawer .mk-order-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

#mk-account-order-drawer .mk-order-product__media {
  display: inline-flex;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  color: rgba(79, 199, 183, 0.45);
}

#mk-account-order-drawer .mk-order-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

#mk-account-order-drawer .mk-order-product__media svg {
  width: 32px;
  height: 32px;
}

#mk-account-order-drawer .mk-order-detail-card dl {
  display: grid;
  gap: 10px 16px;
  grid-template-columns: 56px minmax(0, 1fr);
  margin: 0;
  font-size: 14px;
}

#mk-account-order-drawer .mk-order-detail-card .is-price {
  column-gap: 0;
  grid-template-columns: minmax(0, 1fr) auto;
}

#mk-account-order-drawer .mk-order-detail-card dd {
  text-align: right;
}

#mk-account-order-drawer .mk-order-detail-card .is-price dd {
  text-align: right;
}

#mk-account-order-drawer .mk-order-tracking {
  margin-top: 0;
  margin-bottom: 16px;
}

#mk-account-order-drawer .mk-order-tracking-list {
  margin-top: 0;
}

#mk-account-order-drawer .mk-order-tracking__link {
  color: #2b8d89;
}

#mk-account-order-drawer .mk-order-drawer__actions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #e6f4f2;
  background: #fff;
  padding: 16px 24px;
}

#mk-account-order-drawer .mk-order-drawer__actions .mk-btn {
  display: inline-flex;
  width: 100%;
  min-height: 42px !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-direction: row !important;
  border-color: #d9ece9;
  border-radius: 8px;
  padding: 9px 14px !important;
  color: #687783;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

#mk-account-order-drawer .mk-order-drawer__actions .mk-btn--ghost:hover,
#mk-account-order-drawer .mk-order-drawer__actions .mk-btn--ghost:focus-visible {
  border-color: rgba(79, 199, 183, 0.3);
  background: #eef9f7;
  color: #2b8d89;
}

#mk-account-order-drawer .mk-order-drawer__actions .mk-btn--primary {
  grid-column: 1 / -1;
  min-height: 46px !important;
  border-color: #4fc7b7;
  background: #4fc7b7;
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.25);
}

#mk-account-order-drawer .mk-order-drawer__actions .mk-btn--primary:hover,
#mk-account-order-drawer .mk-order-drawer__actions .mk-btn--primary:focus-visible {
  background: #2b8d89;
}

#mk-account-order-drawer .mk-order-drawer__actions .mk-btn svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex: 0 0 16px;
}

#mk-account-order-drawer .mk-order-feature-modal[hidden] {
  display: none !important;
}

#mk-account-order-drawer .mk-order-feature-modal {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 24px;
}

#mk-account-order-drawer .mk-order-feature-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(31, 45, 56, 0.18);
  backdrop-filter: blur(4px);
}

#mk-account-order-drawer .mk-order-feature-modal__card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(320px, 100%);
  justify-items: center;
  border: 1px solid #d9ece9;
  border-radius: 12px;
  background: #fff;
  padding: 24px 22px 20px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.16);
}

#mk-account-order-drawer .mk-order-feature-modal__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef9f7;
  color: #4fc7b7;
}

#mk-account-order-drawer .mk-order-feature-modal__icon svg {
  width: 24px;
  height: 24px;
}

#mk-account-order-drawer .mk-order-feature-modal__card h3 {
  margin: 14px 0 0;
  color: #1f2d38;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

#mk-account-order-drawer .mk-order-feature-modal__card h3:empty {
  display: none;
}

#mk-account-order-drawer .mk-order-feature-modal__card p {
  display: grid;
  gap: 4px;
  justify-items: center;
  margin: 14px 0 0;
  color: #687783;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

#mk-account-order-drawer .mk-order-feature-modal__card p span,
#mk-account-order-drawer .mk-order-feature-modal__card p strong {
  display: block;
  text-align: center;
}

#mk-account-order-drawer .mk-order-feature-modal__card p span {
  color: #1f2d38;
  font-weight: 900;
}

#mk-account-order-drawer .mk-order-feature-modal__card p strong {
  color: #687783;
  font-size: 16px;
  font-weight: 900;
}

#mk-account-order-drawer .mk-order-feature-modal__card .mk-btn {
  margin-top: 20px;
  min-height: 40px;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 640px) {
  .mk-page--account .mk-account-hero {
    min-height: 184px;
    padding-top: 104px;
    padding-bottom: 28px;
  }

  .mk-page--account .mk-account-hero h1 {
    font-size: 28px;
  }

  .mk-page--account .mk-account-section {
    padding-bottom: 56px;
  }

  .mk-page--account .mk-account-profile-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .mk-page--account .mk-account-logout-form,
  .mk-page--account .mk-account-logout--inline {
    width: 100%;
  }

  .mk-page--account .mk-account-tabs button {
    flex: 0 0 132px;
    padding: 0 12px;
  }

  .mk-page--account .mk-account-panel {
    padding: 20px;
  }

  .mk-page--account .mk-account-panel__head {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .mk-page--account .mk-account-panel__head .mk-btn {
    width: 100%;
  }

  .mk-page--account .mk-account-order {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px;
  }

  .mk-page--account .mk-account-order__icon {
    width: 52px;
    height: 52px;
  }

  .mk-page--account .mk-account-order__amount {
    grid-column: 2;
    font-size: 16px;
  }

  .mk-page--account .mk-account-order__arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .mk-page--account .mk-order-tracking {
    align-items: stretch;
    flex-direction: column;
  }

  .mk-page--account .mk-order-tracking__link {
    width: 100%;
  }

  .mk-page--account .mk-address-card__body {
    gap: 10px;
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .mk-page--account .mk-address-card__icon {
    width: 44px;
    height: 44px;
  }

  .mk-page--account .mk-address-actions {
    align-items: center;
    flex-direction: row;
    grid-column: 2;
    justify-content: flex-start;
    min-width: 0;
    padding-top: 2px;
  }

  .mk-page--account .mk-account-address-modal {
    align-items: end;
    padding: 12px;
  }

  .mk-page--account .mk-account-security-modal {
    align-items: center;
    justify-items: center;
    padding: 16px;
  }

  .mk-page--account .mk-account-confirm-modal {
    align-items: center;
    padding: 16px;
  }

  .mk-page--account .mk-account-address-modal__card,
  .mk-page--account .mk-account-security-modal__card {
    max-height: 90vh;
    border-radius: 14px;
    padding: 18px;
  }

  .mk-page--account .mk-account-security-modal__card {
    width: min(384px, calc(100vw - 32px));
    border-radius: 16px;
    padding: 24px;
  }

  .mk-page--account .mk-account-address-form-grid,
  .mk-page--account .mk-account-address-modal__actions,
  .mk-page--account .mk-account-security-modal__actions,
  .mk-page--account .mk-account-confirm-modal__card > div,
  .mk-page--account .mk-order-drawer__actions {
    grid-template-columns: 1fr;
  }

  .mk-page--account .mk-account-security-code {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mk-page--account .mk-account-security-code .mk-btn {
    width: auto;
  }

  .mk-page--account .mk-order-drawer__actions .mk-btn--primary {
    grid-column: auto;
  }
}

/* 结算页内嵌支付卡片：复用支付页的单卡片视觉，但保留确认订单页的原地三步流程。 */
.mk-checkout-inline-payment-host {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-shell {
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid #d9ece9;
  border-radius: 16px;
  background: #fff;
  padding: 0;
  box-shadow: 0 18px 45px rgba(36, 109, 116, 0.08);
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-methods-title {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #1f2d38;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-methods-title > span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(79, 199, 183, 0.15);
  color: #4fc7b7;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-methods-title svg {
  width: 17px;
  height: 17px;
}

.mk-checkout-page .mk-checkout-inline-payment-host shop-page-payments,
.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-native-action-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  display: block;
  min-width: 0;
  white-space: nowrap !important;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-native-order-block,
.mk-checkout-page .mk-checkout-inline-payment-host .shop-entry__header,
.mk-checkout-page .mk-checkout-inline-payment-host .shop-card__title,
.mk-checkout-page .mk-checkout-inline-payment-host h2:not(.mk-payment-methods-title),
.mk-checkout-page .mk-checkout-inline-payment-host h3:not(.mk-payment-methods-title) {
  display: none !important;
}

.mk-checkout-page .mk-checkout-inline-payment-host .shop-entry,
.mk-checkout-page .mk-checkout-inline-payment-host .shop-card,
.mk-checkout-page .mk-checkout-inline-payment-host [class^="shop-payment"],
.mk-checkout-page .mk-checkout-inline-payment-host [class*=" shop-payment"],
.mk-checkout-page .mk-checkout-inline-payment-host [class^="shop-Payment"],
.mk-checkout-page .mk-checkout-inline-payment-host [class*=" shop-Payment"] {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-real-payment-method,
.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-visual-method {
  position: relative;
  display: flex !important;
  width: 100%;
  min-height: 104px;
  align-items: center;
  gap: 16px;
  margin: 0 0 12px;
  border: 2px solid #d9ece9 !important;
  border-radius: 16px !important;
  background: #fff !important;
  padding: 20px !important;
  color: #1f2d38 !important;
  font-size: 0;
  text-align: left;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-real-payment-method:hover,
.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-visual-method:hover {
  border-color: rgba(79, 199, 183, 0.5) !important;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-real-payment-method.is-selected,
.mk-checkout-page .mk-checkout-inline-payment-host .mk-real-payment-method[aria-checked="true"],
.mk-checkout-page .mk-checkout-inline-payment-host .mk-real-payment-method[aria-selected="true"],
.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-visual-method.is-selected {
  border-color: #4fc7b7 !important;
  background: rgba(79, 199, 183, 0.05) !important;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-real-payment-method input[type="radio"],
.mk-checkout-page .mk-checkout-inline-payment-host .mk-real-payment-method input[type="checkbox"],
.mk-checkout-page .mk-checkout-inline-payment-host .mk-real-payment-method > :not(.mk-payment-method-icon):not(.mk-payment-method-copy):not(.mk-payment-method-check):not(input[type="radio"]):not(input[type="checkbox"]) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.mk-checkout-inline-payment-message {
  margin: 16px 0 0;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 8px;
  background: rgba(254, 242, 242, 0.9);
  padding: 12px 14px;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.mk-checkout-inline-payment-message[data-state="success"] {
  border-color: rgba(79, 199, 183, 0.28);
  background: rgba(224, 247, 244, 0.82);
  color: #2b8d89;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-back-action,
.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-confirm-action,
.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-confirm-control {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 56px !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px !important;
  font-size: 17px;
  font-weight: 900 !important;
  line-height: 1.2;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-back-action {
  border: 1px solid #d9ece9;
  background: #fff;
  color: #687783;
  box-shadow: none;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-back-action:hover {
  background: #f5faf9;
  color: #1f2d38;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-back-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-confirm-action,
.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-confirm-control {
  border-color: #4fc7b7 !important;
  background: #4fc7b7 !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(79, 199, 183, 0.25) !important;
}

.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-confirm-control:disabled,
.mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-confirm-control.is-disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

@media (max-width: 720px) {
  .mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-shell {
    border-radius: var(--mk-radius);
  }

  .mk-checkout-page .mk-checkout-inline-payment-host .mk-real-payment-method,
  .mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-visual-method {
    min-height: 92px;
    gap: 12px;
    border-radius: 12px !important;
    padding: 16px !important;
  }

  .mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-back-action,
  .mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-confirm-action,
  .mk-checkout-page .mk-checkout-inline-payment-host .mk-payment-confirm-control {
    min-height: 52px !important;
    font-size: 16px;
  }
}

/* 正品查询页：参考 MIKAPU 验证页的居中查询入口与结果卡片。 */
.mk-verify-hero { padding: 180px 0 92px; text-align: center; background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(79,199,183,.14), transparent 70%); }
.mk-verify-hero__inner { max-width: 900px; }
.mk-verify-hero h1 { margin: 28px 0 14px; font-size: clamp(36px, 5vw, 62px); font-weight: 900; line-height: 1.15; }
.mk-verify-hero p { max-width: 720px; margin: 0 auto; color: var(--mk-muted); font-size: 17px; line-height: 1.8; }
.mk-verify-form { display: flex; max-width: 760px; margin: 42px auto 0; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--mk-line); border-radius: 12px; background: #fff; box-shadow: var(--mk-shadow); text-align: left; }
.mk-verify-form__icon { padding: 0 2px 0 14px; color: var(--mk-primary-dark); font-size: 25px; }
.mk-verify-form input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; padding: 12px 4px; color: var(--mk-text); font: inherit; font-size: 16px; }
.mk-verify-form input::placeholder { color: #9aa8ae; }
.mk-verify-form .mk-btn { min-width: 132px; border: 0; }
.mk-verify-form__hint { min-height: 24px; margin-top: 12px !important; font-size: 13px !important; }
.mk-verify-form__hint[data-state="error"] { color: var(--mk-danger); }
.mk-verify-form__hint[data-state="loading"] { color: var(--mk-primary-dark); }
.mk-verify-flow { padding: 0 0 40px; }
.mk-verify-flow__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mk-verify-step { display: flex; align-items: center; gap: 18px; border: 1px solid var(--mk-line); border-radius: 12px; background: rgba(255,255,255,.88); padding: 22px; box-shadow: var(--mk-shadow-sm); }
.mk-verify-step strong { color: rgba(79,199,183,.32); font-size: 32px; font-weight: 900; line-height: 1; }
.mk-verify-step b, .mk-verify-step span { display: block; }
.mk-verify-step b { font-size: 16px; }
.mk-verify-step span { margin-top: 4px; color: var(--mk-muted); font-size: 13px; }
.mk-verify-content { padding-top: 60px; }
.mk-verify-result { display: grid; grid-template-columns: minmax(240px, .8fr) 1.2fr; gap: 28px; max-width: 900px; margin: 0 auto; border: 1px solid var(--mk-line); border-radius: 16px; background: #fff; padding: 30px; box-shadow: var(--mk-shadow); }
.mk-verify-result__badge { display: flex; align-items: center; gap: 16px; border-radius: 12px; background: linear-gradient(145deg, var(--mk-primary), #8bdfd3); padding: 26px; color: #fff; }
.mk-verify-result__badge > span { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 30px; font-weight: 900; }
.mk-verify-result__badge b, .mk-verify-result__badge small { display: block; }
.mk-verify-result__badge b { font-size: 24px; }
.mk-verify-result__badge small { margin-top: 6px; opacity: .86; }
.mk-verify-result__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; align-content: center; }
.mk-verify-result__facts div { border-bottom: 1px solid #edf4f3; padding-bottom: 10px; }
.mk-verify-result__facts dt { color: var(--mk-muted); font-size: 13px; }
.mk-verify-result__facts dd { margin: 4px 0 0; font-weight: 800; }
.mk-verify-faq { max-width: 900px; margin: 80px auto 0; }
.mk-verify-faq__list { display: grid; gap: 12px; }
.mk-verify-faq__item { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; border: 1px solid var(--mk-line); border-radius: 12px; background: #fff; padding: 18px 20px; color: var(--mk-text); text-align: left; box-shadow: var(--mk-shadow-sm); font: inherit; }
.mk-verify-faq__item span { display: grid; gap: 4px; }
.mk-verify-faq__item small { color: var(--mk-muted); }
.mk-verify-faq__item i { color: var(--mk-primary-dark); font-size: 24px; font-style: normal; }
.mk-verify-faq__item[aria-expanded="true"] { border-color: rgba(79,199,183,.58); background: var(--mk-soft-2); }
.mk-verify-faq__item[aria-expanded="true"] i { transform: rotate(45deg); }
@media (max-width: 720px) {
  .mk-verify-hero { padding: 136px 0 64px; }
  .mk-verify-form { align-items: stretch; flex-direction: column; padding: 12px; }
  .mk-verify-form__icon { display: none; }
  .mk-verify-form input { width: 100%; padding: 12px 10px; }
  .mk-verify-form .mk-btn { width: 100%; }
  .mk-verify-flow__grid, .mk-verify-result { grid-template-columns: 1fr; }
  .mk-verify-step { padding: 18px; }
  .mk-verify-result { padding: 18px; }
  .mk-verify-result__facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .mk-verify-result__facts { grid-template-columns: 1fr; } }
