@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;800;900&display=swap');

:root {
  --nf-bg: #0a0b10;
  --nf-card: #14151c;
  --nf-body: #0d0e12;
  --nf-border: #232533;
  --nf-muted: #8b8d9b;
  --nf-text: #fff;
  --nf-primary: #4f46e5;
  --nf-primary-hover: #6366f1;
  --nf-red: #ef4444;
  --nf-green: #10b981;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--nf-bg);
  color: var(--nf-text);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

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

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

button,
input {
  font-family: inherit;
}

.box,
.nf-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.nf-page {
  position: relative;
  min-height: 100vh;
  padding-top: 88px;
  padding-bottom: 24px;
}

.nf-bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.nf-glow {
  position: absolute;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .36;
  animation: pulse-slow 8s ease-in-out infinite alternate;
}

.nf-glow-a {
  top: -18%;
  left: -12%;
  background: rgba(49, 46, 129, .62);
}

.nf-glow-b {
  right: -16%;
  bottom: -20%;
  background: rgba(88, 28, 135, .48);
  animation-delay: 4s;
}

.nf-dot-pattern {
  position: absolute;
  inset: 0;
  opacity: .45;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}

@keyframes pulse-slow {
  0%, 100% { opacity: .28; transform: scale(1); }
  50% { opacity: .48; transform: scale(1.08); }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floating {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

.notice-ribbon {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 28px;
  padding: 8px 12px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, .2);
  border-radius: 12px;
  background: rgba(79, 70, 229, .1);
  animation: fade-in .4s ease-out both;
}

.notice-ribbon span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--nf-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.notice-ribbon div {
  min-width: 0;
  color: #c7d2fe;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-card {
  position: relative;
  min-height: 320px;
  margin-bottom: 40px;
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(20, 21, 28, .98), rgba(26, 27, 38, .92)),
    var(--nf-card);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .3);
  animation: fade-in .4s ease-out both;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 22px 22px;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 22%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(79, 70, 229, .32);
  filter: blur(95px);
  transform: translateY(-50%);
}

.hero-text,
.hero-product-stack {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-text h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-text p {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--nf-muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.hero-primary,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.hero-primary {
  background: #fff;
  color: #000;
  box-shadow: 0 0 22px rgba(255, 255, 255, .28);
}

.hero-secondary {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.hero-product-card {
  position: relative;
  width: min(100%, 340px);
  min-height: 300px;
  margin-left: auto;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .16), transparent 30%),
    linear-gradient(135deg, rgba(79, 70, 229, .36), rgba(17, 18, 26, .98));
  box-shadow: 0 28px 56px rgba(0, 0, 0, .42);
  animation: floating 6s ease-in-out infinite;
}

.hero-product-stack .hero-product-card:not(:first-child) {
  display: none;
}

.hero-product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  margin-top: 18px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(0, 0, 0, .24);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.hero-product-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 34%),
    linear-gradient(0deg, rgba(0,0,0,.36), transparent 58%);
  pointer-events: none;
}

.hero-product-copy {
  position: relative;
  z-index: 1;
}

.hero-product-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .42);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
}

.hero-product-copy strong {
  display: -webkit-box;
  max-width: 14ch;
  color: #fff;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 900;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-product-copy em {
  display: block;
  margin-top: 10px;
  color: #c7d2fe;
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 42px;
}

.quick-access-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--nf-border);
  border-radius: 18px;
  background: rgba(20, 21, 28, .92);
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}

.quick-access-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, .48);
  background: rgba(28, 29, 38, .96);
}

.quick-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(79, 70, 229, .18);
  color: #a5b4fc;
  font-size: 14px;
  font-weight: 900;
}

.quick-access-card strong {
  color: #fff;
  font-size: 16px;
}

.quick-access-card p {
  margin: 0;
  color: var(--nf-muted);
  font-size: 12px;
  line-height: 1.65;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title-row h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.section-title-row h2 span {
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: var(--nf-primary);
}

.section-title-row p {
  margin: 8px 0 0;
  color: var(--nf-muted);
  font-size: 13px;
}

.text-link {
  border: 0;
  background: transparent;
  color: var(--nf-muted);
  font-size: 14px;
  cursor: pointer;
}

.text-link:hover {
  color: #fff;
}

.hot-section,
.catalog-section,
.service-tools {
  margin-bottom: 46px;
}

.coupon-section {
  position: relative;
  margin-bottom: 46px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 18%, rgba(236, 72, 153, .15), transparent 30%),
    radial-gradient(circle at 12% 84%, rgba(34, 211, 238, .1), transparent 28%),
    rgba(20, 21, 28, .54);
}

.coupon-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.coupon-section > * {
  position: relative;
  z-index: 1;
}

.coupon-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}

.coupon-row::-webkit-scrollbar {
  display: none;
}

.home-coupon {
  --coupon-a: #4f46e5;
  --coupon-b: #3730a3;
  --coupon-glow: rgba(79, 70, 229, .28);
  flex: 0 0 306px;
  height: 132px;
  display: flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .24));
  transition: transform .22s ease, opacity .22s ease, filter .22s ease;
}

.home-coupon:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 22px 26px var(--coupon-glow));
}

.home-coupon-new {
  --coupon-a: #fb7185;
  --coupon-b: #4f46e5;
  --coupon-glow: rgba(251, 113, 133, .28);
}

.home-coupon-all {
  --coupon-a: #22d3ee;
  --coupon-b: #7c3aed;
  --coupon-glow: rgba(34, 211, 238, .22);
}

.coupon-main {
  position: relative;
  width: 72%;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--coupon-a) 48%, transparent);
  border-right: 0;
  border-radius: 16px 0 0 16px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, .2), transparent 28%),
    linear-gradient(135deg, var(--coupon-a), var(--coupon-b));
  text-align: left;
}

.coupon-main::after,
.coupon-side::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--nf-bg);
  transform: translateY(-50%);
}

.coupon-main::after {
  right: -7px;
}

.coupon-main::before {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.coupon-badge-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.coupon-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(10, 11, 16, .26);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.coupon-label {
  color: rgba(255, 255, 255, .84);
  font-size: 12px;
  font-weight: 900;
}

.coupon-amount {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  line-height: 1;
}

.coupon-amount span {
  font-size: 14px;
  font-weight: 900;
}

.coupon-amount strong {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.coupon-main em,
.coupon-main small {
  position: relative;
  z-index: 1;
  display: block;
  font-style: normal;
}

.coupon-main em {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 900;
}

.coupon-main small {
  color: #c7d2fe;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.coupon-side {
  position: relative;
  width: 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-left: 0;
  border-radius: 0 16px 16px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent),
    var(--nf-card);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.coupon-side::before {
  left: -7px;
}

.coupon-side span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--coupon-a);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 8px 16px var(--coupon-glow);
}

.coupon-side strong {
  display: block;
  width: min-content;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

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

.product-card,
.box_goodsAll {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--nf-border);
  border-radius: 18px;
  background: var(--nf-card);
  cursor: pointer;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.product-card:hover,
.box_goodsAll:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, .52);
  box-shadow: 0 22px 42px -18px rgba(99, 102, 241, .48);
}

.product-cover,
.goods_img {
  position: relative;
  height: 132px;
  overflow: hidden;
  background: linear-gradient(135deg, #dc2626, #7f1d1d);
}

.product-cover::after,
.goods_img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(0deg, rgba(0,0,0,.3), transparent 45%);
}

.product-cover img,
.goods_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.product-card:hover .product-cover img,
.box_goodsAll:hover .goods_img img {
  transform: scale(1.08);
}

.product-cover span,
.goods_img span {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #ec4899);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.product-content,
.goods_body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.product-content h3,
.goods_title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-content p,
.goods_des {
  height: 42px;
  margin: 0 0 12px;
  color: var(--nf-muted);
  font-size: 12px;
  line-height: 1.7;
  overflow: hidden;
}

.product-tags,
.goods_key {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
  margin-bottom: 14px;
}

.product-tags span,
.goods_key span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 7px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  font-size: 10px;
  font-weight: 700;
}

.product-price,
.goods_footer {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.product-price strong,
.goods_money span:first-child {
  color: var(--nf-red);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.product-price em,
.goods_money span:last-child,
.goods_footer > div:last-child {
  color: var(--nf-muted);
  font-size: 12px;
  font-style: normal;
}

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

.support-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--nf-border);
  border-radius: 22px;
  background: var(--nf-body);
}

.support-panel span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, .14);
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 900;
}

.support-panel strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
}

.support-panel p {
  margin: 8px 0 0;
  color: var(--nf-muted);
  font-size: 13px;
  line-height: 1.75;
}

.support-panel em {
  flex: 0 0 auto;
  padding: 11px 16px;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.catalog-head {
  align-items: flex-start;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.category-tabs span a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--nf-border);
  border-radius: 12px;
  background: var(--nf-card);
  color: var(--nf-muted);
  font-size: 13px;
  font-weight: 800;
}

.category-tabs span:first-child a,
.category-tabs span a:hover {
  border-color: rgba(99, 102, 241, .45);
  background: var(--nf-primary);
  color: #fff;
}

.category-strip {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex: 0 0 180px;
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  padding: 12px;
  border: 1px solid var(--nf-border);
  border-radius: 16px;
  background: var(--nf-card);
}

.category-pill img {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.category-pill strong {
  color: #fff;
  font-size: 14px;
}

.category-pill span {
  color: var(--nf-muted);
  font-size: 12px;
}

.goods_null {
  grid-column: 1 / -1;
  padding: 50px 16px;
  border: 1px solid var(--nf-border);
  border-radius: 18px;
  background: var(--nf-card);
  color: var(--nf-muted);
  text-align: center;
}

.alert_box_box {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(4px);
}

.alert_box {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 110;
  width: min(430px, calc(100vw - 24px));
  max-height: min(720px, calc(100vh - 32px));
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 24px;
  background: var(--nf-card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.alert_box_top {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.alert_box_main {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.alert_box_img {
  flex: 0 0 82px;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--nf-body);
}

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

.alert_box_title {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.alert_box_money {
  margin-top: 6px;
  color: var(--nf-red);
  font-size: 24px;
  font-weight: 900;
}

.alert_box_money .zh {
  display: block;
  margin-top: 4px;
  color: #34d399;
  font-size: 12px;
  font-weight: 800;
}

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

.alert_box_sc,
.alert_box_yhj,
.alert_boottom_voucher,
.alert_box_fk {
  margin: 16px 18px;
}

.alert_box_sc > div:first-child {
  margin-bottom: 10px;
  color: #fff;
  font-weight: 900;
}

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

.goodsDate button {
  min-height: 44px;
  border: 1px solid var(--nf-border);
  border-radius: 12px;
  background: var(--nf-body);
  color: rgba(255,255,255,.82);
  cursor: pointer;
}

.alert_box_yhj {
  display: grid;
  grid-template-columns: 74px 1fr 96px;
  gap: 8px;
}

.alert_box_yhj input {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--nf-border);
  border-radius: 12px;
  background: var(--nf-body);
  color: #fff;
  padding: 0 12px;
  outline: 0;
}

.alert_box_yhj input[type="button"],
.alert_box_fk input,
.alert_boottom_voucher span:last-child {
  border-color: transparent;
  background: var(--nf-primary);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.alert_boottom_voucher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--nf-muted);
  font-size: 13px;
}

.alert_boottom_voucher span:last-child {
  padding: 9px 14px;
  border-radius: 999px;
}

.alert_box_fk input {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
}

.yhj_list {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 18px;
  overflow: auto;
  background: var(--nf-card);
}

.yhj_box_ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yhj_box_ul li {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--nf-border);
  border-radius: 14px;
  background: var(--nf-body);
}

.yhj_li_top_box,
.yhj_li_bottom_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 12px;
}

.yhj_sub {
  color: #a5b4fc;
  cursor: pointer;
  font-weight: 900;
}

.cols {
  margin-top: 12px;
  padding: 12px;
  border-radius: 999px;
  background: var(--nf-primary);
  text-align: center;
  font-weight: 900;
  cursor: pointer;
}

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

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

  .hero-product-card {
    margin: 0 auto;
  }

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

@media (max-width: 820px) {
  .nf-page {
    padding-top: 16px;
    padding-bottom: 90px;
  }

  .hero-card {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .service-tools,
  .quick-access-grid {
    grid-template-columns: 1fr;
  }

  .support-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-head {
    flex-direction: column;
  }

  .category-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nf-shell,
  .box {
    width: min(100% - 24px, 1200px);
  }

  .notice-ribbon {
    margin-bottom: 18px;
  }

  .hero-text h1 {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(32px, 8.6vw, 36px);
    line-height: 1.18;
    letter-spacing: -.02em;
  }

  .hero-product-card {
    min-height: 280px;
    padding: 20px;
  }

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

  .product-cover,
  .goods_img {
    height: 116px;
  }

  .product-content,
  .goods_body {
    padding: 13px;
  }

  .product-content h3,
  .goods_title {
    font-size: 14px;
  }

  .product-price strong,
  .goods_money span:first-child {
    font-size: 22px;
  }

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

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

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