:root {
  color-scheme: light;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
  background: #f4f7f8;
  color: #17202a;
  --ink: #17202a;
  --muted: #5f6f7a;
  --line: #dfe7ea;
  --soft: #edf4f2;
  --teal: #0b7568;
  --teal-dark: #07584f;
  --gold: #d99a2b;
  --rose: #b3475f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(11, 117, 104, 0.12), transparent 34%),
    linear-gradient(210deg, rgba(217, 154, 43, 0.12), transparent 28%),
    #f4f7f8;
  color: var(--ink);
}

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(223, 231, 234, 0.86);
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(244, 247, 248, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
.logo-lockup {
  display: flex;
  min-width: 0;
  flex: 1 1 560px;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.brand-image {
  display: block;
  width: clamp(240px, 27vw, 330px);
  height: 78px;
  border-radius: 8px;
  object-fit: contain;
  object-position: left center;
}

.site-domain {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 34px;
  border: 1px solid rgba(11, 117, 104, 0.18);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.site-slogan {
  display: inline-block;
  margin-left: 5em;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.brand strong {
  display: block;
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.18);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.brand-mark svg circle {
  fill: var(--gold);
  stroke: none;
}

.brand-mark.large {
  width: 58px;
  height: 58px;
}

.brand-mark.large svg {
  width: 42px;
  height: 42px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  min-height: 38px;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--soft);
  color: var(--ink);
}

.nav-links .nav-cta,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.nav-links .nav-cta:hover,
.primary-link:hover,
.nav-links .nav-cta:focus-visible,
.primary-link:focus-visible {
  background: var(--teal-dark);
  color: #fff;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}


.site-account,
.auth-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-account [hidden] {
  display: none;
}

.auth-links > a:not(.nav-cta) {
  min-height: 38px;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.auth-links > a:not(.nav-cta):hover,
.auth-links > a:not(.nav-cta):focus-visible {
  background: var(--soft);
  color: var(--ink);
}

.auth-links .nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}

.auth-links .nav-cta:hover,
.auth-links .nav-cta:focus-visible {
  background: var(--teal-dark);
  color: #fff;
}

.account-menu {
  position: relative;
}

.account-menu summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
}

.account-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 12;
  display: grid;
  width: 168px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 32, 42, 0.16);
}

.account-dropdown a,
.account-dropdown button {
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.account-dropdown button {
  border-bottom: 0;
}

.account-dropdown a:hover,
.account-dropdown a:focus-visible,
.account-dropdown button:hover,
.account-dropdown button:focus-visible {
  background: var(--soft);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 26px;
  width: min(1180px, calc(100% - 36px));
  margin: 30px auto 44px;
}

.store-shell {
  display: grid;
  gap: 18px;
  width: min(1220px, calc(100% - 36px));
  margin: 28px auto 44px;
}

.profile-panel {
  display: grid;
  align-content: start;
  gap: 16px;
}

.profile-card,
.side-section,
.section-block,
.hero,
.store-hero,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(23, 32, 42, 0.07);
}

.profile-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile-card h1 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.1;
}

.profile-copy {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.domain-box {
  display: grid;
  gap: 6px;
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  background: #fff8ea;
}

.domain-box span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.domain-box strong {
  overflow-wrap: anywhere;
}

.side-section {
  padding: 18px;
}

.side-section h2,
.section-heading h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

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

.tag-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.content-panel {
  display: grid;
  gap: 18px;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 22px;
  align-items: end;
  padding: clamp(24px, 5vw, 42px);
}

.store-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.store-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.store-status {
  display: grid;
  gap: 8px;
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
  background: #fff8ea;
}

.store-status span,
.store-status small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.store-status strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.hero {
  padding: clamp(24px, 5vw, 46px);
}

.hero h2 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.section-block {
  padding: clamp(20px, 4vw, 30px);
}

.section-heading {
  margin-bottom: 18px;
}

.product-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.product-section {
  overflow: visible;
}

.inventory-count {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

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

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

.product-showcase {
  display: block;
}

.product-scroller {
  overflow: visible;
  padding-bottom: 2px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card.has-notice {
  grid-template-rows: auto auto 1fr auto;
}

.product-notice {
  overflow: hidden;
  border-bottom: 1px solid rgba(179, 71, 95, 0.16);
  padding: 7px 0;
  background: #fff7f8;
  color: #d50000;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.product-notice.normal {
  border-bottom-color: rgba(11, 117, 104, 0.16);
  background: #f3fbf8;
  color: var(--teal);
}

.product-notice.warning {
  border-bottom-color: rgba(217, 154, 43, 0.22);
  background: #fff8ea;
  color: #9a5a00;
}

.product-notice.important {
  border-bottom-color: rgba(179, 71, 95, 0.2);
  background: #fff7f8;
  color: #d50000;
}

.product-notice span {
  display: inline-block;
  min-width: 100%;
  padding-left: 12px;
  animation: product-notice-scroll 9s linear infinite;
}

@keyframes product-notice-scroll {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.sold-out-ribbon {
  position: absolute;
  top: 10px;
  right: -34px;
  z-index: 2;
  width: 128px;
  padding: 6px 0;
  background: var(--rose);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 950;
  transform: rotate(36deg);
  box-shadow: 0 10px 22px rgba(179, 71, 95, 0.22);
}

.product-card.has-notice .sold-out-ribbon {
  top: 42px;
}

.product-card.featured {
  border-color: rgba(11, 117, 104, 0.34);
}

.product-media {
  display: grid;
  min-height: 116px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(11, 117, 104, 0.18), rgba(11, 117, 104, 0.04)),
    #edf4f2;
}

.product-media span {
  display: inline-grid;
  min-width: 74px;
  min-height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal);
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(23, 32, 42, 0.1);
}

.product-media span img {
  display: block;
  max-width: 40px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-media.has-logo {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 14px;
  padding: 22px;
  text-align: left;
}

.product-media.has-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  height: 50px;
  min-height: 50px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.product-media.has-logo strong {
  min-width: 0;
  align-self: center;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.claude-media {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: start;
  padding: 22px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(217, 154, 43, 0.2), rgba(11, 117, 104, 0.06)),
    #fbf7ef;
}

.claude-media .claude-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  height: 50px;
  min-height: 50px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.claude-media .claude-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.claude-media strong {
  align-self: center;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.chatgpt-media {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: start;
  padding: 22px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(11, 117, 104, 0.2), rgba(23, 32, 42, 0.05)),
    #edf4f2;
}

.chatgpt-media .chatgpt-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  height: 50px;
  min-height: 50px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.chatgpt-media .chatgpt-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.chatgpt-media strong {
  align-self: center;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
  white-space: nowrap;
}

.product-card:nth-child(2) .chatgpt-media strong,
.product-card:nth-child(3) .chatgpt-media strong {
  font-size: 20px;
}

.gemini-media {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: start;
  padding: 22px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(66, 133, 244, 0.2), rgba(179, 71, 95, 0.06)),
    #f2f6ff;
}

.gemini-media .gemini-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  height: 50px;
  min-height: 50px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.gemini-media .gemini-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.gemini-media strong {
  align-self: center;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.gmail-media {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: start;
  padding: 22px;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(234, 67, 53, 0.16), rgba(66, 133, 244, 0.08)),
    #fff7f5;
}

.gmail-media .gmail-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-width: 64px;
  height: 50px;
  min-height: 50px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.gmail-media .gmail-logo img {
  width: 40px;
  height: 31px;
  object-fit: contain;
}

.gmail-media strong {
  align-self: center;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.product-media.accent-gold {
  background:
    linear-gradient(135deg, rgba(217, 154, 43, 0.22), rgba(217, 154, 43, 0.05)),
    #fff8ea;
}

.product-media.accent-gold span {
  color: #9a650e;
}

.product-media.accent-rose {
  background:
    linear-gradient(135deg, rgba(179, 71, 95, 0.18), rgba(179, 71, 95, 0.04)),
    #fff5f7;
}

.product-media.accent-rose span {
  color: var(--rose);
}

.product-media.accent-blue {
  background:
    linear-gradient(135deg, rgba(48, 99, 142, 0.18), rgba(48, 99, 142, 0.04)),
    #f1f7fb;
}

.product-media.accent-blue span {
  color: #30638e;
}

.product-media.accent-green {
  background:
    linear-gradient(135deg, rgba(70, 132, 82, 0.18), rgba(70, 132, 82, 0.04)),
    #f1f8f0;
}

.product-media.accent-green span {
  color: #468452;
}

.product-media.accent-slate {
  background:
    linear-gradient(135deg, rgba(23, 32, 42, 0.16), rgba(23, 32, 42, 0.04)),
    #f3f5f6;
}

.product-media.accent-slate span {
  color: var(--ink);
}

.product-body {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px 18px 14px;
}

.product-category {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
}

.product-body h3 {
  margin-bottom: 0;
  font-size: 22px;
}

.product-body p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-marketing-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.product-marketing-benefits span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 8px;
  white-space: nowrap;
}

.product-marketing-benefits .discount {
  border-color: rgba(213, 0, 0, 0.15);
  background: #fff3f2;
  color: #b81c24;
}

.product-marketing-benefits .commission {
  border-color: rgba(11, 117, 104, 0.18);
  background: #eef8f5;
  color: var(--teal-dark);
}

.product-marketing-benefits .repeat {
  border-color: rgba(230, 43, 30, 0.24);
  background: #fff0e8;
  color: #c73318;
}

.product-marketing-benefits strong {
  font-size: 15px;
  line-height: 1;
}

.product-marketing-benefits .discount strong {
  color: #e62b1e;
}

.product-marketing-benefits .commission strong {
  color: #08705f;
}

.product-marketing-benefits .repeat strong {
  color: #e62b1e;
}

.product-points {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-points li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-points li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "•";
  font-weight: 900;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 14px 18px;
}

.product-foot strong {
  color: var(--ink);
}

.price-block {
  display: grid;
  gap: 2px;
}

.price-block strong {
  color: var(--rose);
  font-size: 24px;
  line-height: 1;
}

.price-block span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.price-block .stock-label {
  color: var(--teal);
}

.price-block .repeat-price-hint {
  width: fit-content;
  border-radius: 8px;
  padding: 5px 8px;
  background: #fff0e8;
  color: #c73318;
  font-size: 12px;
  font-weight: 950;
}

.price-block .stock-label.sold-out {
  color: var(--rose);
}

.price-block .original-price {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.price-block .original-price::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  height: 1px;
  background: color-mix(in srgb, var(--muted) 55%, transparent);
  transform: rotate(-18deg);
  transform-origin: center;
}

.product-foot > button,
.purchase-button {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.product-foot > button:disabled {
  background: var(--soft);
  color: var(--muted);
}

.purchase-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.purchase-button {
  order: 2;
}

.quantity-control {
  order: 1;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 28px 30px 28px;
  align-items: center;
  min-height: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quantity-button {
  width: 28px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
}

.quantity-button:hover,
.quantity-button:focus-visible {
  background: var(--soft);
}

.payment-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 32, 42, 0.48);
}

.phone-overlay,
.checkout-overlay,
.return-overlay,
.invoice-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 32, 42, 0.54);
}

.phone-panel,
.checkout-status,
.return-panel,
.invoice-panel {
  position: relative;
  width: min(100%, 420px);
  border: 1px solid rgba(223, 231, 234, 0.92);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(23, 32, 42, 0.24);
}

.phone-note {
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.phone-field {
  display: grid;
  gap: 8px;
}

.phone-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.phone-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  outline: none;
}

.phone-field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(30, 112, 102, 0.12);
}

.phone-error {
  margin: 9px 0 0;
  color: #b42318;
  font-size: 13px;
  font-weight: 800;
}

.phone-submit {
  width: 100%;
  margin-top: 16px;
}

.checkout-status {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  min-width: min(100%, 300px);
}

.checkout-status strong {
  color: var(--ink);
  font-size: 15px;
}

.return-panel {
  width: min(100%, 520px);
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.invoice-panel {
  width: min(100%, 560px);
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.invoice-rule {
  margin: 12px 0;
  border: 1px solid rgba(11, 117, 104, 0.18);
  border-radius: 8px;
  padding: 10px;
  background: #f8fbfb;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.invoice-rule strong {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-weight: 950;
}

.invoice-rule ul {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-left: 18px;
}

.invoice-rule p {
  margin: 8px 0 0;
}

.invoice-field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.return-summary {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.return-summary div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--soft);
}

.return-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.return-summary dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  word-break: break-all;
}

.return-note {
  margin: 12px 0 0;
  color: #b42318;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.6;
}

.return-action {
  width: 100%;
  margin-top: 16px;
}

.support-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 8px;
  padding: 0 12px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.order-empty .support-action-link {
  margin: 8px 0 0;
  vertical-align: middle;
}

.return-panel > .support-action-link {
  width: 100%;
  margin-top: 12px;
}

.support-action-link:hover,
.support-action-link:focus-visible {
  background: var(--teal-dark);
  color: #fff;
}

.return-delivery .delivery-message {
  max-height: 300px;
}

.checkout-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(30, 112, 102, 0.18);
  border-top-color: var(--teal);
  border-radius: 999px;
  animation: checkout-spin 0.7s linear infinite;
}

@keyframes checkout-spin {
  to {
    transform: rotate(360deg);
  }
}

.payment-panel {
  position: relative;
  width: min(100%, 480px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid rgba(223, 231, 234, 0.92);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(23, 32, 42, 0.24);
}

.payment-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.payment-head {
  display: grid;
  gap: 6px;
  padding-right: 42px;
}

.payment-head span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.payment-head strong {
  font-size: 20px;
  line-height: 1.25;
}

.payment-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.payment-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.payment-summary dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.payment-summary dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.payment-qr {
  display: block;
  width: min(100%, 280px);
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.payment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.payment-link.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal);
}

.payment-phrase {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.payment-phrase span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.payment-phrase pre,
.payment-delivery {
  overflow: auto;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbfb;
  white-space: pre-wrap;
  word-break: break-word;
  font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.payment-delivery a,
.delivery-message a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.payment-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.quantity-value {
  color: var(--ink);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.risk-section {
  display: grid;
  gap: 9px;
  padding: clamp(12px, 2.4vw, 18px);
}

.risk-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.risk-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #fff8ea;
  color: #9a650e;
  font-size: 16px;
  font-weight: 900;
}

.risk-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.risk-list article,
.disclaimer-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: #fff;
}

.risk-list h3 {
  display: inline;
  margin: 0;
  font-size: 14px;
}

.risk-list h3::after {
  content: "：";
}

.disclaimer-box h3 {
  margin-bottom: 4px;
  font-size: 14px;
}

.disclaimer-box p,
.risk-confirm {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.risk-list p {
  display: inline;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.risk-confirm {
  border-left: 3px solid var(--gold);
  padding: 7px 9px;
  background: #fff8ea;
  color: var(--ink);
  font-weight: 800;
}

.flow-section {
  position: sticky;
  top: 106px;
  align-self: start;
  padding: 12px;
}

.order-lookup-section {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.order-page-shell {
  width: min(760px, calc(100% - 36px));
  margin: 28px auto 44px;
}

.tool-page-shell {
  width: min(980px, calc(100% - 36px));
  margin: 28px auto 44px;
}

.support-page-shell {
  width: min(920px, calc(100% - 36px));
  margin: 28px auto 44px;
}

.tutorial-page-shell {
  width: min(880px, calc(100% - 36px));
  margin: 28px auto 44px;
}

.order-page-panel {
  display: grid;
  gap: 18px;
}

.tool-page-panel {
  display: grid;
  gap: 18px;
}

.support-page-panel {
  display: grid;
  gap: 18px;
}

.tutorial-page-panel {
  display: grid;
  gap: 18px;
}

.order-page-panel h1 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.12;
}

.tool-page-panel h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 6vw, 50px);
}

.support-page-panel h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 6vw, 50px);
}

.tutorial-page-panel h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 6vw, 50px);
}

.tutorial-list {
  display: grid;
  gap: 10px;
}

.empty-note {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.tutorial-card {
  display: grid;
  width: min(58%, 520px);
  justify-self: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
}

.tutorial-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
}

.tutorial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tutorial-meta span {
  border: 1px solid rgba(11, 117, 104, 0.16);
  border-radius: 999px;
  padding: 2px 7px;
  background: #f8fbfb;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.tutorial-card strong {
  font-size: 17px;
  line-height: 1.25;
}

.tutorial-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.article-shell {
  width: min(760px, calc(100% - 36px));
  margin: 28px auto 44px;
}

.article-panel {
  display: grid;
  gap: 14px;
}

.article-panel h1 {
  margin-bottom: 0;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
}

.article-panel h2 {
  margin: 8px 0 0;
  font-size: 20px;
}

.article-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.article-panel .article-lead {
  color: var(--ink);
  font-size: 17px;
}

.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
}

.migrated-article section {
  display: grid;
  gap: 12px;
}

.migrated-article ul,
.migrated-article ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
}

.migrated-article li + li {
  margin-top: 4px;
}

.migrated-article img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.migrated-article a {
  color: var(--teal);
  font-weight: 800;
}

.migrated-article pre,
.migrated-article code {
  white-space: pre-wrap;
  word-break: break-word;
}

.migrated-article pre {
  overflow: auto;
  border-radius: 8px;
  padding: 12px;
  background: #17202a;
  color: #fff;
}

.migrated-article table {
  width: 100%;
  border-collapse: collapse;
}

.migrated-article th,
.migrated-article td {
  border: 1px solid var(--line);
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.migrated-article blockquote {
  margin: 0;
  border-left: 3px solid var(--teal);
  padding: 8px 12px;
  background: #f8fbfb;
  color: var(--muted);
}

.ip-tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ip-tool-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  width: min(42%, 380px);
  gap: 4px 10px;
  min-height: 96px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  justify-self: center;
  padding: 12px;
  background: #fff;
}

.ip-tool-card span {
  display: inline-grid;
  width: 52px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
}

.ip-tool-card strong {
  align-self: center;
  font-size: 17px;
  line-height: 1.2;
}

.ip-tool-card p,
.tool-note p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.ip-tool-card p {
  grid-column: 2;
  font-size: 13px;
}

.tool-note {
  border: 1px solid rgba(11, 117, 104, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: #f8fbfb;
}

.tool-note h2 {
  margin-bottom: 6px;
  font-size: 18px;
}

.support-note {
  margin: 0;
  border: 1px solid rgba(11, 117, 104, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: #f8fbfb;
  color: var(--muted);
  line-height: 1.7;
}

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

.support-contact-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.support-contact-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
}

.support-contact-card strong {
  display: block;
  min-height: 28px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
  word-break: break-word;
}

.support-qr,
.support-qr-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
}

.support-qr {
  display: block;
  object-fit: contain;
}

.support-qr-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.support-faq-section {
  display: grid;
  gap: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.support-faq-head {
  display: grid;
  gap: 6px;
}

.support-faq-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.support-faq-head p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.support-faq-list {
  display: grid;
  gap: 10px;
}

.support-faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.support-faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 6px 12px;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.support-faq-item summary::-webkit-details-marker {
  display: none;
}

.support-faq-item summary::after {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--teal);
  content: "+";
  font-weight: 950;
}

.support-faq-item[open] summary::after {
  content: "-";
}

.support-faq-item summary span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
}

.support-faq-item summary strong {
  grid-column: 1;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.support-faq-item p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 13px 16px 15px;
  background: #f8fbfb;
  color: var(--muted);
  line-height: 1.75;
}

.order-query-form {
  display: grid;
  gap: 10px;
}

.order-query-form-wide {
  grid-template-columns: minmax(0, 1fr) 118px;
}

.order-query-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  outline: none;
}

.order-query-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 117, 104, 0.1);
}

.order-query-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.order-query-form button:hover,
.order-query-form button:focus-visible {
  background: var(--teal-dark);
}

.invoice-entry-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff8ea;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.invoice-entry-note strong {
  color: var(--ink);
  font-weight: 950;
}

.invoice-page-info {
  display: grid;
  gap: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.invoice-info-head {
  display: grid;
  gap: 6px;
}

.invoice-info-head span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.invoice-page-info h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.invoice-info-head p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.invoice-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.invoice-info-grid div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 82px;
  border: 1px solid rgba(223, 231, 234, 0.92);
  border-radius: 8px;
  padding: 12px 14px;
  background: #f8fbfb;
}

.invoice-info-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.invoice-info-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.45;
  word-break: break-word;
}

.order-query-result {
  display: grid;
  gap: 8px;
}

.order-result-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: #fff;
}

.order-result-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}

.order-result-head strong {
  font-size: 13px;
}

.order-page-panel .order-result-head strong {
  font-size: 16px;
}

.order-result-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 2px 7px;
  background: var(--soft);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.order-result-card dl {
  display: grid;
  gap: 4px;
  margin: 0;
}

.order-result-card dl div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 6px;
}

.order-result-card dt,
.order-empty {
  color: var(--muted);
  font-size: 11px;
}

.order-page-panel .order-result-card dt,
.order-page-panel .order-empty,
.order-page-panel .order-result-card dd {
  font-size: 13px;
}

.order-result-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  word-break: break-all;
}

.delivery-copy-block {
  display: grid;
  gap: 8px;
}

.order-card-actions,
.return-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.order-card-actions .support-action-link,
.return-actions .support-action-link {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.delivery-copy-button {
  justify-self: start;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.invoice-button {
  justify-self: start;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.invoice-button-primary {
  box-shadow: 0 8px 18px rgba(217, 154, 43, 0.18);
}

.delivery-copy-button:hover,
.delivery-copy-button:focus-visible {
  background: #075f55;
}

.invoice-button:hover,
.invoice-button:focus-visible {
  background: #bd8121;
}

.delivery-message {
  max-height: 220px;
  overflow: auto;
  margin: 0;
  border-radius: 8px;
  padding: 8px;
  background: #f8fbfb;
  color: var(--ink);
  font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-all;
}

.order-page-panel .delivery-message {
  max-height: 360px;
  font-size: 13px;
}

.order-empty {
  margin: 0;
  line-height: 1.55;
}

.resource-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.card-icon {
  display: inline-grid;
  width: 50px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--teal);
  font-weight: 900;
}

.resource-card h3,
.steps h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.resource-card p,
.steps p,
.split-block p,
.principle-list span {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.resource-card a {
  align-self: end;
  color: var(--teal);
  font-weight: 900;
}

.split-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: 24px;
  align-items: start;
}

.store-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-panel {
  padding: clamp(20px, 4vw, 28px);
}

.info-panel h2 {
  margin-bottom: 14px;
  font-size: 22px;
}

.principle-list {
  display: grid;
  gap: 10px;
}

.principle-list div {
  display: grid;
  gap: 5px;
  border-left: 4px solid var(--rose);
  padding: 12px 14px;
  background: #fff5f7;
}

.principle-list strong {
  font-size: 18px;
}

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

.flow-section .steps {
  grid-template-columns: 1fr;
  gap: 7px;
}

.steps article {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.flow-section .steps article {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 3px 7px;
  align-items: start;
  padding: 9px;
}

.steps span {
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
}

.flow-section .steps span {
  grid-row: span 2;
  font-size: 18px;
  line-height: 1;
}

.flow-section .steps h3 {
  font-size: 14px;
}

.flow-section .steps p {
  font-size: 11px;
  line-height: 1.45;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--teal);
  font-size: 14px;
}

td {
  color: var(--muted);
  line-height: 1.6;
}

td:first-child {
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px 18px 34px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.beian-link {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(11, 117, 104, 0.24);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(11, 117, 104, 0.08);
  color: var(--teal-dark);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(11, 117, 104, 0.08);
}

.beian-link span {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  border-radius: 999px;
  padding: 0 7px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.beian-link:hover {
  border-color: rgba(11, 117, 104, 0.42);
  background: rgba(11, 117, 104, 0.13);
  color: var(--teal-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.beian-link:focus-visible {
  outline: 3px solid rgba(11, 117, 104, 0.22);
  outline-offset: 2px;
}


.hidden {
  display: none !important;
}

.member-auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 460px);
  gap: clamp(18px, 4vw, 52px);
  width: min(1080px, calc(100% - 36px));
  min-height: calc(100vh - 138px);
  align-items: center;
  margin: 24px auto 44px;
}

.member-auth-intro {
  max-width: 560px;
}

.member-auth-intro h1 {
  margin-bottom: 14px;
  font-size: 46px;
  line-height: 1.12;
}

.member-auth-intro p:last-child {
  max-width: 510px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.member-auth-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 52px rgba(23, 32, 42, 0.1);
}

.member-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  border-radius: 8px;
  padding: 5px;
  background: #edf1f3;
}

.member-auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
  cursor: pointer;
}

.member-auth-tabs button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(23, 32, 42, 0.09);
}

.member-auth-form {
  display: grid;
  gap: 13px;
}


.member-auth-note {
  border: 1px solid rgba(11, 117, 104, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--soft);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 850;
}

.member-auth-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.member-auth-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.member-auth-form input:focus {
  outline: none;
  border-color: rgba(11, 117, 104, 0.5);
  box-shadow: 0 0 0 3px rgba(11, 117, 104, 0.11);
}

.member-auth-form button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  margin-top: 4px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.member-auth-form button:disabled {
  cursor: wait;
  background: #91aaa6;
}

.member-auth-message {
  margin: 14px 0 0;
  border: 1px solid rgba(179, 71, 95, 0.2);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff1f4;
  color: var(--rose);
  font-size: 13px;
  font-weight: 850;
}

.member-auth-message[data-tone="success"] {
  border-color: rgba(11, 117, 104, 0.22);
  background: var(--soft);
  color: var(--teal-dark);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .page-shell {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 720px);
    margin-top: 18px;
  }

  .store-shell {
    width: min(100% - 28px, 760px);
    margin-top: 18px;
  }

  .member-auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 18px;
  }

  .member-auth-intro h1 {
    font-size: 36px;
  }

  .store-hero,
  .product-showcase,
  .store-info-grid {
    grid-template-columns: 1fr;
  }

  .flow-section {
    position: static;
  }

  .resource-grid,
  .risk-list,
  .split-block,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: 36px;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-image {
    width: min(52vw, 225px);
    height: 69px;
  }

  .site-domain {
    min-height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }

  .site-slogan {
    margin-left: 0;
    font-size: 11px;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero,
  .store-hero,
  .section-block,
  .profile-card,
  .side-section,
  .info-panel {
    padding: 18px;
  }

  .store-hero h1 {
    font-size: 40px;
  }

  .hero h2 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .store-hero p {
    font-size: 16px;
  }

  .product-heading,
  .product-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .inventory-count {
    white-space: normal;
  }

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

  .invoice-info-grid {
    grid-template-columns: 1fr;
  }

  .ip-tool-grid {
    grid-template-columns: 1fr;
  }

  .ip-tool-card {
    grid-template-columns: 58px minmax(0, 1fr);
    width: 100%;
  }

  .support-contact-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-card {
    width: 100%;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    gap: 6px;
  }
}

.product-marketing-benefits {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
}
.product-marketing-benefits::-webkit-scrollbar { display: none; }
.product-marketing-benefits span { flex: 0 0 auto; }
.product-marketing-benefits .repeat {
  border-color: rgba(230, 88, 30, 0.18);
  background: #fff1e8;
  color: #c43b1f;
}
.product-marketing-benefits .repeat strong { color: #e34a24; }
.price-block .repeat-price-hint {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(230, 88, 30, 0.18);
  border-radius: 999px;
  padding: 0 10px;
  background: #fff1e8;
  color: #c43b1f;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(230, 88, 30, 0.08);
}
.price-block .repeat-price-hint::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #e34a24;
  box-shadow: 0 0 0 3px rgba(230, 88, 30, 0.12);
  content: "";
}

.product-marketing-benefits {
  flex-wrap: nowrap;
  overflow: visible;
  gap: clamp(3px, 0.7vw, 6px);
}
.product-marketing-benefits::-webkit-scrollbar { display: none; }
.product-marketing-benefits span {
  min-width: 0;
  flex: 1 1 0;
  justify-content: center;
  gap: 3px;
  padding: 0 clamp(4px, 0.7vw, 8px);
  font-size: clamp(10px, 0.82vw, 12px);
  white-space: nowrap;
}
.product-marketing-benefits strong {
  font-size: clamp(12px, 0.95vw, 15px);
}
@media (max-width: 420px) {
  .product-marketing-benefits { gap: 3px; }
  .product-marketing-benefits span { padding: 0 4px; font-size: 10px; }
  .product-marketing-benefits strong { font-size: 12px; }
}

.product-body { min-width: 0; }
.product-marketing-benefits {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  overflow: visible;
  gap: 4px;
  padding: 1px;
}
.product-marketing-benefits span {
  display: flex;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  gap: 2px;
  padding: 0 3px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 10.5px;
  letter-spacing: 0;
}
.product-marketing-benefits strong {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  font-size: 12px;
  text-overflow: clip;
}
.product-foot {
  position: relative;
  z-index: 1;
}
@media (min-width: 1180px) {
  .product-marketing-benefits span { font-size: 11px; padding: 0 4px; }
  .product-marketing-benefits strong { font-size: 13px; }
}
@media (max-width: 420px) {
  .product-marketing-benefits { gap: 2px; }
  .product-marketing-benefits span { min-height: 24px; padding: 0 2px; font-size: 9.5px; }
  .product-marketing-benefits strong { font-size: 11px; }
}

.product-body .product-marketing-benefits {
  width: calc(100% + 16px);
  max-width: calc(100% + 16px);
  margin-left: -8px;
  margin-right: -8px;
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  padding: 1px 0;
  overflow: visible;
}
.product-body .product-marketing-benefits span {
  flex: 1 1 auto;
  width: auto;
  min-width: max-content;
  justify-content: center;
  padding: 0 4px;
  overflow: visible;
  font-size: 10px;
  line-height: 1;
}
.product-body .product-marketing-benefits strong {
  overflow: visible;
  font-size: 11.5px;
}
@media (min-width: 1120px) {
  .product-body .product-marketing-benefits {
    width: calc(100% + 24px);
    max-width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
    gap: 4px;
  }
  .product-body .product-marketing-benefits span { padding: 0 5px; font-size: 10.5px; }
  .product-body .product-marketing-benefits strong { font-size: 12px; }
}
@media (max-width: 420px) {
  .product-body .product-marketing-benefits {
    width: calc(100% + 20px);
    max-width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
    gap: 2px;
  }
  .product-body .product-marketing-benefits span { padding: 0 2px; font-size: 9px; }
  .product-body .product-marketing-benefits strong { font-size: 10.5px; }
}

.product-foot .repeat-price-hint {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 30px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 88, 30, 0.24);
  border-radius: 999px;
  padding: 0 12px;
  background: linear-gradient(135deg, #fff6ed, #ffe4d8);
  color: #c43b1f;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(230, 88, 30, 0.14);
}
.product-foot .repeat-price-hint::before,
.product-foot .repeat-price-hint::after {
  position: absolute;
  z-index: -1;
  color: #f16a2f;
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(230, 88, 30, 0.22);
  content: "✦";
}
.product-foot .repeat-price-hint::before { top: -8px; left: 10px; }
.product-foot .repeat-price-hint::after { right: 9px; bottom: -7px; content: "✧"; }
@media (max-width: 640px) {
  .product-foot .repeat-price-hint { order: 2; min-height: 28px; padding: 0 10px; font-size: 11px; }
  .product-foot .purchase-actions { order: 3; }
}

.product-foot {
  display: grid;
  grid-template-columns: minmax(86px, auto) minmax(70px, max-content) minmax(126px, auto);
  align-items: center;
  gap: 10px;
}
.product-foot .price-block { min-width: 0; }
.product-foot .repeat-price-hint {
  min-width: 70px;
  max-width: 86px;
  min-height: 38px;
  padding: 4px 9px;
  text-align: center;
  white-space: normal;
  line-height: 1.18;
}
.product-foot .purchase-actions {
  min-width: 126px;
  justify-self: end;
}
@media (max-width: 640px) {
  .product-foot {
    grid-template-columns: minmax(82px, auto) minmax(68px, max-content);
  }
  .product-foot .purchase-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }
  .product-foot .repeat-price-hint {
    justify-self: end;
  }
}

/* Product card layout fix: keep benefit labels readable and purchase controls visible. */
.product-body .product-marketing-benefits {
  display: flex;
  flex-wrap: nowrap;
  width: calc(100% + 24px);
  max-width: calc(100% + 24px);
  margin-left: -12px;
  margin-right: -12px;
  gap: 3px;
  overflow: visible;
}
.product-body .product-marketing-benefits span {
  flex: 1 1 auto;
  min-width: max-content;
  width: auto;
  justify-content: center;
  padding: 0 4px;
  overflow: visible;
  white-space: nowrap;
  font-size: 10.5px;
  letter-spacing: 0;
}
.product-body .product-marketing-benefits strong {
  overflow: visible;
  font-size: 12px;
}
.product-foot {
  display: grid;
  grid-template-columns: minmax(86px, max-content) max-content minmax(132px, auto);
  justify-content: space-between;
  align-items: center;
  column-gap: 8px;
}
.product-foot .price-block {
  min-width: 86px;
  justify-self: start;
}
.product-foot .repeat-price-hint {
  justify-self: start;
  min-width: 64px;
  max-width: 82px;
  margin-left: -4px;
  padding: 4px 8px;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}
.product-foot .purchase-actions {
  min-width: 132px;
  justify-self: end;
  flex-wrap: nowrap;
}
.purchase-button,
.product-foot .purchase-button {
  min-width: 58px;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  justify-content: center;
}
@media (max-width: 520px) {
  .product-body .product-marketing-benefits {
    width: calc(100% + 20px);
    max-width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
    gap: 2px;
  }
  .product-body .product-marketing-benefits span { padding: 0 2px; font-size: 9px; }
  .product-body .product-marketing-benefits strong { font-size: 10.5px; }
  .product-foot {
    grid-template-columns: minmax(82px, max-content) max-content;
    row-gap: 10px;
  }
  .product-foot .purchase-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }
  .product-foot .repeat-price-hint { justify-self: end; margin-left: 0; }
}


/* Product card repeat discount restored to top benefits row. */
.product-body .product-marketing-benefits {
  display: flex;
  flex-wrap: nowrap;
  width: calc(100% + 28px);
  max-width: calc(100% + 28px);
  margin: 10px -14px 8px;
  gap: 4px;
  overflow: visible;
}
.product-body .product-marketing-benefits span {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  min-height: 28px;
  box-sizing: border-box;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  padding: 0 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
  overflow: visible;
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0;
}
.product-body .product-marketing-benefits strong {
  display: inline;
  flex: 0 0 auto;
  min-width: 0;
  overflow: visible;
  font-size: 10.5px;
  line-height: 1;
}
.product-body .product-marketing-benefits .discount { border-color: rgba(245, 158, 11, 0.38); }
.product-body .product-marketing-benefits .repeat { border-color: rgba(227, 74, 36, 0.42); }
.product-body .product-marketing-benefits .commission { border-color: rgba(37, 99, 235, 0.34); }
.product-foot {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(132px, max-content);
  justify-content: space-between;
  align-items: center;
  column-gap: 10px;
}
.product-foot .price-block {
  min-width: 0;
  justify-self: start;
}
.product-foot .repeat-price-hint {
  display: none !important;
}
.product-foot .purchase-actions {
  min-width: 132px;
  justify-self: end;
  flex-wrap: nowrap;
}
.product-foot .purchase-button,
.purchase-button {
  min-width: 58px;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  justify-content: center;
}
@media (max-width: 520px) {
  .product-body .product-marketing-benefits {
    width: calc(100% + 32px);
    max-width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    gap: 2px;
  }
  .product-body .product-marketing-benefits span {
    min-height: 26px;
    padding: 0 2px;
    font-size: 8.8px;
  }
  .product-body .product-marketing-benefits strong { font-size: 9.8px; }
  .product-foot {
    grid-template-columns: minmax(82px, auto) minmax(128px, max-content);
    column-gap: 6px;
  }
  .product-foot .purchase-actions { min-width: 128px; }
}


.product-card-link {
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card-link:hover,
.product-card-link:focus-visible {
  border-color: rgba(11, 117, 104, 0.42);
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.card-detail-actions {
  display: grid;
  grid-template-columns: minmax(82px, 0.9fr) minmax(92px, 1fr);
  gap: 8px;
  width: 100%;
}

.card-detail-actions .purchase-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.detail-link-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.product-detail-shell {
  display: grid;
  gap: 18px;
  width: min(1120px, calc(100% - 36px));
  margin: 24px auto 88px;
}

.back-to-store {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.detail-loading {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: 20px;
  align-items: stretch;
}

.detail-media {
  min-height: 360px;
  border-radius: 8px;
}

.detail-media.has-logo span {
  width: 92px;
  min-width: 92px;
  height: 74px;
}

.detail-media.has-logo span img {
  max-width: 64px;
  max-height: 64px;
}

.detail-media.has-logo strong,
.detail-media strong {
  font-size: clamp(28px, 4vw, 42px);
  white-space: normal;
}

.detail-buy-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 30px);
  background: #fff;
}

.detail-buy-panel h1 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.detail-buy-panel > p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.detail-notice {
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff7f8;
  color: #d50000;
  font-size: 14px;
  font-weight: 950;
}

.detail-notice.normal {
  background: #f3fbf8;
  color: var(--teal);
}

.detail-notice.warning {
  background: #fff8ea;
  color: #9a5a00;
}

.detail-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.detail-price-line strong {
  color: #d50000;
  font-size: 42px;
  line-height: 1;
}

.detail-price-line span {
  color: var(--muted);
  font-size: 15px;
  text-decoration: line-through;
}

.detail-price-line em {
  border-radius: 8px;
  padding: 5px 8px;
  background: var(--soft);
  color: var(--teal);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.detail-quantity {
  display: inline-grid;
  grid-template-columns: 42px 58px 42px;
  width: fit-content;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-quantity button,
.detail-quantity span {
  display: grid;
  min-height: 40px;
  place-items: center;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 950;
}

.detail-quantity button {
  cursor: pointer;
}

.detail-quantity button:disabled {
  cursor: not-allowed;
  color: #9ca7ad;
  background: #f3f5f6;
}

.detail-quantity button:hover,
.detail-quantity button:focus-visible {
  background: var(--soft);
}

.pay-amount-box {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 1px solid rgba(11, 117, 104, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: #f7fcfa;
}

.pay-amount-box div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pay-amount-box dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.pay-amount-box dd {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
}

.pay-amount-box .amount-total {
  border-top: 1px solid rgba(11, 117, 104, 0.16);
  padding-top: 10px;
}

.pay-amount-box .amount-total dt,
.pay-amount-box .amount-total dd {
  color: #d50000;
  font-size: 20px;
}

.detail-buy-button,
.sticky-buy-bar button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  background: #d50000;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(213, 0, 0, 0.22);
}

.detail-buy-button:hover,
.detail-buy-button:focus-visible,
.sticky-buy-bar button:hover,
.sticky-buy-bar button:focus-visible {
  background: #b90000;
}

.detail-buy-button:disabled,
.sticky-buy-bar button:disabled {
  cursor: not-allowed;
  background: #9ca7ad;
  box-shadow: none;
}

.detail-pay-note,
.muted-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.detail-block {
  display: grid;
  gap: 12px;
}

.detail-block h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.detail-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.detail-two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.support-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.support-contact-grid div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.support-contact-grid span,
.support-qr-grid figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.support-contact-grid strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.support-qr-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.support-qr-grid figure {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.support-qr-grid img {
  display: block;
  width: 132px;
  height: 132px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.related-card {
  display: grid;
  gap: 8px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.related-card strong {
  font-size: 16px;
}

.related-card span {
  color: #d50000;
  font-size: 20px;
  font-weight: 950;
}

.related-card small {
  color: var(--muted);
  line-height: 1.55;
}

.sticky-buy-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 9;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(223, 231, 234, 0.9);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(23, 32, 42, 0.16);
  backdrop-filter: blur(12px);
}

.sticky-buy-bar span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.sticky-buy-bar strong {
  color: #d50000;
  font-size: 22px;
}

@media (max-width: 860px) {
  .detail-hero,
  .detail-two-columns,
  .support-contact-grid,
  .related-products {
    grid-template-columns: 1fr;
  }

  .detail-media {
    min-height: 240px;
  }

  .sticky-buy-bar {
    display: flex;
  }

  .product-detail-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 520px) {
  .product-detail-shell {
    width: min(100% - 24px, 1120px);
    margin-top: 16px;
  }

  .detail-price-line strong {
    font-size: 34px;
  }

  .detail-buy-button {
    width: 100%;
  }

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

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

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

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

/* Store product grid final layout: four cards per desktop row, no guide sidebar. */
.product-showcase {
  display: block !important;
}

.product-scroller {
  overflow: visible !important;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  min-width: 0 !important;
}

.product-card .product-foot {
  grid-template-columns: minmax(76px, auto) minmax(150px, max-content) !important;
  column-gap: 8px !important;
}

.product-card .card-detail-actions,
.product-card .purchase-actions.card-detail-actions {
  display: grid !important;
  grid-template-columns: minmax(70px, 1fr) minmax(76px, 1fr) !important;
  min-width: 150px !important;
  gap: 6px !important;
}

.product-card .detail-link-button,
.product-card .card-detail-actions .purchase-button {
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0 8px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

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

@media (max-width: 860px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .product-card .product-foot {
    grid-template-columns: minmax(82px, auto) minmax(150px, max-content) !important;
  }
}

.tutorial-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 154, 43, 0.36);
  border-radius: 8px;
  padding: 0 16px;
  background: #fff8ea;
  color: #9a5a00;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.tutorial-button:hover,
.tutorial-button:focus-visible {
  background: #ffefca;
}

.tutorial-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 15, 22, 0.72);
}

.tutorial-panel {
  position: relative;
  width: min(920px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #05070a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.tutorial-panel iframe,
.tutorial-panel video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  background: #05070a;
}

.tutorial-panel .payment-close {
  top: -14px;
  right: -14px;
  z-index: 2;
}

@media (max-width: 640px) {
  .tutorial-overlay {
    padding: 10px;
  }

  .tutorial-panel .payment-close {
    top: 8px;
    right: 8px;
  }
}


/* Sold-out state, single-line titles, and refreshed product detail UI. */
.product-card.is-sold-out {
  border-color: rgba(179, 71, 95, 0.28);
  background: linear-gradient(180deg, #fff, #fff8f9);
}

.product-card.is-sold-out .product-media {
  filter: saturate(0.72);
}

.product-body h3,
.product-media.has-logo strong,
.chatgpt-media strong,
.claude-media strong,
.gemini-media strong,
.gmail-media strong,
.detail-buy-panel h1,
.detail-media.has-logo strong,
.related-card strong {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  overflow-wrap: normal;
  word-break: keep-all;
}

.product-body h3 {
  line-height: 1.12;
}

.product-media.has-logo strong,
.chatgpt-media strong,
.claude-media strong,
.gemini-media strong,
.gmail-media strong {
  flex: 1 1 auto;
  min-width: 0;
}

.product-card.is-sold-out .detail-link-button {
  border-color: rgba(179, 71, 95, 0.24);
  background: #fff;
  color: var(--rose);
}

.product-card.is-sold-out .purchase-button.disabled {
  background: #f0e5e7;
  color: #9b5a66;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 117, 104, 0.12);
  background: linear-gradient(135deg, rgba(11, 117, 104, 0.07), rgba(255, 255, 255, 0));
}

.detail-hero.is-sold-out {
  border-color: rgba(179, 71, 95, 0.24);
  background: linear-gradient(135deg, rgba(179, 71, 95, 0.08), rgba(255, 255, 255, 0));
}

.detail-hero .detail-media {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.detail-hero.is-sold-out .detail-media {
  filter: saturate(0.78);
}

.detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-status-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: #eef8f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.detail-status-badge.sold-out {
  background: #fff0f2;
  color: var(--rose);
}

.detail-summary {
  max-width: 58ch;
}

.detail-soldout-panel {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(179, 71, 95, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff7f8;
  color: #7f3345;
}

.detail-soldout-panel strong {
  color: var(--rose);
  font-size: 15px;
}

.detail-soldout-panel span {
  color: #7f3345;
  font-size: 13px;
  line-height: 1.6;
}

.detail-price-line {
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.detail-buy-panel .detail-buy-button {
  width: 100%;
}

.detail-block.section-block,
.detail-two-columns .detail-block.section-block {
  border-color: rgba(11, 117, 104, 0.12);
}

.related-card strong {
  line-height: 1.2;
}

@media (max-width: 760px) {
  .detail-meta-row {
    align-items: flex-start;
  }

  .detail-buy-panel h1 {
    line-height: 1.12;
  }

  .detail-price-line strong {
    font-size: 34px;
  }
}


/* Product card stable controls: long titles must not push badges or action buttons. */
.product-card,
.product-card * {
  box-sizing: border-box;
}

.product-card {
  min-width: 0;
}

.product-card .product-media,
.product-card .product-body,
.product-card .product-foot,
.product-card .price-block {
  min-width: 0;
}

.product-card .product-body {
  overflow: hidden;
}

.product-card .product-body h3,
.product-card .product-media.has-logo strong,
.product-card .chatgpt-media strong,
.product-card .claude-media strong,
.product-card .gemini-media strong,
.product-card .gmail-media strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

.product-card .product-body .product-marketing-benefits {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100% !important;
  max-width: 100% !important;
  margin: 8px 0 6px !important;
  gap: 3px !important;
  overflow: visible !important;
}

.product-card .product-body .product-marketing-benefits span {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  gap: 1px !important;
  padding: 0 2px !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

.product-card .product-body .product-marketing-benefits strong {
  flex: 0 0 auto;
  min-width: 0;
  font-size: inherit !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.product-card .product-foot {
  display: grid !important;
  grid-template-columns: minmax(72px, 1fr) 168px !important;
  align-items: center !important;
  column-gap: 8px !important;
}

.product-card .card-detail-actions,
.product-card .purchase-actions.card-detail-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  width: 168px !important;
  min-width: 168px !important;
  max-width: 168px !important;
  gap: 6px !important;
  justify-self: end !important;
}

.product-card .detail-link-button,
.product-card .card-detail-actions .purchase-button {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 38px !important;
  padding: 0 5px !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  letter-spacing: 0 !important;
}

@media (max-width: 560px) {
  .product-card .product-foot {
    grid-template-columns: minmax(72px, 1fr) 168px !important;
  }

  .product-card .card-detail-actions,
  .product-card .purchase-actions.card-detail-actions {
    width: 168px !important;
    min-width: 168px !important;
    max-width: 168px !important;
  }
}


/* Product detail refreshed purchase panel, benefits, and info cards. */
.detail-hero {
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 22px;
}

.detail-buy-panel {
  gap: 12px;
}

.detail-buy-panel h1 {
  line-height: 1.05;
}

.detail-summary {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.detail-benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.detail-benefit-cards div {
  display: grid;
  gap: 4px;
  min-height: 78px;
  border: 1px solid rgba(11, 117, 104, 0.14);
  border-radius: 8px;
  padding: 10px;
  background: #f8fcfb;
}

.detail-benefit-cards span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.detail-benefit-cards strong {
  color: #d50000;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.detail-benefit-cards small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-color: rgba(11, 117, 104, 0.12);
  background: linear-gradient(180deg, #fff, #f9fcfb);
}

.detail-info-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.detail-info-card h2 {
  margin: 0;
  font-size: 21px;
}

.detail-info-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.product-card.is-sold-out .purchase-button.disabled,
.product-card .purchase-button.disabled {
  background: #eef0f2 !important;
  color: #7b858d !important;
  box-shadow: none !important;
}

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

  .detail-media {
    min-height: 260px;
  }

  .detail-benefit-cards,
  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .detail-benefit-cards div {
    min-height: 0;
  }
}


/* Detail UI v3: compact media card, cleaner purchase hierarchy, Alipay action. */
.product-detail-shell {
  gap: 14px;
}

.detail-hero.section-block {
  align-items: start;
  padding: 18px;
}

.detail-media {
  position: sticky;
  top: 86px;
  min-height: 0 !important;
  height: 268px;
  align-self: start;
  border: 1px solid rgba(23, 32, 42, 0.08);
  padding: 24px !important;
  box-shadow: 0 18px 38px rgba(23, 32, 42, 0.08);
}

.detail-media.has-logo {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 12px 14px;
}

.detail-media.has-logo span {
  width: 74px;
  min-width: 74px;
  height: 60px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.08);
}

.detail-media.has-logo span img {
  max-width: 50px;
  max-height: 50px;
}

.detail-media strong {
  min-width: 0;
  font-size: 30px !important;
  line-height: 1.08;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.detail-media small {
  grid-column: 1 / -1;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.detail-hero.is-sold-out .detail-media {
  filter: saturate(0.64);
  background: #f5f6f7;
}

.detail-price-line {
  display: grid;
  grid-template-columns: minmax(0, max-content) auto;
  justify-content: start;
  gap: 10px;
  padding: 10px 0 12px;
}

.detail-price-line strong {
  font-size: 38px;
}

.detail-benefit-cards {
  gap: 6px;
}

.detail-benefit-cards div {
  min-height: 64px;
  padding: 8px;
}

.detail-benefit-cards strong {
  font-size: 18px;
}

.detail-contact-field {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: #f7fbff;
}

.detail-contact-field span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.detail-contact-field em {
  margin-left: 6px;
  color: #d50000;
  font-style: normal;
  font-size: 12px;
}

.detail-contact-field input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(22, 119, 255, 0.22);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  outline: none;
}

.detail-contact-field input:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.detail-contact-field small {
  color: #d50000;
  font-size: 12px;
  font-weight: 850;
}

.detail-buy-button.alipay-buy-button,
.sticky-buy-bar button:not(:disabled) {
  gap: 8px;
  background: #1677ff;
  color: #fff;
  box-shadow: 0 14px 28px rgba(22, 119, 255, 0.22);
}

.detail-buy-button.alipay-buy-button:hover,
.detail-buy-button.alipay-buy-button:focus-visible,
.sticky-buy-bar button:not(:disabled):hover,
.sticky-buy-bar button:not(:disabled):focus-visible {
  background: #0f63d9;
}

.detail-buy-button.alipay-buy-button span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 6px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

.detail-buy-button.alipay-buy-button strong {
  font-size: 18px;
  line-height: 1;
}

.detail-info-grid.section-block {
  padding: 14px;
}

.detail-info-card {
  min-height: 150px;
  padding: 14px;
}

.detail-info-card h2 {
  font-size: 19px;
}

.detail-info-card ul {
  gap: 5px;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .detail-media {
    position: static;
    height: 180px;
    padding: 18px !important;
  }

  .detail-media strong {
    font-size: 24px !important;
  }

  .detail-price-line strong {
    font-size: 32px;
  }
}
