:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #050c16;
  --surface: #0d1c2d;
  --surface-raised: #11243a;
  --surface-soft: rgba(16, 35, 55, 0.72);
  --line: rgba(155, 180, 205, 0.16);
  --line-strong: rgba(155, 180, 205, 0.27);
  --text: #f6f9fc;
  --muted: #94a7ba;
  --muted-deep: #6d8298;
  --mint: #72efc5;
  --mint-bright: #93f8d5;
  --mint-dark: #0d705a;
  --amber: #ffcb72;
  --danger: #ff8c93;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  --radius-lg: 24px;
  --radius-md: 16px;
  --content: min(1180px, calc(100% - 40px));
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 6%, rgba(67, 204, 161, 0.1), transparent 27rem),
    radial-gradient(circle at -8% 42%, rgba(42, 99, 175, 0.1), transparent 28rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
summary,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 10px;
  color: #04130e;
  background: var(--mint);
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  opacity: 0.12;
  filter: blur(110px);
  pointer-events: none;
}

.ambient-one {
  top: 10rem;
  right: -18rem;
  background: var(--mint);
}

.ambient-two {
  top: 75rem;
  left: -20rem;
  background: #3f82e4;
}

.notice-bar {
  min-height: 34px;
  color: #a9bdce;
  border-bottom: 1px solid rgba(151, 179, 204, 0.1);
  background: #081522;
  font-size: 11px;
}

.notice-bar > div {
  display: flex;
  width: var(--content);
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  letter-spacing: 0.02em;
}

.notice-dot {
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(114, 239, 197, 0.8);
}

.notice-separator {
  margin: 0 8px;
  color: #496176;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.87);
  backdrop-filter: blur(18px) saturate(130%);
}

.header-inner {
  display: grid;
  width: var(--content);
  min-height: 76px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(114, 239, 197, 0.5);
  border-radius: 13px;
  color: #061810;
  background: linear-gradient(145deg, var(--mint-bright), #50dcae);
  box-shadow: 0 8px 28px rgba(72, 222, 173, 0.16);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  letter-spacing: -0.015em;
}

.brand small {
  margin-top: 3px;
  color: #697e93;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

nav a {
  position: relative;
  padding: 27px 0;
  color: #90a3b6;
  font-size: 13px;
  transition: color 160ms ease;
}

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--mint);
  transition: transform 160ms ease;
}

nav a:hover,
nav a.active {
  color: var(--text);
}

nav a.active::after {
  transform: scaleX(1);
}

.order-history-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #dbe5ee;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-size: 12px;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.order-history-button:hover {
  border-color: rgba(114, 239, 197, 0.4);
  background: rgba(114, 239, 197, 0.07);
}

.order-icon {
  color: var(--mint);
  font-size: 12px;
}

.order-count {
  display: inline-grid;
  min-width: 21px;
  min-height: 21px;
  place-items: center;
  border-radius: 99px;
  color: #061710;
  background: var(--mint);
  font-size: 10px;
  font-weight: 900;
}

main {
  display: block;
}

.hero,
.catalog-section,
.process-section,
.guide-section,
.faq-section,
footer {
  width: var(--content);
  margin-inline: auto;
}

.hero {
  position: relative;
  display: flex;
  min-height: 650px;
  align-items: center;
  overflow: hidden;
  padding: 90px 0 86px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 76px;
  right: 4%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(114, 239, 197, 0.09);
  border-radius: 50%;
  background:
    linear-gradient(rgba(114, 239, 197, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 239, 197, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  box-shadow:
    inset 0 0 100px rgba(7, 17, 31, 0.9),
    0 0 100px rgba(59, 179, 143, 0.08);
  opacity: 0.8;
  mask-image: radial-gradient(circle, #000 36%, transparent 72%);
}

.hero::after {
  content: "AI";
  position: absolute;
  z-index: -1;
  right: 9%;
  color: rgba(114, 239, 197, 0.025);
  font-size: 250px;
  font-weight: 950;
  letter-spacing: -0.12em;
  line-height: 1;
}

.hero-copy {
  width: min(900px, 100%);
}

.eyebrow,
.section-kicker,
.modal-kicker {
  color: var(--mint);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 21px;
  height: 1px;
  background: var(--mint);
}

.hero h1 {
  max-width: 900px;
  margin: 25px 0;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.062em;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(100deg, #f5f8fb 0%, #9ff7da 72%);
  background-clip: text;
  font-style: normal;
}

.hero-copy > p {
  max-width: 690px;
  margin: 0;
  color: #a3b4c4;
  font-size: 16px;
  line-height: 1.9;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.primary-action {
  gap: 12px;
  color: #04160f;
  background: linear-gradient(135deg, var(--mint-bright), #59deb0);
  box-shadow: 0 12px 30px rgba(80, 218, 172, 0.18);
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(80, 218, 172, 0.24);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.secondary-action:hover {
  border-color: rgba(114, 239, 197, 0.42);
}

.hero-metrics {
  display: flex;
  gap: 0;
  margin-top: 48px;
}

.hero-metrics > div {
  display: grid;
  min-width: 155px;
  gap: 4px;
  padding: 0 30px;
  border-left: 1px solid var(--line);
}

.hero-metrics > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-metrics strong {
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-metrics strong small {
  margin-left: 3px;
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 0;
}

.hero-metrics span {
  color: #70859a;
  font-size: 10px;
}

.catalog-section,
.process-section,
.guide-section {
  scroll-margin-top: 100px;
}

.catalog-section {
  padding: 88px 0 120px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.section-heading h2,
.guide-copy h2,
.faq-section h2 {
  margin: 9px 0 0;
  font-size: clamp(31px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading p,
.guide-copy > p {
  max-width: 590px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.catalog-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #7f93a7;
  white-space: nowrap;
  font-size: 11px;
}

.catalog-summary strong {
  color: var(--mint);
  font-size: 31px;
  letter-spacing: -0.05em;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
  margin-bottom: 16px;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  height: 50px;
  padding: 0 46px 0 45px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.032);
  font-size: 13px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.search-box input::placeholder {
  color: #62778d;
}

.search-box input:focus {
  border-color: rgba(114, 239, 197, 0.5);
  box-shadow: 0 0 0 3px rgba(114, 239, 197, 0.08);
}

.search-icon {
  position: absolute;
  z-index: 1;
  top: 17px;
  left: 17px;
  width: 14px;
  height: 14px;
  border: 1.5px solid #7990a4;
  border-radius: 50%;
  pointer-events: none;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 1.5px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: #7990a4;
}

.clear-search {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #8799aa;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  font-size: 16px;
}

.sort-box {
  display: flex;
  min-width: 225px;
  height: 50px;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #72869a;
  background: rgba(255, 255, 255, 0.032);
  font-size: 11px;
}

.sort-box select {
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
}

.filter-chip {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #8da0b3;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background 150ms ease;
}

.filter-chip span {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.055);
  font-size: 9px;
}

.filter-chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.filter-chip.active {
  color: #06170f;
  border-color: var(--mint);
  background: var(--mint);
  font-weight: 800;
}

.filter-chip.active span {
  background: rgba(0, 0, 0, 0.11);
}

.result-count {
  margin-left: auto;
  color: #657b90;
  font-size: 10px;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(17, 37, 58, 0.96), rgba(9, 24, 40, 0.98));
  box-shadow: 0 17px 45px rgba(0, 0, 0, 0.14);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(114, 239, 197, 0.3);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.product-card.soldout {
  opacity: 0.78;
}

.product-media-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 0;
  background: #102035;
  cursor: pointer;
}

.product-media-button::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(5, 15, 26, 0.52));
  pointer-events: none;
}

.product-media-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.product-card:hover .product-media-button img {
  transform: scale(1.025);
}

.stock-badge {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  color: #d9fff3;
  background: rgba(4, 24, 17, 0.8);
  backdrop-filter: blur(9px);
  font-size: 9px;
  font-weight: 850;
}

.stock-badge.low {
  color: #ffe1aa;
  background: rgba(49, 33, 8, 0.84);
}

.stock-badge.soldout {
  color: #ffb3b8;
  background: rgba(52, 15, 21, 0.84);
}

.card-discount {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 13px;
  padding: 6px 8px;
  border-radius: 8px;
  color: #061710;
  background: var(--mint);
  font-size: 9px;
  font-weight: 900;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px;
}

.tag-list,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list span,
.detail-tags span {
  padding: 4px 7px;
  border-radius: 7px;
  color: #8da3b6;
  background: rgba(255, 255, 255, 0.04);
  font-size: 9px;
}

.product-body h3 {
  margin: 13px 0 9px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.product-title-button {
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.product-title-button:hover {
  color: var(--mint-bright);
}

.product-detail {
  display: -webkit-box;
  min-height: 59px;
  margin: 0;
  overflow: hidden;
  color: #8295a8;
  font-size: 11px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-price {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 5px 9px;
  margin-top: auto;
  padding-top: 20px;
}

.card-price strong {
  color: var(--mint);
  font-size: 25px;
  letter-spacing: -0.04em;
}

.card-price del {
  color: #65798e;
  font-size: 10px;
}

.card-price small {
  grid-column: 1 / -1;
  color: #63778b;
  font-size: 9px;
}

.card-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8px;
  margin-top: 15px;
}

.detail-button,
.buy-button,
.ghost-button,
.detail-buy-button,
.submit-order,
.copy-order,
.paid-button,
.empty-state button {
  border: 0;
  cursor: pointer;
  font-weight: 850;
}

.detail-button,
.buy-button {
  min-height: 41px;
  border-radius: 10px;
  font-size: 11px;
}

.detail-button {
  border: 1px solid var(--line-strong);
  color: #bdcad6;
  background: rgba(255, 255, 255, 0.02);
}

.detail-button:hover {
  border-color: rgba(114, 239, 197, 0.38);
}

.buy-button {
  color: #051811;
  background: var(--mint);
}

.buy-button:hover:not(:disabled) {
  background: var(--mint-bright);
  box-shadow: 0 9px 23px rgba(98, 234, 190, 0.16);
}

.buy-button:disabled,
.detail-buy-button:disabled {
  color: #728397;
  background: rgba(255, 255, 255, 0.055);
  cursor: not-allowed;
  box-shadow: none;
}

.empty-state {
  padding: 80px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.empty-state > span,
.empty-state > strong {
  display: block;
}

.empty-icon {
  color: var(--mint);
  font-size: 34px;
}

.empty-state strong {
  margin-top: 12px;
  color: var(--text);
  font-size: 16px;
}

.empty-state > span:not(.empty-icon) {
  margin-top: 7px;
  font-size: 11px;
}

.empty-state button {
  min-height: 40px;
  margin-top: 18px;
  padding: 0 15px;
  border-radius: 10px;
  color: #06170f;
  background: var(--mint);
  font-size: 11px;
}

.process-section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.compact-heading {
  margin-bottom: 31px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid li {
  position: relative;
  min-height: 235px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(19, 38, 58, 0.8), rgba(9, 23, 38, 0.84));
}

.step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #476075;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 43px;
  place-items: center;
  border: 1px solid rgba(114, 239, 197, 0.25);
  border-radius: 13px;
  color: var(--mint);
  background: rgba(114, 239, 197, 0.06);
  font-size: 13px;
  font-weight: 900;
}

.process-grid strong {
  display: block;
  font-size: 14px;
}

.process-grid p {
  margin: 9px 0 0;
  color: #7f93a7;
  font-size: 11px;
  line-height: 1.75;
}

.guide-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
  align-items: start;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.guide-copy {
  position: sticky;
  top: 115px;
}

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

.guide-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 17px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.023);
}

.guide-list article > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  color: var(--mint);
  background: rgba(114, 239, 197, 0.07);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.guide-list strong {
  font-size: 14px;
}

.guide-list p {
  margin: 7px 0 0;
  color: #8194a7;
  font-size: 11px;
  line-height: 1.75;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 80px;
  padding: 110px 0 130px;
  border-top: 1px solid var(--line);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 42px 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 750;
}

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

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 13px;
  height: 1px;
  background: var(--mint);
  transition: transform 160ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 22px;
  color: #8396aa;
  font-size: 12px;
  line-height: 1.8;
}

footer {
  display: grid;
  min-height: 160px;
  grid-template-columns: 1fr auto;
  gap: 25px 50px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: #6f8398;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--text);
  font-size: 14px;
}

.footer-brand div > span {
  margin-top: 4px;
  font-size: 9px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 11px;
}

.footer-links a:hover {
  color: var(--mint);
}

footer > p {
  grid-column: 1 / -1;
  max-width: 740px;
  margin: 0;
  font-size: 9px;
  line-height: 1.7;
}

.modal {
  width: min(800px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: auto;
  color: var(--text);
  border: 1px solid rgba(132, 162, 189, 0.27);
  border-radius: 23px;
  background: #0d1b2b;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.62);
}

.modal[open] {
  animation: modal-in 170ms ease both;
}

.modal::backdrop {
  background: rgba(2, 8, 15, 0.82);
  backdrop-filter: blur(10px);
}

@keyframes modal-in {
  from {
    transform: translateY(8px) scale(0.99);
    opacity: 0;
  }
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 17px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #a7b7c6;
  background: #11243a;
  cursor: pointer;
  font-size: 20px;
}

.modal-close:hover {
  color: var(--text);
  border-color: rgba(114, 239, 197, 0.35);
}

.product-modal {
  width: min(950px, calc(100% - 28px));
}

.product-detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  min-height: 590px;
}

.detail-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #102036;
}

.detail-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(5, 14, 24, 0.68));
}

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

.detail-copy {
  display: flex;
  flex-direction: column;
  padding: 36px;
}

.detail-tags {
  margin-top: 16px;
}

.detail-copy h2 {
  margin: 15px 0 0;
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.detail-description {
  margin: 13px 0 0;
  color: #91a4b7;
  font-size: 12px;
  line-height: 1.8;
}

.detail-price {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 24px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-price > div span,
.detail-price > div strong {
  display: block;
}

.detail-price > div span {
  margin-bottom: 4px;
  color: #71869b;
  font-size: 9px;
}

.detail-price > div strong {
  color: var(--mint);
  font-size: 31px;
  letter-spacing: -0.05em;
}

.detail-price del {
  padding-bottom: 4px;
  color: #667b90;
  font-size: 10px;
}

.discount-badge {
  margin-left: auto;
  margin-bottom: 2px;
  padding: 5px 8px;
  border-radius: 99px;
  color: #07170f;
  background: var(--mint);
  font-size: 9px;
  font-weight: 900;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 17px;
}

.detail-facts > div {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.detail-facts span,
.detail-facts strong {
  display: block;
}

.detail-facts span {
  margin-bottom: 4px;
  color: #71869a;
  font-size: 8px;
}

.detail-facts strong {
  font-size: 10px;
}

.detail-notice {
  margin-top: 14px;
  padding: 13px;
  border-left: 2px solid var(--mint);
  border-radius: 0 9px 9px 0;
  background: rgba(114, 239, 197, 0.055);
}

.detail-notice strong {
  font-size: 10px;
}

.detail-notice p {
  margin: 4px 0 0;
  color: #8ca1b3;
  font-size: 9px;
  line-height: 1.6;
}

.detail-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9px;
  margin-top: auto;
  padding-top: 20px;
}

.ghost-button,
.detail-buy-button {
  min-height: 46px;
  border-radius: 11px;
  font-size: 11px;
}

.ghost-button {
  border: 1px solid var(--line-strong);
  background: transparent;
}

.detail-buy-button {
  color: #06170f;
  background: var(--mint);
}

.checkout-modal form,
.payment-wrap {
  position: relative;
  padding: 30px;
}

.modal-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 45px;
  color: #6e8297;
  font-size: 9px;
}

.modal-progress span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-progress b {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 8px;
}

.modal-progress i {
  width: 35px;
  height: 1px;
  background: var(--line-strong);
}

.modal-progress .active,
.modal-progress .complete {
  color: var(--text);
}

.modal-progress .active b {
  color: #06170f;
  border-color: var(--mint);
  background: var(--mint);
}

.modal-progress .complete b {
  color: var(--mint);
  border-color: rgba(114, 239, 197, 0.45);
}

.checkout-modal .modal-kicker {
  display: block;
  margin-top: 28px;
}

.checkout-heading {
  margin: 7px 0 19px;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.checkout-product {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 18px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.checkout-product img {
  width: 138px;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 11px;
  background: #102138;
}

.checkout-stock {
  color: var(--mint);
  font-size: 9px;
  font-weight: 800;
}

.checkout-product h3 {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.checkout-price {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 7px;
}

.checkout-price strong {
  color: var(--mint);
  font-size: 19px;
}

.checkout-price del {
  color: #667a8f;
  font-size: 9px;
}

.checkout-price > span {
  padding: 3px 6px;
  border-radius: 99px;
  color: #06170f;
  background: var(--mint);
  font-size: 8px;
  font-weight: 900;
}

.security-tip {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  color: #8ca3b5;
  background: rgba(114, 239, 197, 0.055);
  font-size: 9px;
}

.security-tip > span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #06170f;
  background: var(--mint);
  font-weight: 900;
}

.security-tip p {
  margin: 0;
  line-height: 1.6;
}

.security-tip strong {
  margin-right: 6px;
  color: #dbe7ef;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 17px;
}

.form-grid label > span {
  display: block;
  margin-bottom: 7px;
  color: #b3c0cc;
  font-size: 10px;
}

.form-grid b {
  color: var(--mint);
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  color: var(--text);
  background: #091625;
  resize: vertical;
  font-size: 11px;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: rgba(114, 239, 197, 0.5);
  box-shadow: 0 0 0 3px rgba(114, 239, 197, 0.06);
}

.form-grid label > small {
  display: block;
  margin-top: 5px;
  color: #607489;
  font-size: 8px;
  line-height: 1.5;
}

.full-field {
  grid-column: 1 / -1;
}

.confirm-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 15px;
  color: #8599ac;
  font-size: 9px;
  line-height: 1.6;
}

.confirm-check input {
  margin-top: 1px;
  accent-color: var(--mint);
}

.modal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.modal-summary span,
.modal-summary small {
  display: block;
}

.modal-summary span {
  color: #acbac7;
  font-size: 10px;
}

.modal-summary small {
  margin-top: 3px;
  color: #607489;
  font-size: 8px;
}

.modal-summary strong {
  color: var(--mint);
  font-size: 25px;
}

.submit-order {
  width: 100%;
  min-height: 49px;
  margin-top: 11px;
  border-radius: 11px;
  color: #04160f;
  background: var(--mint);
  font-size: 11px;
}

.submit-order span {
  margin-left: 7px;
}

.payment-modal {
  width: min(850px, calc(100% - 28px));
}

.payment-wrap > .modal-progress {
  margin-bottom: 27px;
}

.payment-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
}

.payment-copy h2 {
  margin: 7px 0 0;
  font-size: 31px;
  letter-spacing: -0.04em;
}

.payment-copy > p {
  min-height: 45px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.payment-amount {
  margin: 20px 0;
}

.payment-amount small,
.payment-amount strong {
  display: block;
}

.payment-amount small {
  color: #71869a;
  font-size: 9px;
}

.payment-amount strong {
  margin-top: 2px;
  color: var(--mint);
  font-size: 42px;
  letter-spacing: -0.055em;
}

.payment-copy dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.payment-copy dl > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}

.payment-copy dt {
  color: #708499;
}

.payment-copy dd {
  margin: 0;
  text-align: right;
}

#payment-status {
  color: var(--amber);
}

#payment-status.paid {
  color: var(--mint);
}

.copy-order {
  width: 100%;
  min-height: 39px;
  margin-top: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 9px;
}

.copy-order:hover {
  border-color: rgba(114, 239, 197, 0.4);
}

.payment-reminder {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.payment-reminder strong {
  font-size: 9px;
}

.payment-reminder ol {
  display: grid;
  gap: 5px;
  margin: 7px 0 0;
  padding-left: 17px;
  color: #75899d;
  font-size: 8px;
  line-height: 1.5;
}

.qr-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.qr-shell {
  position: relative;
  display: grid;
  aspect-ratio: 828 / 1124;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.qr-shell.pending {
  aspect-ratio: 1;
}

.qr-shell.pending::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.16);
}

.qr-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-not-configured {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  transform: translateX(-50%);
  border-radius: 99px;
  color: #fff;
  background: rgba(130, 27, 38, 0.93);
  font-size: 9px;
  font-weight: 900;
}

.qr-panel > strong {
  display: block;
  margin-top: 11px;
  color: var(--mint);
  font-size: 16px;
}

.qr-panel > p {
  margin: 7px 0 0;
  color: #718599;
  font-size: 8px;
  line-height: 1.6;
}

.paid-button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  border-radius: 10px;
  color: #06170f;
  background: var(--mint);
  font-size: 10px;
}

.paid-button:disabled {
  color: #708397;
  background: rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
}

.history-modal {
  width: min(720px, calc(100% - 28px));
}

.history-wrap {
  position: relative;
  padding: 30px;
}

.history-wrap h2 {
  margin: 7px 0 0;
  font-size: 29px;
  letter-spacing: -0.04em;
}

.history-tip {
  max-width: 580px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.order-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.order-item {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  gap: 15px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  text-align: left;
}

.order-item:hover {
  border-color: rgba(114, 239, 197, 0.32);
}

.order-main > strong,
.order-main > span,
.order-main > small,
.order-side > strong,
.order-side > span {
  display: block;
}

.order-main > strong {
  max-width: 500px;
  font-size: 11px;
  line-height: 1.5;
}

.order-main > span,
.order-main > small {
  margin-top: 4px;
  color: #718599;
  font-size: 8px;
}

.order-side {
  text-align: right;
}

.order-side > strong {
  color: var(--mint);
  font-size: 16px;
}

.order-status {
  margin-top: 5px;
  color: var(--amber);
  font-size: 8px;
}

.order-status.paid {
  color: var(--mint);
}

.empty-orders {
  padding: 48px 10px;
  color: #74899d;
  text-align: center;
}

.empty-orders > span,
.empty-orders > strong,
.empty-orders > p {
  display: block;
}

.empty-orders > span {
  color: var(--mint);
  font-size: 28px;
}

.empty-orders > strong {
  margin-top: 8px;
  color: var(--text);
  font-size: 13px;
}

.empty-orders > p {
  margin: 5px 0 0;
  font-size: 9px;
}

.back-to-top {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--mint);
  background: rgba(13, 29, 47, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 74px;
  padding: 11px 15px;
  transform: translateY(16px);
  border: 1px solid rgba(114, 239, 197, 0.3);
  border-radius: 11px;
  opacity: 0;
  color: #dffff5;
  background: #102a24;
  box-shadow: var(--shadow);
  pointer-events: none;
  font-size: 10px;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero::before,
  .hero::after {
    right: -10%;
    opacity: 0.52;
  }

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

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

  .guide-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .guide-copy {
    position: static;
  }

  .product-detail-layout {
    grid-template-columns: 0.82fr 1.18fr;
  }
}

@media (max-width: 680px) {
  :root {
    --content: min(100% - 26px, 1180px);
  }

  .notice-bar {
    font-size: 9px;
  }

  .notice-separator {
    display: none;
  }

  .notice-separator + * {
    display: none;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

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

  .order-label,
  .order-icon {
    display: none;
  }

  .order-history-button {
    min-width: 42px;
    padding: 0 9px;
  }

  .hero {
    min-height: 0;
    padding: 70px 0 78px;
  }

  .hero::before {
    top: 45px;
    right: -58%;
    width: 360px;
    height: 360px;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    margin: 21px 0;
    font-size: clamp(43px, 13vw, 65px);
  }

  .hero-copy > p {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-metrics {
    justify-content: space-between;
    margin-top: 38px;
  }

  .hero-metrics > div {
    min-width: 0;
    flex: 1;
    padding: 0 13px;
  }

  .hero-metrics strong {
    font-size: 21px;
  }

  .hero-metrics span {
    font-size: 8px;
  }

  .catalog-section,
  .process-section,
  .guide-section,
  .faq-section {
    padding: 82px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-summary {
    display: none;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .sort-box {
    min-width: 0;
  }

  .filter-row {
    flex-wrap: nowrap;
    margin-right: -13px;
    padding-right: 13px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .filter-chip {
    flex: 0 0 auto;
  }

  .result-count {
    flex: 0 0 auto;
    margin-left: 4px;
  }

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

  .product-card:hover {
    transform: none;
  }

  .process-grid li {
    min-height: 205px;
  }

  .guide-list article {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .guide-list article > span {
    width: 41px;
    height: 41px;
  }

  .faq-section {
    gap: 20px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  footer > p {
    grid-column: auto;
  }

  .modal {
    max-height: calc(100vh - 16px);
    border-radius: 19px;
  }

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

  .detail-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .detail-copy {
    padding: 24px 19px;
  }

  .detail-copy h2 {
    font-size: 20px;
  }

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

  .detail-actions {
    position: sticky;
    bottom: -24px;
    margin: 0 -19px;
    padding: 15px 19px 20px;
    background: linear-gradient(transparent, #0d1b2b 22%);
  }

  .checkout-modal form,
  .payment-wrap,
  .history-wrap {
    padding: 22px 17px;
  }

  .checkout-modal .modal-kicker {
    margin-top: 22px;
  }

  .checkout-product {
    grid-template-columns: 104px 1fr;
  }

  .checkout-product img {
    width: 104px;
  }

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

  .full-field {
    grid-column: auto;
  }

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

  .qr-panel {
    order: -1;
    max-width: 360px;
    margin-inline: auto;
  }

  .payment-copy h2 {
    font-size: 26px;
  }

  .payment-copy > p {
    min-height: 0;
  }

  .order-item {
    grid-template-columns: 1fr;
  }

  .order-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .toast {
    right: 14px;
    bottom: 67px;
    left: 14px;
    text-align: center;
  }
}

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

/* === Customer Service Section === */
.cs-section {
  padding: 60px 0 50px;
  border-top: 1px solid var(--line);
  width: var(--content);
  margin-inline: auto;
  scroll-margin-top: 100px;
}
.cs-section .section-heading {
  border: 0;
  padding: 0;
  margin-bottom: 28px;
}
.cs-section .section-heading p {
  max-width: 480px;
  color: #8b949e;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 10px;
}
.cs-card-wrap {
  display: flex;
  justify-content: center;
}
.cs-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
}
.cs-qr-frame {
  width: 220px;
  height: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.cs-qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.cs-qr-box strong {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}
.cs-qr-box p {
  color: #8b949e;
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}
.cs-qr-box p b {
  color: #c9d1d9;
}

/* === Buy button → scan QR === */
.buy-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 680px) {
  .cs-section {
    padding: 40px 0 30px;
  }
  .cs-section .section-heading h2 {
    font-size: 22px;
  }
  .cs-section .section-heading p {
    font-size: 13px;
  }
  .cs-qr-box {
    padding: 20px 16px;
    width: 100%;
    max-width: 320px;
  }
  .cs-qr-frame {
    width: 180px;
    height: 180px;
  }
  .cs-qr-box strong {
    font-size: 14px;
  }
  .cs-qr-box p {
    font-size: 12px;
  }
}

/* ====== Mobile-First Improvements ====== */
@media (max-width: 680px) {
  /* --- Hero compact --- */
  .hero {
    min-height: 0;
    padding: 50px 0 40px;
  }
  .hero h1 {
    font-size: clamp(26px, 8vw, 36px);
    margin: 10px 0;
    letter-spacing: -0.02em;
  }
  .hero-copy > p {
    font-size: 13px;
    line-height: 1.6;
  }
  .hero-metrics {
    margin-top: 20px;
    gap: 0;
  }
  .hero-metrics > div {
    padding: 0 6px;
  }
  .hero-metrics strong {
    font-size: 18px;
  }
  .hero-metrics span {
    font-size: 10px;
  }
  .hero-actions a {
    padding: 12px 18px;
    font-size: 14px;
  }

  /* --- Product cards mobile --- */
  .product-card {
    padding: 0;
    border-radius: 10px;
  }
  .product-body {
    padding: 10px;
  }
  .product-body h3 {
    font-size: 13px;
    line-height: 1.35;
  }
  .product-detail {
    font-size: 11px;
    -webkit-line-clamp: 2;
  }
  .card-price strong {
    font-size: 17px;
  }
  .card-price del,
  .card-price small {
    font-size: 10px;
  }
  .card-actions button {
    padding: 9px 12px;
    font-size: 12px;
  }
  .tag-list span {
    font-size: 9px;
    padding: 2px 6px;
  }

  /* --- Product detail dialog mobile --- */
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 0 16px;
  }
  .detail-media {
    max-width: 260px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
  }
  .detail-copy {
    padding: 0 4px;
  }
  .detail-copy h2 {
    font-size: 18px;
    line-height: 1.3;
  }
  .detail-description {
    font-size: 13px;
    line-height: 1.5;
  }
  .detail-price strong {
    font-size: 22px;
  }
  .detail-facts {
    grid-template-columns: 1fr 1fr;
  }
  .detail-facts > div {
    padding: 8px;
  }
  .detail-actions {
    flex-direction: column;
    gap: 8px;
    position: sticky;
    bottom: 0;
    padding: 12px 0 8px;
    background: #0d1117;
  }
  .detail-actions button {
    width: 100%;
    padding: 13px;
    font-size: 14px;
    text-align: center;
  }

  /* --- Catalog mobile --- */
  .catalog-section {
    padding: 36px 0 48px;
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .catalog-toolbar {
    grid-template-columns: 1fr;
  }
  .filter-row {
    overflow-x: auto;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .filter-chip {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 12px;
  }
  .result-count {
    flex-shrink: 0;
    font-size: 11px;
  }
  .search-box input {
    font-size: 14px;
    padding: 10px 12px 10px 36px;
  }
  .sort-box select {
    font-size: 13px;
  }

  /* --- CS section mobile --- */
  .cs-section .section-heading h2 {
    font-size: 18px;
  }
  .cs-qr-box {
    padding: 18px 14px;
    max-width: 300px;
    margin: 0 auto;
  }
  .cs-qr-frame {
    width: 180px;
    height: 180px;
  }

  /* --- Header mobile --- */
  .brand strong {
    font-size: 13px;
  }
  .brand small {
    font-size: 9px;
  }
  nav a {
    font-size: 12px;
    padding: 4px 8px;
  }
  nav {
    gap: 4px;
  }

  /* --- Back to top mobile --- */
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 16px;
    right: 16px;
    font-size: 18px;
  }
}
