/* =========================================================
   天依工作室 · 自创营业小店
   ========================================================= */

:root {
  --primary: #1a6dff;
  --primary-dark: #0b53d4;
  --primary-deep: #08317d;
  --primary-soft: #eaf2ff;
  --primary-line: #cfe0ff;
  --ink: #141a29;
  --ink-2: #5b6479;
  --ink-3: #8d96a8;
  --line: #e7ebf3;
  --line-strong: #d5ddeb;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --price: #ff6a00;
  --price-dark: #e85c00;
  --green: #11a66b;
  --green-soft: #e9f8f1;
  --violet: #7154e8;
  --teal: #008d9f;
  --rose: #e25b86;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 12px rgba(20, 40, 90, 0.055);
  --shadow-md: 0 16px 42px rgba(20, 40, 90, 0.11);
  --shadow-lg: 0 28px 80px rgba(8, 26, 70, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-height: 72px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: rgba(26, 109, 255, 0.2);
  color: var(--primary-deep);
}

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

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

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
blockquote {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  vertical-align: -0.16em;
}

.fill-icon {
  fill: currentColor;
  stroke: none;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 40px);
  margin: 0 auto;
  padding-inline: 20px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
}

.eyebrow > span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow.light {
  color: #cfe2ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 7px 18px rgba(26, 109, 255, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(26, 109, 255, 0.27);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 9px 26px rgba(0, 30, 100, 0.15);
}

.btn-white:hover {
  background: #f2f7ff;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.17);
}

.btn-lg {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

/* =========================================================
   Topbar + navbar
   ========================================================= */

.topbar {
  background: #111827;
  color: #9da8be;
  font-size: 12px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.topbar-left span,
.topbar-right button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar .icon {
  width: 15px;
  height: 15px;
  stroke-width: 1.65;
}

.topbar-left {
  color: #9da8be;
}

.topbar-left em {
  font-style: normal;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 21px;
}

.topbar-right button {
  color: #9da8be;
  font-size: 12px;
  transition: color 0.2s ease;
}

.topbar-right button:hover {
  color: #fff;
}

.site-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 18px;
  background: linear-gradient(90deg, #eaf1ff, #f4f8ff 55%, #eaf1ff);
  border-bottom: 1px solid #d9e6ff;
  color: #17408f;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}

.site-notice span {
  max-width: 960px;
}

.site-notice button {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #3b5f9e;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.site-notice button:hover {
  background: rgba(26, 109, 255, 0.1);
  color: #0b3aa8;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(20, 26, 41, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease;
}

.navbar.is-scrolled {
  box-shadow: 0 8px 30px rgba(20, 40, 90, 0.09);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-height);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #f2f6fd;
  color: var(--ink-2);
}

.mobile-menu-btn .icon {
  width: 21px;
  height: 21px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: linear-gradient(145deg, #2c7bff, #0a54d9);
  color: #fff;
  box-shadow: 0 7px 16px rgba(26, 109, 255, 0.24);
}

.logo-icon .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text b {
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo-text small {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.search-shortcut {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  color: var(--ink-2);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.search-shortcut:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.search-shortcut .icon {
  width: 20px;
  height: 20px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(26, 109, 255, 0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cart-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 9px 22px rgba(26, 109, 255, 0.27);
  transform: translateY(-1px);
}

.cart-btn .icon {
  width: 19px;
  height: 19px;
}

.cart-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(126deg, #08266a 0%, #0e50dd 47%, #2d82ff 100%);
  color: #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 35%, rgba(151, 203, 255, 0.3), transparent 31%),
    radial-gradient(circle at 13% 100%, rgba(53, 125, 255, 0.5), transparent 38%);
  content: "";
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 85%, transparent);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-a {
  top: -210px;
  right: 8%;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 100px rgba(143, 194, 255, 0.08) inset;
}

.hero-glow-b {
  bottom: -280px;
  left: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  padding-top: 67px;
  padding-bottom: 100px;
}

.hero-copy {
  animation: heroCopyIn 0.8s var(--ease) both;
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  backdrop-filter: blur(8px);
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #74edb8;
  box-shadow: 0 0 0 4px rgba(116, 237, 184, 0.13);
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(34px, 4vw, 49px);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 span {
  color: #c9e2ff;
}

.hero-sub {
  margin-top: 21px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.035em;
}

.hero-desc {
  max-width: 495px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.9;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 29px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 40px;
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-stats b {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-stats b span {
  margin-left: 2px;
  color: #a9ceff;
  font-size: 12px;
  font-weight: 500;
}

.hero-stats small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.hero-stats > i {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 435px;
  animation: heroArtIn 1s 0.14s var(--ease) both;
}

@keyframes heroArtIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dream-orbit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(420px, 84%);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(189, 222, 255, 0.18), transparent 52%),
    rgba(255, 255, 255, 0.025);
  box-shadow:
    inset 0 0 80px rgba(158, 207, 255, 0.06),
    0 0 0 22px rgba(255, 255, 255, 0.014);
}

.dream-orbit::before {
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "";
  animation: orbitSpin 36s linear infinite;
}

.dream-orbit::after {
  position: absolute;
  inset: -22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

.dream-core {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.25), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.055));
  box-shadow:
    inset 0 0 55px rgba(255, 255, 255, 0.08),
    0 25px 70px rgba(3, 24, 83, 0.25);
  backdrop-filter: blur(8px);
}

.core-halo {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: rgba(174, 216, 255, 0.18);
  filter: blur(25px);
}

.hero-star {
  position: relative;
  z-index: 1;
  width: 34%;
  height: 34%;
  color: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 8px 22px rgba(180, 221, 255, 0.38));
  animation: starFloat 5s ease-in-out infinite;
}

@keyframes starFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(4deg);
  }
}

.core-caption {
  position: relative;
  z-index: 1;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 7px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.34em;
  text-align: center;
}

.orbit-caption {
  position: absolute;
  color: rgba(255, 255, 255, 0.34);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.orbit-caption-top {
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-caption-bottom {
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-spark {
  position: absolute;
  z-index: 2;
  color: #d4e8ff;
  text-shadow: 0 0 16px rgba(190, 225, 255, 0.85);
}

.orbit-spark-1 {
  top: 19%;
  right: 11%;
  font-size: 14px;
}

.orbit-spark-2 {
  bottom: 20%;
  left: 12%;
  font-size: 10px;
}

.orbit-spark-3 {
  top: 36%;
  left: 4%;
  font-size: 16px;
  opacity: 0.65;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 14px 35px rgba(3, 22, 72, 0.14);
  backdrop-filter: blur(12px);
  animation: floatCard 6s ease-in-out infinite;
}

.float-card:nth-of-type(2) {
  animation-delay: -1.8s;
}

.float-card:nth-of-type(3) {
  animation-delay: -3.6s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #d7eaff;
}

.float-icon .icon {
  width: 17px;
  height: 17px;
}

.float-card > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.float-card b {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.float-card small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  white-space: nowrap;
}

.float-card-a {
  top: 20px;
  left: -32px;
}

.float-card-b {
  top: 43%;
  right: -43px;
}

.float-card-c {
  right: 16px;
  bottom: 15px;
}

.hero-note {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: -19px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 9px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 15px 40px rgba(3, 22, 72, 0.2);
}

.hero-note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: #fff3e7;
  color: var(--price);
}

.hero-note-icon .icon {
  width: 16px;
  height: 16px;
}

.hero-note > span:last-child {
  display: flex;
  flex-direction: column;
}

.hero-note small {
  color: var(--ink-3);
  font-size: 8px;
}

.hero-note b {
  font-size: 10px;
  font-weight: 600;
}

/* =========================================================
   Service strip
   ========================================================= */

.service-bar {
  position: relative;
  z-index: 10;
  background: var(--bg);
}

.service-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -41px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 13px 38px rgba(20, 40, 90, 0.08);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 94px;
  padding: 18px 23px;
  border-right: 1px solid #eef1f7;
}

.service-item:last-child {
  border-right: 0;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}

.service-icon .icon {
  width: 20px;
  height: 20px;
}

.service-item > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.service-item b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.service-item small {
  overflow: hidden;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================
   Catalog
   ========================================================= */

.catalog-section {
  padding: 76px 0 93px;
  background: var(--bg);
}

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

.catalog-heading h2,
.process-heading h2 {
  color: var(--ink);
  font-size: clamp(32px, 3.7vw, 43px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.catalog-intro {
  max-width: 590px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.85;
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 336px;
  min-height: 46px;
  flex: 0 0 auto;
  padding: 5px 7px 5px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.1);
}

.catalog-search > .icon {
  width: 18px;
  height: 18px;
  color: var(--ink-3);
}

.catalog-search input {
  width: 100%;
  min-width: 0;
  padding: 5px 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 13px;
}

.catalog-search input::placeholder {
  color: #aeb6c6;
}

.catalog-search input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border-radius: 6px;
  color: var(--ink-3);
}

.search-clear:hover {
  background: #f1f4fa;
  color: var(--ink);
}

.search-clear .icon {
  width: 15px;
  height: 15px;
}

.catalog-toolbar {
  position: sticky;
  top: 72px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 28px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(245, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.tab .icon {
  width: 17px;
  height: 17px;
  color: var(--ink-3);
  transition: color 0.2s ease;
}

.tab:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.tab:hover .icon {
  color: var(--primary);
}

.tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 5px 15px rgba(26, 109, 255, 0.26);
}

.tab.active .icon {
  color: #fff;
}

.result-count {
  padding-right: 10px;
  color: var(--ink-3);
  font-size: 11px;
  white-space: nowrap;
}

.grid-section {
  margin-bottom: 48px;
  scroll-margin-top: 160px;
}

.grid-section:last-child {
  margin-bottom: 0;
}

.grid-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}

.grid-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.grid-section-title .icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.grid-section-title::before {
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: var(--primary);
  content: "";
}

.grid-section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 20px;
  padding: 0 7px;
  border-radius: 10px;
  background: #e9eef8;
  color: var(--ink-3);
  font-size: 9px;
  font-weight: 600;
}

.grid-section-desc {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 56%;
  margin-left: auto;
  overflow: hidden;
  color: var(--ink-3);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grid-section-desc .icon {
  width: 13px;
  height: 13px;
}

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

.product-card {
  --accent: var(--primary);
  --accent-soft: var(--primary-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 40, 90, 0.015);
  transition:
    transform 0.28s var(--ease),
    border-color 0.25s ease,
    box-shadow 0.28s ease;
  animation: cardIn 0.45s both;
}

.product-card::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
  opacity: 0.38;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover {
  border-color: #bcd4ff;
  box-shadow: 0 15px 37px rgba(20, 55, 130, 0.1);
  transform: translateY(-4px);
}

.p-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 11px;
  border-radius: 0 13px 0 10px;
  background: linear-gradient(135deg, #ff973e, #ff5e34);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.p-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 3px 0 14px;
}

.p-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.p-icon .icon {
  width: 24px;
  height: 24px;
}

.product-card:hover .p-icon {
  background: var(--accent);
  color: #fff;
}

.p-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.p-desc {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.5;
}

.p-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  min-height: 39px;
  margin-bottom: 14px;
  color: var(--price);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.p-price .currency {
  font-size: 15px;
  font-weight: 700;
}

.p-price small {
  margin-left: 5px;
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

.p-price.negotiable {
  color: var(--ink-2);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.p-features {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  margin: 0 0 18px;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line);
  list-style: none;
}

.p-features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 3.5px 0;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.55;
}

.p-features .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: var(--green);
  stroke-width: 2.2;
}

.p-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  background: #f5f9ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.p-card-btn .icon {
  width: 16px;
  height: 16px;
}

.p-card-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.empty-state {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 77px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.empty-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.empty-illustration .icon {
  width: 31px;
  height: 31px;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 700;
}

.empty-state p {
  margin: 6px 0 20px;
  color: var(--ink-3);
  font-size: 12px;
}

/* =========================================================
   Process
   ========================================================= */

.process-section {
  padding: 92px 0;
  background: #fff;
}

.process-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.57fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 40px;
}

.process-heading > p {
  padding-bottom: 4px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.9;
  text-align: right;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.process-card {
  position: relative;
  overflow: hidden;
  min-height: 262px;
  padding: 24px 21px 21px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8faff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease);
}

.process-card:hover {
  border-color: var(--primary-line);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.process-number {
  position: absolute;
  top: 8px;
  right: 15px;
  color: rgba(26, 109, 255, 0.075);
  font-size: 53px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.process-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 31px;
  border: 1px solid var(--primary-line);
  border-radius: 11px;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 5px 14px rgba(26, 109, 255, 0.07);
}

.process-icon .icon {
  width: 20px;
  height: 20px;
}

.process-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.process-card p {
  margin-top: 7px;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.8;
}

.process-tag {
  display: inline-block;
  margin-top: 15px;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 9px;
  font-weight: 600;
}

/* =========================================================
   CTA + footer
   ========================================================= */

.cta-section {
  padding: 0 0 88px;
  background: #fff;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  padding: 43px 47px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 12%, rgba(172, 215, 255, 0.3), transparent 31%),
    linear-gradient(120deg, #08296d, #1458e2 58%, #2779ff);
  color: #fff;
}

.cta-inner::before {
  position: absolute;
  right: 19%;
  bottom: -90px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.cta-inner > div:not(.cta-decoration) {
  position: relative;
  z-index: 1;
}

.cta-inner .eyebrow {
  margin-bottom: 12px;
}

.cta-inner h2 {
  font-size: clamp(27px, 3vw, 37px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.cta-inner .btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.cta-decoration span {
  position: absolute;
  color: rgba(255, 255, 255, 0.4);
}

.cta-decoration span:nth-child(1) {
  top: 23px;
  right: 31%;
  font-size: 16px;
}

.cta-decoration span:nth-child(2) {
  right: 13%;
  bottom: 26px;
  font-size: 11px;
}

.cta-decoration span:nth-child(3) {
  top: 30px;
  right: 6%;
  font-size: 10px;
}

.footer {
  background: #0e1524;
  color: #8893a9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr 0.75fr 1fr;
  gap: 47px;
  padding-top: 54px;
  padding-bottom: 45px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-brand .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.footer-brand .logo-icon .icon {
  width: 21px;
  height: 21px;
}

.footer-brand b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-brand-col > p {
  max-width: 360px;
  color: #8e98ac;
  font-size: 11px;
  line-height: 1.8;
}

.footer-brand-col > p.footer-muted {
  margin-top: 7px;
  color: #667187;
  font-size: 10px;
}

.footer-socials {
  display: flex;
  gap: 7px;
  margin-top: 16px;
}

.footer-socials button {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: #96a1b5;
  font-size: 9px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-socials button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.footer-col {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.footer-col h3 {
  margin: 4px 0 7px;
  color: #f1f4f9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer-col p,
.footer-col > button:not(.footer-contact) {
  color: #7b869a;
  font-size: 10px;
  line-height: 1.7;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-col > button:hover {
  color: #cdd9ed;
}

.footer-contact {
  margin-top: 8px;
  color: #82b3ff !important;
  font-size: 10px !important;
}

.footer-contact span {
  margin-left: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 50px;
  color: #505b6f;
  font-size: 9px;
}

/* =========================================================
   Overlay / drawer
   ========================================================= */

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(10, 18, 35, 0.48);
  opacity: 0;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(2px);
}

.page-overlay.visible {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  width: min(455px, 100%);
  height: 100vh;
  height: 100dvh;
  background: #fff;
  box-shadow: -18px 0 55px rgba(10, 22, 50, 0.16);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.38s var(--ease), visibility 0.38s;
}

.cart-drawer.open {
  visibility: visible;
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-eyebrow,
.modal-eyebrow {
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
}

.cart-head h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.cart-head h2 .icon {
  width: 21px;
  height: 21px;
  color: var(--primary);
}

.cart-head h2 span {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #f2f5fa;
  color: var(--ink-2);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  background: #e8edf6;
  color: var(--ink);
}

.icon-btn .icon {
  width: 18px;
  height: 18px;
}

.cart-body {
  flex: 1;
  min-height: 0;
  padding: 2px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cart-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 45px 20px;
  text-align: center;
}

.cart-empty .empty-illustration {
  width: 82px;
  height: 82px;
  margin-bottom: 19px;
  background: #f2f6fd;
  color: var(--primary);
}

.cart-empty .empty-illustration .icon {
  width: 37px;
  height: 37px;
}

.cart-empty h3 {
  font-size: 19px;
  font-weight: 700;
}

.cart-empty p {
  margin: 5px 0 19px;
  color: var(--ink-3);
  font-size: 11px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid #eff2f7;
}

.c-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
}

.c-item-icon .icon {
  width: 24px;
  height: 24px;
}

.c-item-info {
  flex: 1;
  min-width: 0;
}

.c-item-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  word-break: break-word;
}

.c-item-meta {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 10px;
}

.c-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.c-item-price {
  color: var(--price);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.c-item-price.negotiable {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 500;
}

.c-item-del {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  align-self: flex-start;
  border-radius: 6px;
  color: #a3adbe;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.c-item-del:hover {
  background: #fff0f1;
  color: #ef4d5b;
}

.c-item-del .icon {
  width: 15px;
  height: 15px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.stepper button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 100%;
  background: #f7f9fc;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.stepper button:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.stepper button:disabled {
  color: #c1c8d5;
  cursor: not-allowed;
}

.stepper input,
.stepper .stepper-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 100%;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  text-align: center;
}

.cart-foot {
  flex: 0 0 auto;
  padding: 18px 24px 20px;
  border-top: 1px solid var(--line);
  background: #fbfcff;
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--ink-2);
  font-size: 13px;
}

.cart-total-row b {
  display: inline-flex;
  align-items: baseline;
  color: var(--price);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.cart-total-row b small {
  margin-right: 2px;
  font-size: 14px;
  font-weight: 700;
}

.cart-foot-note {
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 9px;
  text-align: right;
}

.cart-foot .btn {
  margin-top: 13px;
  min-height: 46px;
}

.cart-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin-top: 11px;
  color: var(--ink-3);
  font-size: 8px;
}

.cart-trust span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cart-trust .icon {
  width: 12px;
  height: 12px;
  color: var(--green);
}

/* =========================================================
   Modals
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 34, 0.55);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: min(90vh, 880px);
  max-height: min(90dvh, 880px);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.3s var(--ease);
}

.modal.show .modal-card {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex: 0 0 auto;
  padding: 21px 24px 17px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 23px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
  scrollbar-width: thin;
  scrollbar-color: #c9d7ec transparent;
}

.modal-body::-webkit-scrollbar,
.checkout-body::-webkit-scrollbar {
  width: 7px;
}

.modal-body::-webkit-scrollbar-track,
.checkout-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb,
.checkout-body::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  background: #c9d7ec;
  background-clip: padding-box;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 0 0 auto;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  background: #fbfcff;
}

.foot-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.foot-price > span {
  color: var(--ink-3);
  font-size: 9px;
}

.foot-price b {
  color: var(--price);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

/* =========================================================
   Buy modal
   ========================================================= */

.buy-card {
  width: min(620px, 100%);
}

.buy-body {
  padding-top: 21px;
}

.buy-preview {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.buy-preview .p-icon {
  width: 54px;
  height: 54px;
}

.buy-preview h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.buy-preview p {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 11px;
}

.form-group {
  margin-top: 19px;
}

.form-group > label,
.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.form-label small {
  color: var(--ink-3);
  font-size: 9px;
  font-weight: 400;
}

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

.opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.opt span {
  line-height: 1.4;
}

.opt b {
  flex: 0 0 auto;
  color: var(--price);
  font-size: 11px;
  font-weight: 600;
}

.opt:hover {
  border-color: #b8d1ff;
  background: #fbfdff;
}

.opt.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.opt.active b {
  color: var(--primary);
}

.select-input,
.text-input,
.textarea-input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.select-input,
.text-input {
  height: 43px;
  padding: 0 12px;
}

.textarea-input {
  min-height: 87px;
  padding: 10px 12px;
  line-height: 1.7;
  resize: vertical;
}

.select-input:focus,
.text-input:focus,
.textarea-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.1);
}

.buy-controls {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}

.buy-control .form-label {
  margin-bottom: 7px;
}

.buy-control .stepper {
  height: 38px;
}

.buy-control .stepper button {
  width: 35px;
}

.buy-control .stepper input,
.buy-control .stepper .stepper-value {
  width: 44px;
}

.buy-note {
  margin-top: 19px;
  padding: 11px 13px;
  border: 1px dashed var(--primary-line);
  border-radius: 8px;
  background: #f7faff;
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.75;
}

/* =========================================================
   Checkout — the scroll area is intentionally isolated
   ========================================================= */

.checkout-card {
  width: min(1040px, 100%);
  height: min(90vh, 860px);
  height: min(90dvh, 860px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
}

.checkout-head {
  padding: 18px 26px 15px;
}

.checkout-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 19px 24px 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
  scrollbar-width: thin;
  scrollbar-color: #c9d7ec transparent;
  background:
    linear-gradient(180deg, rgba(237, 243, 254, 0.75), rgba(247, 249, 253, 0) 150px),
    #f7f9fd;
}

.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 13px;
  padding: 7px 12px;
  border: 1px solid #dbe8ff;
  border-radius: 7px;
  background: #f1f7ff;
  color: #5f85b9;
  font-size: 9px;
  transition: opacity 0.25s ease;
}

.scroll-hint .icon {
  width: 13px;
  height: 13px;
  animation: hintBounce 1.8s ease-in-out infinite;
}

@keyframes hintBounce {
  0%,
  100% {
    transform: translateY(-1px);
  }
  50% {
    transform: translateY(3px);
  }
}

.checkout-body.is-scrolled .scroll-hint {
  opacity: 0;
  visibility: hidden;
  margin-bottom: 0;
  height: 0;
  padding-block: 0;
  overflow: hidden;
  border-width: 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  align-items: start;
  gap: 16px;
}

.checkout-form {
  min-width: 0;
}

.checkout-section {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 40, 90, 0.025);
}

.checkout-section + .checkout-section {
  margin-top: 11px;
}

.section-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 9px;
  font-weight: 700;
}

.checkout-section-content {
  min-width: 0;
}

.checkout-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 3px;
}

.checkout-section-head h3 {
  font-size: 14px;
  font-weight: 700;
}

.checkout-section-head > span {
  color: var(--ink-3);
  font-size: 8px;
}

.optional-label {
  color: var(--primary) !important;
}

.section-note {
  margin-bottom: 13px;
  color: var(--ink-3);
  font-size: 9px;
  line-height: 1.6;
}

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

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

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

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.field + .field {
  margin-top: 0;
}

.field > span:not(.sr-only) {
  color: var(--ink-2);
  font-size: 9px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input,
.field select {
  height: 39px;
  padding: 0 10px;
}

.field textarea {
  min-height: 72px;
  padding: 9px 10px;
  line-height: 1.65;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b1b9c7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.09);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #ef5b66;
  background: #fff9f9;
  box-shadow: 0 0 0 3px rgba(239, 91, 102, 0.08);
}

.form-grid + .field {
  margin-top: 10px;
}

.region-grid {
  margin-top: 10px;
}

.shipping-address {
  margin-top: 10px;
}

.field-error {
  margin-top: 7px;
  color: #e24b58;
  font-size: 9px;
  line-height: 1.5;
}

.choice-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

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

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.choice-card:hover {
  border-color: #b9d2ff;
}

.choice-card:has(input:checked) {
  border-color: var(--primary);
  background: #f5f9ff;
  box-shadow: inset 0 0 0 1px var(--primary);
}

.choice-card:has(input:focus-visible) {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
}

.choice-icon .icon {
  width: 17px;
  height: 17px;
}

.pay-wechat {
  background: #e9f8ef;
  color: #13a45d;
}

.pay-alipay {
  background: #eaf3ff;
  color: #1677ff;
}

.choice-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.choice-copy b {
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.choice-copy small {
  overflow: hidden;
  color: var(--ink-3);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.choice-price {
  color: var(--ink-2);
  font-size: 8px;
  white-space: nowrap;
}

.choice-radio {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border: 1px solid #bcC6d8;
  border-radius: 50%;
}

.choice-card:has(input:checked) .choice-radio {
  border-color: var(--primary);
}

.choice-card:has(input:checked) .choice-radio::after {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.checkout-summary {
  min-width: 0;
  color: #eaf0fb;
  border-radius: 12px;
  background:
    radial-gradient(circle at 90% 8%, rgba(55, 125, 240, 0.32), transparent 31%),
    #101d38;
  box-shadow: 0 12px 28px rgba(13, 28, 57, 0.14);
}

.summary-sticky {
  padding: 19px 17px;
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-head h3 {
  font-size: 14px;
  font-weight: 700;
}

.summary-head > span {
  color: #7f94b5;
  font-size: 9px;
}

.summary-items {
  padding: 4px 0;
}

.summary-item {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.summary-item:last-child {
  border-bottom: 0;
}

.summary-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border-radius: 8px;
  background: rgba(101, 156, 245, 0.15);
  color: #8ebcff;
}

.summary-item-icon .icon {
  width: 18px;
  height: 18px;
}

.summary-item div {
  min-width: 0;
}

.summary-item h4 {
  overflow: hidden;
  color: #eef4ff;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-item p {
  margin-top: 2px;
  color: #7186a8;
  font-size: 8px;
}

.summary-item > strong {
  color: #c8d7ec;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}

.summary-lines {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-lines p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  color: #8296b5;
  font-size: 9px;
}

.summary-lines strong {
  color: #d9e5f7;
  font-size: 9px;
  font-weight: 500;
}

.summary-lines .summary-total {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd8ea;
  font-size: 10px;
}

.summary-lines .summary-total strong {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.summary-note {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid rgba(122, 167, 240, 0.18);
  border-radius: 8px;
  background: rgba(89, 143, 229, 0.08);
}

.summary-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex: 0 0 auto;
  color: #7db2ff;
}

.summary-note p {
  color: #7690b4;
  font-size: 8px;
  line-height: 1.6;
}

.summary-note b {
  color: #adc6e8;
  font-weight: 500;
}

.checkout-foot {
  min-height: 72px;
  padding: 13px 26px;
  background: #fff;
  box-shadow: 0 -10px 26px rgba(20, 40, 90, 0.045);
}

.checkout-foot-info {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 7px;
}

.checkout-foot-info > span {
  color: var(--ink-2);
  font-size: 10px;
}

.checkout-foot-info b {
  color: var(--price);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.checkout-foot-info small {
  color: var(--ink-3);
  font-size: 8px;
}

.btn-checkout {
  min-width: 166px;
  min-height: 45px;
  font-size: 13px;
}

.btn-checkout.is-loading {
  opacity: 0.78;
  cursor: progress;
}

.btn-checkout.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ty-spin 0.8s linear infinite;
}

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

/* =========================================================
   Contact / info / payment
   ========================================================= */

.contact-card {
  width: min(600px, 100%);
}

.contact-body {
  padding-top: 20px;
}

.contact-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: #f4f8ff;
}

.contact-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 14px rgba(26, 109, 255, 0.2);
}

.contact-avatar .icon {
  width: 21px;
  height: 21px;
}

.contact-intro p {
  color: var(--ink-2);
  font-size: 10px;
}

.contact-intro b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.contact-methods button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-methods button:hover {
  border-color: var(--primary-line);
  background: #fbfdff;
}

.contact-methods span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 9px;
  font-weight: 700;
}

.contact-methods b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.contact-methods small {
  color: var(--ink-3);
  font-size: 8px;
}

.contact-email {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 10px;
  text-align: center;
  word-break: break-all;
}

.contact-form {
  margin-top: 18px;
}

.contact-form .form-grid .field + .field {
  margin-top: 0;
}

.contact-form .form-grid + .field {
  margin-top: 10px;
}

.contact-form .btn {
  margin-top: 14px;
  min-height: 44px;
}

.demo-tip {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
}

.info-card {
  width: min(560px, 100%);
}

.info-body {
  padding: 24px;
}

.info-block + .info-block {
  margin-top: 21px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.info-block h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.info-block h3 .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.info-block p,
.info-block li {
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.9;
}

.info-block ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding-left: 17px;
}

.info-note {
  margin-top: 15px;
  padding: 11px 12px;
  border: 1px dashed var(--primary-line);
  border-radius: 8px;
  background: #f7faff;
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.75;
}

.pay-card {
  width: min(420px, 100%);
}

.pay-body {
  padding: 20px 24px;
  text-align: center;
}

.success-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 11px;
  border: 1px solid #bdebd7;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.success-badge .icon {
  width: 27px;
  height: 27px;
  stroke-width: 2;
}

.pay-lead {
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.7;
}

.pay-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 15px;
  color: var(--ink-3);
  font-size: 10px;
}

.pay-amount b {
  color: var(--price);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.qr-wrap {
  position: relative;
  width: 174px;
  margin: 0 auto;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(20, 40, 90, 0.08);
}

.qr-wrap img {
  width: 100%;
  border-radius: 4px;
}

.qr-wrap > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(20, 26, 41, 0.72);
  color: #fff;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pay-method {
  margin-top: 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.pay-order {
  margin-top: 3px;
  color: var(--ink-3);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.pay-note {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 8px;
  line-height: 1.7;
}

.pay-body .btn-block {
  margin-top: 17px;
}

/* =========================================================
   Mobile menu / toast
   ========================================================= */

.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 920;
  display: flex;
  flex-direction: column;
  width: min(370px, 88vw);
  padding: 22px;
  background: #fff;
  box-shadow: 18px 0 55px rgba(10, 22, 50, 0.16);
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform 0.38s var(--ease), visibility 0.38s;
}

.mobile-menu.open {
  visibility: visible;
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-head .logo-text b {
  font-size: 16px;
}

.mobile-menu-head .logo-text small {
  font-size: 8px;
  letter-spacing: 0.06em;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.mobile-nav p {
  margin: 7px 0 7px;
  color: var(--ink-3);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.mobile-nav p:not(:first-child) {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.mobile-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px;
  color: var(--ink);
  font-size: 14px;
  text-align: left;
}

.mobile-nav button span {
  color: var(--ink-3);
  font-size: 9px;
  font-weight: 500;
}

.mobile-nav button:hover {
  color: var(--primary);
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mobile-menu-foot p {
  color: var(--ink-3);
  font-size: 9px;
}

.mobile-menu-foot b {
  display: block;
  margin-top: 5px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: min(420px, calc(100vw - 28px));
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(17, 24, 39, 0.95);
  color: #fff;
  box-shadow: 0 12px 35px rgba(10, 20, 40, 0.24);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 13px);
  transition: opacity 0.28s ease, transform 0.28s var(--ease);
  backdrop-filter: blur(8px);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(78, 216, 155, 0.15);
  color: #6ee7ae;
}

.toast-icon .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.toast.is-warning .toast-icon {
  background: rgba(255, 164, 75, 0.15);
  color: #ffb96f;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1120px) {
  .nav-links {
    gap: 0;
  }

  .nav-link {
    padding-inline: 10px;
    font-size: 13px;
  }

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

  .hero-inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(350px, 0.96fr);
    gap: 28px;
  }

  .float-card-b {
    right: -20px;
  }

  .float-card-a {
    left: -14px;
  }

  .hero-note {
    left: 0;
  }

  .service-item {
    padding-inline: 16px;
  }

  .service-item small {
    white-space: normal;
  }

  .footer-grid {
    gap: 32px;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .navbar-inner {
    gap: 12px;
  }

  .logo {
    margin-right: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 57px;
    padding-bottom: 87px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(37px, 6.2vw, 49px);
  }

  .hero-visual {
    max-width: 660px;
    width: 100%;
    min-height: 420px;
    margin: 8px auto 0;
  }

  .dream-orbit {
    width: min(380px, 73%);
  }

  .float-card-a {
    left: 6%;
  }

  .float-card-b {
    right: 2%;
  }

  .float-card-c {
    right: 8%;
    bottom: 12px;
  }

  .hero-note {
    bottom: 16px;
    left: 5%;
  }

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

  .service-item:nth-child(2) {
    border-right: 0;
  }

  .service-item:nth-child(-n + 2) {
    border-bottom: 1px solid #eef1f7;
  }

  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .catalog-search {
    width: min(100%, 440px);
  }

  .process-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-heading > p {
    max-width: 560px;
    text-align: left;
  }

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

  .process-card {
    min-height: 230px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    gap: 7px 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
  }

  .footer-col:last-child h3 {
    grid-column: 1 / -1;
    margin: 0 0 2px;
  }

  .footer-contact {
    margin: 0;
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  .topbar-left {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
    min-height: 34px;
  }

  .topbar-right {
    gap: 18px;
  }

  .topbar-right button {
    font-size: 10px;
  }

  :root {
    --nav-height: 63px;
  }

  .navbar-inner {
    height: 63px;
  }

  .logo-icon {
    width: 37px;
    height: 37px;
    border-radius: 10px;
  }

  .logo-icon .icon {
    width: 21px;
    height: 21px;
  }

  .logo-text b {
    font-size: 16px;
  }

  .logo-text small {
    font-size: 7px;
    letter-spacing: 0.06em;
  }

  .search-shortcut {
    width: 36px;
    height: 36px;
  }

  .cart-btn {
    min-height: 37px;
    padding: 7px 10px;
    gap: 6px;
  }

  .cart-btn-label {
    display: none;
  }

  .cart-btn .icon {
    width: 18px;
    height: 18px;
  }

  .cart-badge {
    min-width: 18px;
    height: 18px;
  }

  .hero-inner {
    padding-top: 47px;
    padding-bottom: 76px;
    gap: 33px;
  }

  .hero-tag {
    padding: 5px 10px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    font-size: clamp(29px, 8.2vw, 40px);
    line-height: 1.43;
  }

  .hero-sub {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.8;
  }

  .hero-desc {
    font-size: 11px;
    line-height: 1.8;
  }

  .hero-btns {
    margin-top: 22px;
    gap: 9px;
  }

  .hero-btns .btn {
    min-height: 44px;
    padding: 10px 17px;
    font-size: 13px;
  }

  .hero-stats {
    gap: 17px;
    margin-top: 29px;
  }

  .hero-stats b {
    font-size: 20px;
  }

  .hero-stats small {
    font-size: 8px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .dream-orbit {
    width: min(300px, 73%);
  }

  .float-card {
    padding: 7px 9px 7px 7px;
    gap: 7px;
    border-radius: 9px;
  }

  .float-icon {
    width: 27px;
    height: 27px;
  }

  .float-icon .icon {
    width: 14px;
    height: 14px;
  }

  .float-card b {
    font-size: 9px;
  }

  .float-card small {
    font-size: 7px;
  }

  .float-card-a {
    top: 11px;
    left: 0;
  }

  .float-card-b {
    top: 43%;
    right: 0;
  }

  .float-card-c {
    right: 2%;
    bottom: 5px;
  }

  .hero-note {
    bottom: 2px;
    left: 0;
    padding: 7px;
  }

  .hero-note-icon {
    width: 26px;
    height: 26px;
  }

  .hero-note small {
    font-size: 7px;
  }

  .hero-note b {
    font-size: 9px;
  }

  .service-grid {
    margin-top: -32px;
  }

  .service-item {
    min-height: 78px;
    padding: 13px 12px;
    gap: 9px;
  }

  .service-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .service-icon .icon {
    width: 17px;
    height: 17px;
  }

  .service-item b {
    font-size: 10px;
  }

  .service-item small {
    font-size: 8px;
  }

  .catalog-section {
    padding: 57px 0 65px;
  }

  .catalog-heading h2,
  .process-heading h2 {
    font-size: 32px;
  }

  .catalog-intro {
    font-size: 11px;
  }

  .catalog-search {
    width: 100%;
    min-height: 44px;
  }

  .catalog-toolbar {
    top: 63px;
    margin: 22px 0 23px;
    padding: 4px;
    background: rgba(245, 247, 251, 0.95);
  }

  .tabs {
    width: 100%;
    padding: 3px;
  }

  .tab {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 11px;
  }

  .tab .icon {
    width: 15px;
    height: 15px;
  }

  .result-count {
    display: none;
  }

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

  .product-card {
    padding: 16px;
    border-radius: 11px;
  }

  .p-head {
    gap: 8px;
    margin-bottom: 11px;
  }

  .p-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .p-icon .icon {
    width: 21px;
    height: 21px;
  }

  .p-name {
    font-size: 14px;
  }

  .p-desc {
    font-size: 9px;
  }

  .p-price {
    min-height: 32px;
    margin-bottom: 10px;
    font-size: 23px;
  }

  .p-price .currency {
    font-size: 13px;
  }

  .p-price small {
    font-size: 8px;
  }

  .p-price.negotiable {
    font-size: 15px;
  }

  .p-features {
    padding-top: 9px;
    margin-bottom: 13px;
  }

  .p-features li {
    gap: 5px;
    padding: 2.5px 0;
    font-size: 9px;
  }

  .p-features .icon {
    width: 11px;
    height: 11px;
  }

  .p-card-btn {
    min-height: 36px;
    font-size: 10px;
  }

  .grid-section {
    margin-bottom: 35px;
  }

  .grid-section-title {
    font-size: 16px;
  }

  .grid-section-desc {
    display: none;
  }

  .process-section {
    padding: 64px 0;
  }

  .process-grid {
    gap: 9px;
  }

  .process-card {
    min-height: 220px;
    padding: 18px 15px;
  }

  .process-number {
    font-size: 42px;
  }

  .process-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 22px;
  }

  .process-card h3 {
    font-size: 13px;
  }

  .process-card p {
    font-size: 10px;
  }

  .cta-section {
    padding-bottom: 64px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding: 28px 23px;
    border-radius: 15px;
  }

  .cta-inner h2 {
    font-size: 27px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
    padding-top: 40px;
    padding-bottom: 34px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-col:last-child h3 {
    grid-column: auto;
  }

  .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 58px;
  }

  .modal {
    padding: 10px;
  }

  .modal-card {
    max-height: calc(100dvh - 20px);
    border-radius: 14px;
  }

  .modal-head {
    padding: 17px 18px 14px;
  }

  .modal-body {
    padding: 18px;
  }

  .modal-foot {
    padding: 12px 18px;
  }

  .checkout-card {
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 14px;
  }

  .checkout-head {
    padding: 15px 18px 13px;
  }

  .checkout-head h2 {
    font-size: 19px;
  }

  .checkout-body {
    padding: 13px 13px 20px;
    -webkit-overflow-scrolling: touch;
  }

  .scroll-hint {
    margin-bottom: 10px;
    font-size: 8px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .checkout-section {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    padding: 14px;
  }

  .section-index {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }

  .checkout-section-head h3 {
    font-size: 13px;
  }

  .form-grid.three {
    grid-template-columns: 1fr;
    gap: 9px;
  }

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

  .field input,
  .field select {
    height: 42px;
    font-size: 12px;
  }

  .choice-grid.two {
    grid-template-columns: 1fr;
  }

  .choice-card {
    padding: 11px;
  }

  .checkout-summary {
    border-radius: 10px;
  }

  .summary-sticky {
    padding: 15px;
  }

  .checkout-foot {
    min-height: 67px;
    padding: 10px 14px;
    gap: 10px;
  }

  .checkout-foot-info {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 6px;
  }

  .checkout-foot-info > span {
    grid-column: 1 / -1;
    font-size: 8px;
  }

  .checkout-foot-info b {
    font-size: 21px;
  }

  .checkout-foot-info small {
    display: none;
  }

  .btn-checkout {
    min-width: 137px;
    min-height: 42px;
    padding-inline: 13px;
    font-size: 12px;
  }

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

  .pay-card .modal-body {
    padding: 17px 18px;
  }

  .qr-wrap {
    width: 160px;
  }

  .cart-drawer {
    width: 100%;
  }

  .cart-head {
    padding: 18px;
  }

  .cart-body {
    padding-inline: 18px;
  }

  .cart-foot {
    padding: 15px 18px calc(15px + env(safe-area-inset-bottom));
  }

  .toast {
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }

  .topbar-right button:nth-child(2) {
    display: none;
  }

  .topbar-right {
    gap: 20px;
  }

  .logo-text b {
    font-size: 15px;
  }

  .logo-text small {
    display: none;
  }

  .logo {
    gap: 8px;
  }

  .hero-inner {
    padding-top: 38px;
    padding-bottom: 68px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.46;
  }

  .hero-stats {
    justify-content: space-between;
    gap: 8px;
  }

  .hero-stats > i {
    height: 24px;
  }

  .hero-stats small {
    font-size: 7px;
  }

  .hero-visual {
    min-height: 305px;
  }

  .dream-orbit {
    width: 255px;
  }

  .float-card {
    transform: scale(0.9);
  }

  .float-card-a {
    left: -8px;
  }

  .float-card-b {
    right: -10px;
  }

  .float-card-c {
    display: none;
  }

  .hero-note {
    left: -5px;
  }

  .service-item {
    padding: 11px 9px;
  }

  .service-item small {
    display: none;
  }

  .service-item b {
    font-size: 9px;
  }

  .catalog-heading h2,
  .process-heading h2 {
    font-size: 28px;
  }

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

  .product-card {
    padding: 19px;
  }

  .p-icon {
    width: 45px;
    height: 45px;
  }

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

  .p-desc {
    font-size: 10px;
  }

  .p-price {
    font-size: 25px;
  }

  .p-features li {
    font-size: 10px;
  }

  .p-card-btn {
    min-height: 39px;
    font-size: 11px;
  }

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

  .process-card {
    min-height: 0;
  }

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

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .cart-head h2 {
    font-size: 18px;
  }

  .modal {
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }

  .checkout-card {
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .checkout-head {
    padding-top: calc(14px + env(safe-area-inset-top));
  }

  .checkout-foot {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }

  .buy-card,
  .contact-card,
  .info-card,
  .pay-card {
    max-height: 94dvh;
    border-radius: 14px 14px 0 0;
    align-self: flex-end;
  }

  .modal {
    align-items: flex-end;
  }

  .checkout-card {
    align-self: stretch;
  }

  .opt-list {
    grid-template-columns: 1fr;
  }

  .checkout-section {
    padding: 13px 11px;
  }

  .checkout-body {
    padding: 10px 9px 17px;
  }

  .modal-head,
  .modal-foot {
    padding-inline: 14px;
  }

  .modal-body {
    padding: 16px 14px;
  }

  .btn-checkout {
    min-width: 125px;
  }
}

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