:root {
  --primary: #f9c300;
  --accent: #1f2937;
  --price: #777777;
  --paper: #ffffff;
  --line: #e5e7eb;
  --muted: #6b7280;
  --page: #f3f4f6;
  --danger: #b91c1c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--page);
  color: #4b5563;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 60px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.topbar-inner {
  width: min(1200px, 100%);
  height: 60px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  min-width: 170px;
  height: 40px;
  padding: 5px 12px;
  border: 1px solid rgba(249, 195, 0, 0.36);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(249, 195, 0, 0.16), rgba(255, 255, 255, 0.02));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-logo strong {
  overflow: hidden;
  color: #fdf5cc;
  font-size: 16px;
  line-height: 1.05;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand-logo small {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.main-nav {
  display: flex;
  height: 60px;
  align-items: center;
}

.main-nav a {
  height: 60px;
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  font-size: 14px;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.mobile-menu-button {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 24px;
}

.mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: 260px;
  padding: 20px 0;
  background: #1f2937;
  color: rgba(255, 255, 255, 0.86);
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
}

.drawer-brand {
  padding: 28px 42px 22px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #fdf5cc;
  font-weight: 700;
  text-align: center;
}

.mobile-drawer a {
  display: block;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 22px;
}

.drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.6);
}

.mall-container {
  width: min(1200px, 100%);
  margin: 18px auto 0;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
}

.mall-sidebar {
  position: sticky;
  top: 78px;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.sidebar-title {
  height: 46px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  color: #111827;
  display: flex;
  align-items: center;
  font-weight: 700;
}

.side-nav {
  display: grid;
}

.side-nav button {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-top: 1px solid #f0f2f5;
  border-left: 3px solid transparent;
  background: #fff;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
}

.side-nav button:first-child {
  border-top: 0;
}

.side-nav .nav-icon {
  width: 22px;
  height: 22px;
  border: 1px solid #edf0f2;
  border-radius: 4px;
  background: #f8fafc;
  color: #6b7280;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 12px;
}

.side-nav .nav-icon img,
.prod-icon img,
.mobile-prod-icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

.side-nav button.active,
.side-nav button:hover {
  border-left-color: var(--primary);
  background: #fffbeb;
  color: #111827;
}

.mall-main {
  min-width: 0;
}

.notice-bar {
  margin-bottom: 14px;
  padding: 16px 18px;
  border: 1px solid #ead68c;
  border-radius: 4px;
  background: #fff9df;
  color: #4b5563;
  display: flex;
  gap: 10px;
  line-height: 1.75;
}

.hero-band {
  margin-bottom: 14px;
  padding: 22px 22px 18px;
  border: 1px solid #d8dee7;
  border-radius: 4px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 0.9fr);
  gap: 18px;
  align-items: end;
}

.hero-eyebrow {
  color: #6b7280;
  font-size: 12px;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin: 8px 0 8px;
  color: #111827;
  font-size: 30px;
  line-height: 1.2;
}

.hero-copy p {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-stats div {
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  text-align: center;
}

.hero-stats strong {
  display: block;
  color: #111827;
  font-size: 22px;
}

.hero-stats span {
  color: #6b7280;
  font-size: 12px;
}

.process-band {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.process-band {
  display: none !important;
}

.process-item {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.process-item span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 700;
}

.process-item strong {
  display: block;
  margin-bottom: 4px;
  color: #111827;
  font-size: 14px;
}

.process-item p {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.7;
}

.help-band {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
}

.help-head h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
}

.help-head p {
  margin: 6px 0 0;
  color: #6b7280;
}

.help-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.help-grid article {
  padding: 14px;
  border: 1px solid #edf0f2;
  border-radius: 4px;
  background: #fbfcfe;
}

.help-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
}

.help-grid p {
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
  white-space: pre-line;
}

.help-link {
  width: fit-content;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 4px;
  background: var(--primary);
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.help-link::after {
  content: ">";
  font-size: 12px;
}

.help-link[hidden] {
  display: none;
}

.notice-symbol {
  margin-top: 2px;
  color: #6b7280;
  font-size: 13px;
}

.notice-bar p {
  margin: 0;
  white-space: pre-line;
}

.notice-bar small {
  display: block;
  margin-top: 4px;
  color: #7c6a32;
}

.category-box {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.category-title {
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: #4b5563;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
}

.product-grid-layout {
  display: grid;
  grid-template-columns: minmax(250px, 1.9fr) 110px 110px 110px 110px 92px;
  align-items: center;
  gap: 8px;
}

.product-list-header {
  min-height: 38px;
  padding: 0 16px;
  background: #f8fafc;
  color: #6b7280;
  font-size: 12px;
}

.product-list-header > div:not(:first-child),
.col-mode,
.col-stock,
.col-sales,
.col-price,
.col-action {
  text-align: center;
}

.product-item {
  border-top: 1px solid #f1f5f9;
}

.product-item:first-child {
  border-top: 0;
}

.product-grid-layout:not(.product-list-header) {
  min-height: 60px;
  padding: 8px 16px;
}

.product-item:hover {
  background: #fcfcfd;
}

.col-name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.prod-icon,
.mobile-prod-icon {
  width: 30px;
  height: 30px;
  border: 1px solid #eef2f7;
  border-radius: 4px;
  background: #fff;
  color: #6b7280;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
}

.name-text {
  overflow: hidden;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tag-mode {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  background: #edf7ed;
  color: #23833b;
  font-size: 12px;
  line-height: 18px;
}

.col-stock,
.col-sales {
  color: #666666;
}

.col-stock.sold-out {
  color: var(--danger);
  font-weight: 700;
}

.col-price {
  color: var(--price);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.btn-buy {
  width: 56px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--primary);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 28px;
}

.btn-buy:hover {
  filter: brightness(0.96);
}

.btn-buy:disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}

.btn-buy.disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}

.mobile-products {
  display: none;
}

.mobile-product-card {
  width: calc(100% - 20px);
  margin: 10px auto;
  padding: 12px;
  border: 1px solid #f1f5f9;
  border-radius: 4px;
  background: #fff;
  display: flex;
  gap: 12px;
}

.mobile-product-info {
  min-width: 0;
  flex: 1;
}

.mobile-product-info strong {
  display: block;
  color: #4b5563;
  font-size: 14.5px;
  font-weight: 500;
}

.mobile-product-info p {
  margin: 5px 0 7px;
  color: #8b95a1;
  font-size: 12px;
  line-height: 1.45;
}

.mobile-meta,
.mobile-buy-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-meta {
  color: #6b7280;
  font-size: 11.5px;
}

.mobile-buy-line {
  margin-top: 5px;
}

.mobile-buy-line b {
  color: var(--price);
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.empty-state {
  padding: 28px;
  border: 1px dashed #d1d5db;
  border-radius: 4px;
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 40;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #6b7280;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  transition: 0.2s ease;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 20px;
  background: rgba(17, 24, 39, 0.52);
  display: grid;
  place-items: center;
}

.modal-card {
  position: relative;
  width: min(420px, 100%);
  padding: 22px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.modal-card h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 20px;
}

.modal-card label {
  display: block;
  margin-top: 14px;
  color: #4b5563;
  font-size: 13px;
}

.modal-card input {
  width: 100%;
  height: 38px;
  margin-top: 6px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 24px;
}

.primary-button,
.secondary-button,
.danger-button {
  min-height: 32px;
  padding: 0 14px;
  border-radius: 4px;
  border: 0;
  font-weight: 700;
}

.primary-button {
  margin-top: 16px;
  background: var(--primary);
  color: #111827;
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: #374151;
}

.danger-button {
  background: #fee2e2;
  color: var(--danger);
}

.order-result {
  min-height: 20px;
  color: #166534;
}

.site-footer {
  width: min(1200px, 100%);
  margin: 28px auto 0;
  padding: 28px 15px 36px;
  border-top: 1px solid var(--line);
  color: #9ca3af;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}

.site-footer p {
  margin: 4px 0;
}

.product-page {
  width: min(1100px, 100%);
  margin: 18px auto 0;
  padding: 0 15px;
}

.product-hero {
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid #d8dee7;
  border-radius: 4px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 16px;
  align-items: center;
}

.product-hero-copy h1 {
  margin: 6px 0 8px;
  color: #111827;
  font-size: 30px;
  line-height: 1.25;
}

.product-hero-copy .detail-summary {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.product-hero-meta {
  display: grid;
  gap: 10px;
}

.product-hero-meta .price-panel {
  margin: 0;
}

.product-notice-line {
  margin-bottom: 12px;
  padding: 13px 16px;
  border: 1px solid #ead68c;
  border-radius: 4px;
  background: #fff9df;
  color: #4b5563;
  display: flex;
  gap: 9px;
  line-height: 1.7;
}

.product-notice-line span {
  color: #6b7280;
}

.product-notice-line p {
  margin: 0;
  white-space: pre-line;
}

.breadcrumb {
  margin-bottom: 12px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.breadcrumb a {
  color: #4b5563;
}

.product-purchase-card,
.purchase-notice {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.product-purchase-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 0;
}

.product-cover-box {
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #fbfcfe;
}

.cover-art {
  aspect-ratio: 1 / 1;
  border: 1px solid #eef2f7;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(249, 195, 0, 0.18), rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 78% 18%, rgba(31, 41, 55, 0.12), transparent 28%),
    #ffffff;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.cover-art span {
  width: 74px;
  height: 74px;
  border-radius: 10px;
  background: var(--primary);
  color: #111827;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
}

.cover-art .cover-image {
  width: min(82%, 260px);
  height: min(82%, 260px);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);
}

.cover-art strong {
  max-width: 78%;
  color: #111827;
  font-size: 22px;
  line-height: 1.35;
}

.cover-art small {
  color: #6b7280;
}

.product-buy-box {
  padding: 24px 28px;
}

.product-buy-box h1 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.45;
}

.detail-summary {
  margin: 8px 0 14px;
  color: #6b7280;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#introDescription {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.buy-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #6b7280;
  font-size: 13px;
}

.buy-meta-line b {
  color: #4b5563;
}

.price-panel {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid #f1e0a6;
  border-radius: 4px;
  background: #fff9df;
  display: flex;
  align-items: center;
  gap: 18px;
}

.price-panel span {
  color: #7c6a32;
  font-size: 13px;
}

.price-panel strong {
  color: var(--price);
  font-family: Arial, sans-serif;
  font-size: 28px;
}

.reference-buy-form {
  display: grid;
  gap: 12px;
  margin-top: 2px;
}

.reference-buy-form label {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: #4b5563;
  font-size: 13px;
}

.reference-buy-form input {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
}

.reference-buy-form input:focus {
  border-color: #e3b70c;
  box-shadow: 0 0 0 3px rgba(249, 195, 0, 0.12);
}

.payment-summary {
  margin-left: 122px;
  padding: 12px 14px;
  border: 1px solid #e5edf6;
  border-radius: 6px;
  background: #f8fbff;
  display: grid;
  gap: 5px;
}

.payment-summary span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.payment-summary strong {
  color: #ef1f2d;
  font-size: 24px;
  line-height: 1.2;
}

.payment-summary small {
  color: #2563eb;
  font-size: 13px;
  line-height: 1.5;
}


.captcha-field {
  align-items: start !important;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 10px;
  align-items: center;
}

.captcha-row input {
  min-width: 0;
}

.captcha-image-button {
  width: 160px;
  height: 52px;
  padding: 0;
  border: 1px solid #f0b7d2;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  display: block;
}

.captcha-image-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.captcha-image-button:hover {
  border-color: #ec4899;
}

.captcha-image-button:focus-visible {
  outline: 3px solid rgba(236, 72, 153, 0.18);
  outline-offset: 2px;
}

.reference-buy-form .submit-buy,
.reference-buy-form .payment-methods {
  margin-left: 122px;
}

.reference-buy-form .order-result {
  margin: 0 0 0 122px;
  min-height: 22px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.pay-method {
  min-width: 178px;
  min-height: 42px;
  height: auto;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.pay-method.usdt {
  background: #128c60;
}

.pay-method.wechat {
  background: #16a34a;
}

.pay-method.alipay {
  background: #1677ff;
}

.pay-method:disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}

.payment-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #f1e0a6;
  border-radius: 4px;
  background: #fff9df;
  color: #4b5563;
  line-height: 1.7;
}

.payment-box h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 17px;
}

.payment-box p {
  margin: 6px 0;
}

.payment-box code {
  display: block;
  margin: 8px 0;
  padding: 10px;
  border-radius: 4px;
  background: #fff;
  color: #111827;
  word-break: break-all;
}

.payment-box img {
  width: 180px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.payment-note {
  color: #7c6a32;
  font-size: 13px;
}

.payment-proof-box {
  margin: 12px 0;
  padding: 12px;
  border: 1px dashed #ead68c;
  border-radius: 4px;
  background: #fffdf2;
  display: grid;
  gap: 10px;
}

.payment-proof-box label {
  display: grid;
  gap: 6px;
  color: #4b5563;
  font-size: 13px;
}

.payment-proof-box input[type="text"],
.payment-proof-box input[type="file"] {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.payment-proof-message {
  min-height: 18px;
  margin: 0;
  font-size: 13px;
}

.payment-proof-message.success {
  color: #166534;
}

.payment-proof-message.error {
  color: var(--danger);
}

.payment-proof-result {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #bbf7d0;
  border-radius: 4px;
  background: #f0fdf4;
  color: #166534;
  display: grid;
  gap: 6px;
}

.payment-proof-result b,
.payment-proof-result p {
  margin: 0;
}

.payment-proof-result a {
  width: fit-content;
  color: #14532d;
  font-weight: 700;
  text-decoration: underline;
}

.admin-proof-result {
  border-color: #f1e0a6;
  background: #fff9df;
  color: #7c6a32;
}

.payment-deadline strong {
  color: #b45309;
}

.payment-expired,
.order-cancel-reason {
  color: var(--danger);
}

.detail-title-row {
  min-height: 92px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}

.detail-icon {
  width: 54px;
  height: 54px;
  border: 1px solid #eef2f7;
  border-radius: 4px;
  background: #fffdf2;
  color: #6b7280;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 800;
}

.detail-title-row h1 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.35;
}

.detail-title-row p {
  margin: 6px 0 0;
  color: #6b7280;
  line-height: 1.6;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.detail-meta-grid div {
  min-height: 72px;
  padding: 13px 16px;
  border-right: 1px solid var(--line);
}

.detail-meta-grid div:last-child {
  border-right: 0;
}

.detail-meta-grid span,
.detail-meta-grid strong {
  display: block;
}

.detail-meta-grid span {
  color: #9ca3af;
  font-size: 12px;
}

.detail-meta-grid strong {
  margin-top: 8px;
  color: #4b5563;
  font-size: 16px;
}

.detail-meta-grid .detail-price {
  color: var(--price);
  font-family: Arial, sans-serif;
  font-size: 20px;
}

.buy-form {
  padding: 22px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px 18px;
  align-items: end;
}

.buy-form label {
  display: grid;
  gap: 7px;
  color: #4b5563;
  font-size: 13px;
}

.buy-form input {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
}

.buy-form input:focus {
  border-color: #e3b70c;
  box-shadow: 0 0 0 3px rgba(249, 195, 0, 0.12);
}

.submit-buy {
  width: 120px;
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: var(--primary);
  color: #111827;
  font-weight: 800;
}

.submit-buy:disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}

.buy-form .order-result {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 22px;
}

.order-result.success {
  color: #166534;
}

.order-result.error {
  color: #b91c1c;
}

.product-info-tabs {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.tabs-header {
  height: 46px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  display: flex;
  align-items: stretch;
}

.tabs-header button {
  min-width: 120px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: #4b5563;
  font-weight: 700;
}

.tabs-header button.active {
  border-top: 3px solid var(--primary);
  color: #111827;
}

.tabs-body {
  padding: 22px 24px;
  color: #6b7280;
  line-height: 1.8;
}

.tabs-body h2 {
  margin: 0 0 10px;
  color: #4b5563;
  font-size: 18px;
}

.tabs-body p {
  margin: 0 0 12px;
}

.tabs-body ul {
  margin: 0;
  padding-left: 20px;
}

.tos-notice {
  position: fixed;
  right: 20px;
  bottom: 25px;
  left: 20px;
  z-index: 110;
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 25px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.45s ease;
}

.tos-notice.visible {
  opacity: 1;
  transform: translateY(0);
}

.tos-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tos-text {
  flex: 1;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
}

.tos-text a {
  color: #d97706;
  font-weight: 700;
  border-bottom: 1px solid rgba(217, 119, 6, 0.3);
}

#tosAccept {
  height: 32px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.admin-body {
  background: #eef1f5;
}

.admin-header {
  min-height: 64px;
  padding: 0 24px;
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-header strong,
.admin-header span {
  display: block;
}

.admin-header span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.admin-header a {
  padding: 9px 12px;
  border-radius: 4px;
  background: var(--primary);
  color: #111827;
  font-weight: 700;
}

.admin-shell {
  width: min(1180px, 100%);
  margin: 20px auto;
  padding: 0 16px;
  display: grid;
  gap: 16px;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.panel-heading {
  min-height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 17px;
}

.form-grid,
.admin-item {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.form-grid {
  padding: 16px;
}

.form-grid label,
.admin-item label {
  display: grid;
  gap: 6px;
  color: #4b5563;
  font-size: 13px;
}

.settings-section-title {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #eef0f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-section-title strong {
  color: #111827;
  font-size: 15px;
}

.settings-section-title span {
  color: #667085;
  font-size: 12px;
}

.tutorial-setting {
  padding-top: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tutorial-setting-title {
  grid-column: 1 / -1;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.tutorial-setting textarea {
  min-height: 94px;
  resize: vertical;
}

.form-grid input,
.form-grid textarea,
.admin-item input,
.admin-item textarea,
.admin-item select {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.admin-item input[type="hidden"] {
  display: none;
}

.image-upload-field {
  align-content: start;
}

.image-upload-control {
  min-height: 58px;
  display: grid;
  grid-template-columns: 58px auto;
  align-items: center;
  gap: 10px;
}

.image-upload-control .secondary-button {
  width: fit-content;
  min-height: 34px;
}

.image-upload-control.uploaded .secondary-button {
  border-color: #bbf7d0;
  color: #166534;
  background: #f0fdf4;
}

.image-preview {
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image-preview {
  width: 92px;
  height: 72px;
}

.product-image-upload {
  grid-template-columns: 92px auto;
}

.wide {
  grid-column: 1 / -1;
}

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

.product-workbench {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  min-height: 520px;
}

.category-workbench {
  border-right: 1px solid #f0f2f5;
  background: #fbfcfe;
}

.category-workbench-list .category-item {
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 1px solid #eef2f7;
}

.category-workbench-list .category-item.active {
  background: #fff8d6;
}

.category-select-button {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  color: #111827;
  text-align: left;
  font-weight: 700;
}

.category-item.active .category-select-button {
  border-color: var(--primary);
}

.product-workbench-main {
  min-width: 0;
}

.delivery-workbench {
  border-top: 1px solid #f0f2f5;
  background: #fcfcfd;
}

.delivery-workbench-heading {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0f2f5;
}

.delivery-workbench-heading h3 {
  margin: 0;
  font-size: 16px;
}

.inline-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.muted-text {
  color: #667085;
  font-size: 13px;
}

.large-content-box {
  min-height: 120px !important;
  resize: vertical;
}

.admin-list {
  display: grid;
}

.admin-item {
  padding: 16px;
  border-top: 1px solid #f0f2f5;
}

.admin-item:first-child {
  border-top: 0;
}

.product-item.admin-item {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.channel-help {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f2f5;
  background: #fbfcfe;
  color: #6b7280;
  font-size: 13px;
}

.channel-help p {
  margin: 0;
  line-height: 1.6;
}

.payment-channel-item {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.checkbox-line {
  align-content: end;
  grid-template-columns: 18px 1fr !important;
  gap: 8px !important;
  min-height: 59px;
}

.checkbox-line input {
  width: 16px;
  min-height: 16px;
  align-self: center;
}

.item-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.order-item {
  grid-template-columns: 1.2fr 1.5fr 1fr 1fr 0.8fr 0.8fr 0.8fr;
  align-items: center;
  color: #4b5563;
  font-size: 13px;
}

.order-item small {
  color: #9ca3af;
}

.order-item .order-cancel-reason {
  grid-column: 1 / -1;
}

.order-search-bar {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f2f5;
  background: #fbfcfe;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px auto auto;
  align-items: end;
  gap: 12px;
}

.order-search-bar label {
  display: grid;
  gap: 6px;
  color: #4b5563;
  font-size: 13px;
}

.order-search-bar input,
.order-search-bar select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.order-search-count {
  min-width: 70px;
  color: #6b7280;
  font-size: 13px;
  text-align: right;
}

.notification-item.unread {
  border-left: 4px solid #f9c300;
  background: #fffbeb;
}

.notification-item.read {
  opacity: 0.72;
}

.delivery-manager {
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: 12px;
}

.delivery-manager label {
  display: grid;
  gap: 6px;
  color: #4b5563;
  font-size: 13px;
}

.delivery-manager select,
.delivery-manager textarea {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.delivery-item-row {
  grid-template-columns: 1.6fr 0.7fr 1fr 0.9fr 0.5fr;
  align-items: center;
}

.delivery-job-row {
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr 1fr;
  align-items: center;
}

.delivery-result {
  margin-top: 8px;
  padding: 12px;
  border: 1px dashed #d1d5db;
  border-radius: 4px;
  background: #fffbeb;
}

.delivery-result b,
.delivery-result code {
  display: block;
}

.delivery-result b {
  margin-bottom: 8px;
  color: #4b5563;
}

.delivery-result code {
  margin-top: 6px;
  padding: 8px;
  border-radius: 4px;
  background: #fff;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-all;
}

.admin-delivery-result small {
  display: block;
  margin-top: 8px;
  color: #6b7280;
}

.manual-delivery-form {
  padding: 12px;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  background: #eff6ff;
}

.manual-delivery-form label {
  display: block;
  color: #1f2937;
  font-weight: 700;
}

.manual-delivery-form textarea {
  margin-top: 8px;
  min-height: 110px;
  resize: vertical;
  background: #fff;
}

.manual-delivery-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.toast-error {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #fee2e2;
  color: #991b1b;
}

.auth-body {
  min-height: 100vh;
  margin: 0;
  background: #eef1f5;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.12);
}

.admin-auth-card {
  border-top-color: #111827;
}

.auth-logo {
  display: inline-block;
  margin-bottom: 20px;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
}

.auth-card h1 {
  margin: 0;
  color: #111827;
  font-size: 24px;
}

.auth-card p {
  margin: 8px 0 22px;
  color: #6b7280;
  line-height: 1.65;
}

.auth-card form {
  display: grid;
  gap: 14px;
}

.auth-card label {
  display: grid;
  gap: 7px;
  color: #4b5563;
  font-size: 13px;
}

.auth-card input {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.auth-card input:focus {
  outline: none;
  border-color: #e3b70c;
  box-shadow: 0 0 0 3px rgba(249, 195, 0, 0.12);
}

.auth-card button {
  height: 40px;
  border: 0;
  border-radius: 4px;
  background: var(--primary);
  color: #111827;
  font-weight: 800;
}

.auth-message {
  min-height: 20px;
  color: #b91c1c;
  font-size: 13px;
}

.auth-switch {
  margin-top: 18px;
  color: #6b7280;
  text-align: center;
}

.auth-switch a {
  margin-left: 4px;
  color: #b45309;
  font-weight: 700;
}

.account-page {
  width: min(1100px, 100%);
  margin: 20px auto;
  padding: 0 16px;
}

.account-order-search {
  grid-template-columns: minmax(280px, 1fr) 190px auto minmax(86px, max-content);
}

.account-order-item {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.account-order-title {
  padding-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-order-title strong {
  color: #111827;
  font-size: 15px;
}

.order-status-pill {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
}

.order-status-pill.status-pending_payment {
  background: #fff7d6;
  color: #92400e;
}

.order-status-pill.status-paid,
.order-status-pill.status-delivery_queued {
  background: #e0f2fe;
  color: #075985;
}

.order-status-pill.status-delivered {
  background: #dcfce7;
  color: #166534;
}

.order-status-pill.status-delivery_failed,
.order-status-pill.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.account-order-line {
  padding: 10px;
  border: 1px solid #eef2f7;
  border-radius: 4px;
  background: #fbfcfe;
  display: grid;
  gap: 5px;
  min-width: 0;
}

.account-order-line span {
  color: #6b7280;
  font-size: 12px;
}

.account-order-line b {
  color: #111827;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.usdt-pay-body {
  background:
    linear-gradient(180deg, #eef3f8 0%, #f8fafc 45%, #edf7f4 100%);
}

.usdt-pay-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.usdt-pay-card {
  width: min(900px, 100%);
  overflow: hidden;
  border: 1px solid #dce5ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
}

.usdt-pay-header {
  min-height: 66px;
  padding: 0 28px;
  border-bottom: 1px solid #e7edf3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111827;
}

.usdt-pay-badge {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.usdt-pay-status {
  min-width: 70px;
  padding: 6px 12px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  color: #86efac;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.usdt-pay-amount {
  padding: 28px 24px 24px;
  border-bottom: 1px solid #edf1f5;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  background: #fbfdff;
  font-size: 28px;
}

.usdt-pay-amount span {
  color: #263241;
  font-weight: 700;
}

.usdt-pay-amount strong {
  color: #ef1f2d;
  font-size: 62px;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.usdt-pay-amount em {
  color: #16a34a;
  font-style: normal;
  font-size: 42px;
  font-weight: 900;
}

.usdt-pay-qr-wrap {
  padding: 34px 24px 16px;
  display: grid;
  place-items: center;
  background: #fff;
}

.usdt-pay-qr-wrap img {
  width: min(300px, 74vw);
  max-height: 380px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.12);
}

.alipay-pay-mode .usdt-pay-qr-wrap {
  padding: 40px 24px 18px;
}

.alipay-pay-mode .usdt-pay-qr-wrap img {
  width: min(430px, 86vw);
  max-height: 540px;
}

.usdt-pay-address,
.usdt-pay-notice,
.usdt-pay-countdown,
.usdt-pay-footer {
  margin: 18px auto;
  width: min(720px, calc(100% - 44px));
}

.usdt-pay-address {
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid #dce7ef;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  background: #fbfefd;
}

.usdt-pay-address span {
  color: #475569;
  font-weight: 700;
}

.usdt-pay-address code {
  color: #047857;
  font-size: 15px;
  word-break: break-all;
}

.usdt-pay-address button,
.usdt-pay-footer button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #a7f3d0;
  border-radius: 9px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 800;
  cursor: pointer;
}

.usdt-pay-address button:hover,
.usdt-pay-footer button:hover {
  border-color: #34d399;
  background: #d1fae5;
}

.usdt-pay-notice {
  padding: 18px 20px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  text-align: center;
  line-height: 1.8;
  background: #f8fbff;
  color: #1d4ed8;
}

.usdt-pay-notice p {
  margin: 0;
}

.usdt-pay-notice p + p {
  margin-top: 4px;
  color: #334155;
  font-weight: 700;
}

.usdt-pay-countdown {
  padding: 4px 0 14px;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: #111827;
}

.usdt-pay-countdown strong {
  display: inline-block;
  min-width: 116px;
  padding: 3px 12px;
  border-radius: 9px;
  background: #22c55e;
  color: #fff;
  line-height: 1.35;
}

.usdt-pay-footer {
  padding: 0 0 30px;
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  .usdt-pay-page {
    padding: 14px;
    place-items: start center;
  }

  .usdt-pay-card {
    border-radius: 14px;
  }

  .usdt-pay-header {
    min-height: 58px;
    padding: 0 16px;
  }

  .usdt-pay-amount {
    padding: 22px 14px 20px;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 22px;
  }

  .usdt-pay-amount strong {
    font-size: 48px;
  }

  .usdt-pay-amount em {
    font-size: 32px;
  }

  .usdt-pay-qr-wrap {
    padding: 26px 14px 12px;
  }

  .alipay-pay-mode .usdt-pay-qr-wrap img,
  .usdt-pay-qr-wrap img {
    width: min(360px, 88vw);
    max-height: 440px;
  }

  .usdt-pay-address,
  .usdt-pay-notice,
  .usdt-pay-countdown,
  .usdt-pay-footer {
    width: calc(100% - 28px);
    margin: 14px auto;
  }

  .usdt-pay-address {
    border-radius: 16px;
  }

  .usdt-pay-countdown {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .mall-container {
    grid-template-columns: 1fr;
  }

  .mall-sidebar {
    position: static;
  }

  .side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid-layout {
    grid-template-columns: minmax(220px, 1.6fr) 92px 82px 82px 82px 76px;
  }

  .form-grid,
  .admin-item,
  .tutorial-setting,
  .product-item.admin-item,
  .payment-channel-item,
  .order-item,
  .order-search-bar,
  .delivery-manager,
  .delivery-item-row,
  .delivery-job-row {
    grid-template-columns: 1fr;
  }

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

  .category-workbench {
    border-right: 0;
    border-bottom: 1px solid #f0f2f5;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    min-width: 150px;
    max-width: calc(100vw - 80px);
  }

  .mall-container {
    margin-top: 12px;
    padding: 0 10px;
  }

  .mall-sidebar {
    display: none;
  }

  .notice-bar {
    padding: 13px;
  }

  .product-list-header,
  .product-list-body {
    display: none;
  }

  .mobile-products {
    display: grid;
  }

  .category-title {
    min-height: 44px;
    font-size: 16px;
  }

  .tos-notice {
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 12px 12px 0 0;
    padding: 15px 20px;
  }

  .tos-container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  #tosAccept {
    width: 100%;
    height: 36px;
  }

  .admin-header {
    padding: 12px 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-heading {
    align-items: flex-start;
    padding: 12px;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero-band,
  .product-hero,
  .process-band,
  .help-grid {
    grid-template-columns: 1fr;
  }

  .product-page {
    margin-top: 12px;
    padding: 0 10px;
  }

  .hero-copy h1,
  .product-hero-copy h1 {
    font-size: 24px;
  }

  .product-purchase-card {
    grid-template-columns: 1fr;
  }

  .product-cover-box {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px;
  }

  .cover-art {
    aspect-ratio: 16 / 10;
  }

  .product-buy-box {
    padding: 18px 16px;
  }

  .reference-buy-form label {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .reference-buy-form .submit-buy,
  .reference-buy-form .payment-methods,
  .payment-summary,
  .reference-buy-form .order-result {
    margin-left: 0;
  }

  .detail-title-row {
    padding: 16px;
    align-items: flex-start;
  }

  .detail-title-row h1 {
    font-size: 18px;
  }

  .detail-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-meta-grid div:nth-child(2n) {
    border-right: 0;
  }

  .detail-meta-grid div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .buy-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .submit-buy {
    width: 100%;
  }
}
