:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #121212;
  --panel-2: #1a1a1a;
  --text: #f7f3e7;
  --muted: #b7b1a4;
  --line: #2b2a27;
  --yellow: #f8ce23;
  --yellow-2: #ffe26a;
  --ink: #11100d;
  --green: #40d37a;
  --red: #ff675d;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(248, 206, 35, 0.14), transparent 30rem),
    linear-gradient(180deg, #080808 0%, #10100e 42%, #090909 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.no-scroll {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

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

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 28px;
  background: rgba(8, 8, 8, 0.88);
  border-bottom: 1px solid rgba(248, 206, 35, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 26%, var(--bg) 26% 34%, transparent 34%),
    linear-gradient(180deg, var(--yellow) 0 26%, transparent 26% 37%, var(--yellow) 37% 63%, transparent 63% 74%, var(--yellow) 74%);
  box-shadow: 0 0 0 1px rgba(248, 206, 35, 0.38), 0 14px 36px rgba(248, 206, 35, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
}

.site-nav a {
  white-space: nowrap;
}

.site-nav .nav-cta {
  min-width: 74px;
  text-align: center;
}

@media (max-width: 1220px) {
  .site-header {
    padding: 0 5vw;
  }

  .site-nav a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 13px;
  }
}

@media (max-width: 1080px) {
  .site-nav a {
    white-space: normal;
  }
}

/* HanziStroke-inspired visual theme */
:root {
  border-radius: 7px;
  color: #f0ebdc;
  font-size: 13px;
  font-weight: 750;
  padding: 10px 11px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(248, 206, 35, 0.14);
  color: var(--yellow);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  margin-left: 8px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(248, 206, 35, 0.2);
}

.site-nav .nav-cta:hover {
  background: var(--yellow-2);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(248, 206, 35, 0.36);
  border-radius: 7px;
  background: #141414;
  color: var(--yellow);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 76px 28px 64px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.86) 46%, rgba(8, 8, 8, 0.35) 100%),
    url("https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=1800&q=78") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 8px rgba(248, 206, 35, 0.12);
}

.hero h1 {
  max-width: 720px;
  margin: 14px 0 14px;
  color: var(--yellow);
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, 4vw, 52px);
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  color: #e5dfcf;
  font-size: 18px;
}

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

.button,
.chip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 7px;
  border: 1px solid rgba(248, 206, 35, 0.46);
  padding: 11px 18px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button.primary {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.button.secondary,
.chip-button {
  background: rgba(18, 18, 18, 0.78);
  color: var(--yellow);
}

.button:hover,
.chip-button:hover {
  transform: translateY(-2px);
}

.section {
  padding: 74px 28px;
}

.section.tight {
  padding-top: 42px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.section-title {
  margin: 0 0 26px;
  color: var(--yellow);
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

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

.category-card {
  min-height: 138px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(248, 206, 35, 0.28);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(248, 206, 35, 0.18), transparent 52%),
    var(--panel);
  position: relative;
}

.category-card::after {
  content: "";
  position: absolute;
  width: 118px;
  height: 118px;
  right: -24px;
  top: -20px;
  border-radius: 30px;
  background: var(--card-image);
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  transform: rotate(10deg);
}

.category-card:not([style*="--card-image"])::after {
  display: none;
}

.category-card strong {
  position: relative;
  z-index: 1;
  font-size: 22px;
  line-height: 1.08;
}

.category-card span {
  position: relative;
  z-index: 1;
  color: var(--yellow);
  font-weight: 900;
}

.promo-band {
  padding: 34px 28px;
  background: var(--yellow);
  color: var(--ink);
}

.promo-inner {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.qr-card {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #111 11px, transparent 1%) center / 22px 22px,
    linear-gradient(#111 11px, transparent 1%) center / 22px 22px,
    #fff;
  box-shadow: inset 0 0 0 12px #fff, inset 0 0 0 15px #111;
}

.qr-card span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 950;
}

.promo-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.promo-copy p {
  max-width: 640px;
  margin: 0;
  font-size: 17px;
}

.promo-band .button {
  background: var(--ink);
  color: var(--yellow);
  border-color: var(--ink);
}

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

.article-panel {
  border-top: 1px solid rgba(248, 206, 35, 0.32);
  padding-top: 22px;
}

.article-panel h2 {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: 0;
}

.article-panel p {
  color: #d7d1c3;
  font-size: 16px;
}

.article-panel strong {
  color: #fff6d2;
}

.category-hero {
  padding: 72px 28px 44px;
  background:
    linear-gradient(180deg, rgba(248, 206, 35, 0.08), transparent),
    var(--bg);
  border-bottom: 1px solid rgba(248, 206, 35, 0.2);
}

.category-hero .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.category-hero h1 {
  margin: 8px 0 8px;
  color: var(--yellow);
  font-size: clamp(48px, 8vw, 94px);
  line-height: 0.92;
  letter-spacing: 0;
}

.category-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}

.field,
.select {
  min-height: 44px;
  border: 1px solid rgba(248, 206, 35, 0.28);
  border-radius: 7px;
  background: #101010;
  color: var(--text);
  padding: 0 14px;
}

.field {
  flex: 1 1 280px;
}

.select {
  flex: 0 0 180px;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(248, 206, 35, 0.22);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 206, 35, 0.7);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.product-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.84);
  color: var(--yellow);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}

.product-info {
  min-height: 124px;
  display: grid;
  gap: 10px;
  padding: 15px;
}

.product-title {
  margin: 0;
  color: #fffaf0;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  color: var(--yellow);
  font-size: 18px;
  font-weight: 950;
}

.qc {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.detail {
  padding: 62px 28px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 30px;
  max-width: var(--max);
  margin: 0 auto;
  border: 1px solid rgba(248, 206, 35, 0.24);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.detail-image {
  min-height: 520px;
  background: #fff;
}

.detail-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  object-position: center;
}

.detail-copy {
  padding: 34px 30px 34px 0;
}

.detail-copy h1 {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.detail-copy p {
  color: #d8d2c2;
}

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

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.detail-list span:first-child {
  color: var(--muted);
}

.empty-state {
  border: 1px dashed rgba(248, 206, 35, 0.4);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
}

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

.blog-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(248, 206, 35, 0.24);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(248, 206, 35, 0.62);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.blog-card span,
.blog-meta {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: 0;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  text-transform: none;
}

.blog-article {
  padding: 64px 28px;
}

.blog-post-header {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.blog-post-header h1 {
  margin: 16px 0;
  color: var(--text);
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1;
  letter-spacing: 0;
}

.blog-post-header p {
  max-width: 760px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 18px;
}

.blog-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: center;
  gap: 42px;
  max-width: var(--max);
  margin: 0 auto;
}

.blog-toc {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(248, 206, 35, 0.24);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.blog-toc strong {
  color: var(--text);
}

.blog-toc a {
  color: var(--muted);
  font-size: 14px;
}

.blog-toc a:hover {
  color: var(--yellow);
}

.blog-content {
  display: grid;
  gap: 36px;
}

.blog-content section {
  border-top: 1px solid rgba(248, 206, 35, 0.24);
  padding-top: 26px;
}

.blog-content h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.blog-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
}

.blog-cta {
  border: 1px solid rgba(248, 206, 35, 0.24);
  border-radius: 8px;
  background: var(--panel);
  padding: 28px;
}

.site-footer {
  padding: 42px 28px 52px;
  background: #060606;
  border-top: 1px solid rgba(248, 206, 35, 0.18);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  color: #918b7f;
  font-size: 12px;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid rgba(248, 206, 35, 0.24);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .site-nav .nav-cta {
    margin: 10px 0 0;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-toc {
    position: static;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 720px;
    align-items: end;
    padding: 54px 20px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.42) 0%, rgba(8, 8, 8, 0.94) 70%),
      url("https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=1200&q=78") center / cover no-repeat;
  }

  .section,
  .category-hero,
  .detail {
    padding-left: 20px;
    padding-right: 20px;
  }

  .category-grid,
  .product-grid,
  .article-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-inner,
  .category-hero .container,
  .detail-card {
    grid-template-columns: 1fr;
  }

  .promo-inner {
    align-items: start;
  }

  .qr-card {
    width: 142px;
  }

  .detail-copy {
    padding: 0 22px 28px;
  }

  .detail-image {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 20px;
  }

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

  .category-grid,
  .product-grid,
  .article-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .product-info {
    min-height: auto;
  }

  .select {
    flex: 1 1 100%;
  }
}

/* HanziStroke-inspired visual theme */
:root {
  color-scheme: light;
  --bg: #faf8f3;
  --panel: #ffffff;
  --panel-2: #fff4f4;
  --text: #211f1c;
  --muted: #746c63;
  --line: #e7dfd5;
  --yellow: #ef3f4b;
  --yellow-2: #f7636b;
  --ink: #ffffff;
  --green: #1f8a5b;
  --red: #ef3f4b;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.site-header {
  min-height: 58px;
  padding: 0 9.4vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 10px rgba(30, 24, 18, 0.04);
}

.brand {
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(180deg, #d7363e, #b81f2d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34), 0 7px 18px rgba(185, 31, 45, 0.22);
}

.brand-mark::before {
  content: "K";
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 900;
}

.site-nav a {
  color: #3f3832;
  font-size: 14px;
  font-weight: 500;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  padding: 8px 12px;
  white-space: nowrap;
}

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

.site-nav .nav-cta {
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  box-shadow: none;
  min-width: 74px;
  text-align: center;
}

.site-nav .nav-cta:hover {
  background: #d92635;
  color: #fff;
}

.nav-toggle {
  border-color: var(--line);
  background: #fff;
  color: var(--red);
}

.hero {
  min-height: auto;
  padding: 70px 28px 46px;
  background: var(--bg);
  text-align: center;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-inner {
  max-width: 820px;
}

.eyebrow {
  color: var(--red);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0;
}

.eyebrow::before {
  background: #ffe4e6;
  box-shadow: inset 0 0 0 2px var(--red);
}

.hero h1 {
  max-width: none;
  margin: 18px auto 10px;
  color: var(--text);
  font-size: clamp(46px, 7vw, 74px);
  line-height: 1.08;
  text-transform: none;
  font-weight: 700;
}

.hero h2 {
  margin: 0 auto 18px;
  color: #3f3832;
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 400;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr 118px;
  max-width: 670px;
  min-height: 58px;
  margin: 30px auto 12px;
  overflow: hidden;
  border: 1px solid #d8cec3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(43, 33, 22, 0.08);
}

.hero-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0 20px;
  font-size: 16px;
  outline: none;
}

.hero-search button {
  border: 0;
  background: #f45d67;
  color: #fff;
  font-weight: 700;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: #8b8177;
  font-size: 14px;
}

.hero-stats span + span::before {
  content: "·";
  margin-right: 20px;
  color: #b8afa5;
}

.hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.button,
.chip-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 16px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button.secondary,
.chip-button {
  background: #fff;
  color: var(--text);
}

.section {
  padding: 56px 28px;
}

.section-title,
.article-panel h2,
.category-hero h1,
.detail-copy h1 {
  color: var(--text);
  font-weight: 650;
}

.section-title {
  text-align: center;
  font-size: clamp(34px, 4.2vw, 46px);
}

.updated {
  display: flex;
  justify-content: center;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 650;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1120px;
  margin: 0 auto;
}

.category-card {
  min-height: 132px;
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 2px 8px rgba(43, 33, 22, 0.04);
}

.category-card::after {
  opacity: 0.2;
  border-radius: 18px;
}

.category-card strong {
  color: var(--text);
  font-size: 20px;
}

.category-card span {
  color: var(--red);
}

.promo-band {
  padding: 42px 28px;
  background: #fff4f4;
  color: var(--text);
  border-block: 1px solid #f3d5d8;
}

.qr-card {
  background:
    linear-gradient(90deg, #1f1f1f 9px, transparent 1%) center / 20px 20px,
    linear-gradient(#1f1f1f 9px, transparent 1%) center / 20px 20px,
    #fff;
  box-shadow: inset 0 0 0 12px #fff, inset 0 0 0 15px #1f1f1f;
}

.qr-card span {
  background: #fff4f4;
  color: var(--red);
}

.promo-copy h2 {
  font-weight: 650;
}

.promo-band .button {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.article-panel {
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(43, 33, 22, 0.04);
}

.article-panel p {
  color: var(--muted);
}

.article-panel strong {
  color: var(--text);
}

.category-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.category-hero h1 {
  font-size: clamp(48px, 7vw, 74px);
}

.category-hero p {
  color: var(--muted);
}

.field,
.select {
  border-color: #d8cec3;
  background: #fff;
  color: var(--text);
}

.product-card {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 2px 8px rgba(43, 33, 22, 0.04);
}

.product-card:hover {
  border-color: #f3b8bd;
  box-shadow: 0 18px 42px rgba(43, 33, 22, 0.12);
}

.product-title {
  color: var(--text);
}

.price {
  color: var(--red);
}

.product-badge {
  background: #fff;
  color: var(--red);
}

.detail-card {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 2px 8px rgba(43, 33, 22, 0.04);
}

.detail-copy p {
  color: var(--muted);
}

.detail-list li {
  border-color: var(--line);
}

.empty-state {
  border-color: #f3b8bd;
  color: var(--muted);
  background: #fff;
}

.blog-card,
.blog-toc,
.blog-cta {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 2px 8px rgba(43, 33, 22, 0.04);
}

.blog-card:hover {
  border-color: #f3b8bd;
  box-shadow: 0 18px 42px rgba(43, 33, 22, 0.12);
}

.blog-card span {
  color: var(--red);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.blog-meta,
.blog-toc a,
.blog-card p,
.blog-post-header p,
.blog-content p {
  color: var(--muted);
}

.blog-content section {
  border-color: var(--line);
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  color: #8b8177;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 20px;
  }

  .site-nav {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    align-items: center;
    padding: 54px 20px 40px;
  }

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

  .hero-search button {
    min-height: 46px;
  }

  .hero-stats {
    gap: 9px 14px;
  }

  .hero-stats span + span::before {
    display: none;
  }

  .category-grid,
  .product-grid,
  .article-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .category-hero .container {
    align-items: start;
  }
}

.qr-image {
  width: 150px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(43, 33, 22, 0.04);
}

.admin-shell {
  display: grid;
  gap: 22px;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 18px;
}

.admin-form input {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #d8cec3;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
}

.admin-form button {
  grid-column: span 2;
}

.admin-status {
  color: var(--muted);
  font-weight: 700;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 760px) {
  .qr-image {
    width: 142px;
    height: 142px;
  }
}

@media (max-width: 520px) {
  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-form button {
    grid-column: auto;
  }
}

@media (max-width: 1080px) {
  .site-nav a {
    white-space: normal;
  }
}
