/* ================= nightpromo — front site styles ================= */
:root {
  --night-900: #0b0e26;
  --night-800: #12163a;
  --night-700: #1c2150;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --violet-deep: #6d28d9;
  --gold: #f6b93b;
  --gold-soft: #ffd66b;
  --gold-deep: #ff9e3d;
  --gold-ink: #3a2500;
  --cyan: #38bdf8;
  --ink: #171a33;
  --muted: #5f6480;
  --line: #e6e8f2;
  --bg: #f6f7fc;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(23, 26, 51, .08);
  --shadow-lg: 0 18px 48px rgba(23, 26, 51, .14);
  --grad: linear-gradient(100deg, #4f46e5, #7c3aed);
  --grad-shadow: rgba(79, 70, 229, .35);
  --accent-tint1: #eef0ff;
  --accent-tint2: #f3edff;
  --chip-bg: #eef0ff;
  --halo: rgba(255, 214, 107, .25);
  --hero-overlay: linear-gradient(90deg, rgba(11,14,38,.92) 0%, rgba(23,19,64,.82) 45%, rgba(59,35,120,.45) 100%);
  --cta-grad: linear-gradient(100deg, #12163a, #3b2378 55%, #6d28d9);
}
/* Theme B — Aurora 极光青绿 */
html[data-theme="aurora"] {
  --indigo: #0d9488;
  --violet: #06b6d4;
  --violet-deep: #0e7490;
  --gold: #5eead4;
  --gold-soft: #a7f3d0;
  --gold-deep: #2dd4bf;
  --gold-ink: #052e2a;
  --cyan: #67e8f9;
  --grad: linear-gradient(100deg, #0d9488, #06b6d4);
  --grad-shadow: rgba(13, 148, 136, .35);
  --accent-tint1: #e0f7f4;
  --accent-tint2: #dcf5fb;
  --chip-bg: #d9f2ee;
  --halo: rgba(94, 234, 212, .25);
  --hero-overlay: linear-gradient(90deg, rgba(3,20,26,.93) 0%, rgba(5,40,50,.84) 45%, rgba(10,90,92,.5) 100%);
  --cta-grad: linear-gradient(100deg, #062a33, #0e5a66 55%, #0d9488);
}
/* Theme C — Sunset 落日珊瑚 */
html[data-theme="sunset"] {
  --indigo: #e11d48;
  --violet: #f97316;
  --violet-deep: #be123c;
  --gold: #fbbf24;
  --gold-soft: #fcd34d;
  --gold-deep: #fb923c;
  --gold-ink: #3a1c00;
  --cyan: #fdba74;
  --grad: linear-gradient(100deg, #e11d48, #f97316);
  --grad-shadow: rgba(225, 29, 72, .32);
  --accent-tint1: #ffe4e9;
  --accent-tint2: #ffedd5;
  --chip-bg: #ffe1e7;
  --halo: rgba(251, 191, 36, .25);
  --hero-overlay: linear-gradient(90deg, rgba(22,6,16,.92) 0%, rgba(58,14,34,.84) 45%, rgba(130,32,40,.5) 100%);
  --cta-grad: linear-gradient(100deg, #2a0a18, #7c1d3a 55%, #c2410c);
}
/* Theme D — Golden 鎏金 */
html[data-theme="gold"] {
  --indigo: #b45309;
  --violet: #f59e0b;
  --violet-deep: #92400e;
  --gold: #facc15;
  --gold-soft: #fde047;
  --gold-deep: #f59e0b;
  --gold-ink: #3a2a00;
  --cyan: #fbbf24;
  --grad: linear-gradient(100deg, #b45309, #f59e0b);
  --grad-shadow: rgba(180, 83, 9, .35);
  --accent-tint1: #fdf3d8;
  --accent-tint2: #fdf0c8;
  --chip-bg: #fbeec0;
  --halo: rgba(250, 204, 21, .3);
  --hero-overlay: linear-gradient(90deg, rgba(20,14,2,.93) 0%, rgba(56,38,4,.85) 45%, rgba(133,95,12,.55) 100%);
  --cta-grad: linear-gradient(100deg, #231a02, #6b4d0a 55%, #b45309);
}
/* Theme E — Navy 海军蓝金 */
html[data-theme="navy"] {
  --indigo: #1e40af;
  --violet: #3b82f6;
  --violet-deep: #1e3a8a;
  --gold: #facc15;
  --gold-soft: #fde047;
  --gold-deep: #f59e0b;
  --gold-ink: #3a2a00;
  --cyan: #fbbf24;
  --grad: linear-gradient(100deg, #1e40af, #3b82f6);
  --grad-shadow: rgba(30, 64, 175, .35);
  --accent-tint1: #e3ecff;
  --accent-tint2: #fdf6dd;
  --chip-bg: #e0eaff;
  --halo: rgba(250, 204, 21, .28);
  --hero-overlay: linear-gradient(90deg, rgba(5,12,33,.94) 0%, rgba(10,26,64,.86) 45%, rgba(23,58,140,.55) 100%);
  --cta-grad: linear-gradient(100deg, #0a1a3c, #173a8a 55%, #1e40af);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", -apple-system, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; }
.container { width: min(1240px, 92%); margin: 0 auto; }
.ic { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.f { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: .22s; border: 2px solid transparent;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px var(--grad-shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px var(--grad-shadow); }
.btn-gold { background: linear-gradient(100deg, var(--gold), var(--gold-deep)); color: var(--gold-ink); box-shadow: 0 8px 20px var(--grad-shadow); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--indigo); color: var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-danger:hover { background: #fecaca; }
.btn-gray { background: #eef0f8; color: var(--ink); }

/* ---------- topbar ---------- */
.topbar { background: var(--night-900); color: #c9cdec; font-size: 12.5px; letter-spacing: .06em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.topbar ul { display: flex; gap: 22px; }
.topbar li { display: flex; align-items: center; gap: 7px; }
.topbar .ic { color: var(--gold-soft); width: 14px; height: 14px; }
.topbar-right { display: flex; gap: 20px; }
.topbar-right a { display: flex; align-items: center; gap: 7px; color: #c9cdec; }
.topbar-right a:hover { color: #fff; }
.topbar-right .ic { color: var(--cyan); }

/* ---------- header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 60; box-shadow: 0 2px 14px rgba(23,26,51,.06); }
.header-main { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 44px; width: auto; }
.main-nav { flex: 1; display: flex; align-items: center; height: 100%; }
.main-nav > li { position: relative; height: 100%; display: flex; align-items: center; }
.main-nav > li > a, .main-nav > li > button {
  display: flex; align-items: center; gap: 6px; padding: 0 16px; height: 100%;
  font-weight: 600; font-size: 15px; color: var(--ink); transition: .18s;
}
.main-nav > li:hover > a, .main-nav > li:hover > button { color: var(--indigo); }
.nav-caret { transition: .2s; }
.main-nav > li:hover .nav-caret { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.search-wrap { position: relative; }
.search-wrap .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 16px; height: 16px; }
.search-wrap input {
  width: 190px; padding: 9px 12px 9px 34px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #f4f5fb; outline: none; transition: .2s;
}
.search-wrap input:focus { border-color: var(--indigo); background: #fff; width: 220px; }
.header-phone { display: flex; align-items: center; gap: 9px; }
.header-phone .ic { color: var(--indigo); width: 20px; height: 20px; }
.header-phone b { font-size: 15px; display: block; line-height: 1.25; }
.header-phone span { font-size: 11.5px; color: var(--muted); display: block; }

/* mega menu */
.mega {
  position: absolute; top: 100%; left: -140px; width: 720px; background: #fff; border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow-lg); padding: 22px; display: none; z-index: 70;
  border-top: 3px solid var(--indigo);
}
.main-nav > li:hover .mega { display: block; animation: drop .18s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mega-tile { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; transition: .18s; }
.mega-tile:hover { background: var(--bg); }
.mega-tile img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; }
.mega-tile b { display: block; font-size: 14.5px; }
.mega-tile span { font-size: 12px; color: var(--muted); }
.mega-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.mega-foot a { color: var(--indigo); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }

/* mobile */
.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); place-items: center; }
.hamburger .ic { width: 22px; height: 22px; }
.mobile-menu { display: none; background: #fff; border-top: 1px solid var(--line); padding: 10px 0 18px; max-height: calc(100vh - 130px); overflow: auto; }
.mobile-menu details > summary { padding: 13px 4%; font-weight: 700; display: flex; justify-content: space-between; cursor: pointer; }
.mobile-menu details[open] > summary { color: var(--indigo); }
.mobile-menu .sub { padding: 4px 8%; display: grid; gap: 4px; }
.mobile-menu .sub a { padding: 7px 0; color: var(--muted); display: flex; justify-content: space-between; }
.mobile-menu .plain { display: block; padding: 13px 4%; font-weight: 700; }
.mobile-menu .m-search { padding: 10px 4% 8px; }
.mobile-menu .m-search input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #f4f5fb; outline: none; font-size: 15px; }
.mobile-menu .m-search input:focus { border-color: var(--indigo); background: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center;
  background:
    var(--hero-overlay),
    var(--hero-image, url('/images/hero.svg')) center/cover no-repeat;
  color: #fff; overflow: hidden;
}
.hero-inner { padding: 90px 0 150px; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22); padding: 7px 16px; border-radius: 999px;
  font-size: 13px; letter-spacing: .08em; margin-bottom: 24px; backdrop-filter: blur(4px);
}
.hero-badge .ic { color: var(--gold-soft); width: 15px; height: 15px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; font-weight: 800; margin-bottom: 20px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--gold-soft), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: #ccd2f2; max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 52px; }
.hero-stats b { font-size: 30px; display: block; color: var(--gold-soft); }
.hero-stats span { font-size: 13px; color: #aab0d8; letter-spacing: .04em; }

/* ---------- feature strip ---------- */
.feature-strip { margin-top: -74px; position: relative; z-index: 5; }
.feature-strip .container {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.feature { display: flex; gap: 16px; padding: 28px 30px; align-items: flex-start; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 15px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-tint1), var(--accent-tint2)); color: var(--indigo);
}
.feature-icon .ic { width: 24px; height: 24px; }
.feature h4 { font-size: 16px; margin-bottom: 4px; }
.feature p { font-size: 13.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; gap: 20px; }
.section-head .kicker { color: var(--indigo); font-weight: 800; letter-spacing: .14em; font-size: 13px; text-transform: uppercase; display: block; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.4px; }
.section-head .link { color: var(--indigo); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.section-head .link:hover { gap: 11px; }
.section-head .link { transition: .2s; }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card .img { aspect-ratio: 16/10; overflow: hidden; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card .body { padding: 18px 22px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cat-card h3 { font-size: 18px; }
.cat-card .count { color: var(--muted); font-size: 13.5px; }
.cat-card .arrow { color: var(--indigo); transition: .2s; }
.cat-card:hover .arrow { transform: translateX(4px); }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; position: relative; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-card .img { aspect-ratio: 1/1; overflow: hidden; position: relative; background: #eef0f8; }
.prod-card .img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.prod-card:hover .img img { transform: scale(1.06); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; color: #fff;
}
.badge.hot { background: linear-gradient(100deg, #f43f5e, #fb7185); }
.badge.new { background: linear-gradient(100deg, #0ea5e9, #38bdf8); }
.prod-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-card h3 { font-size: 15.5px; line-height: 1.4; font-weight: 700; }
.prod-card h3 a:hover { color: var(--indigo); }
.prod-card .itemno { font-size: 12.5px; color: var(--muted); }
.prod-card .foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); }
.prod-card .price { color: var(--indigo); font-weight: 800; font-size: 15px; }
.prod-card .inquiry-link { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.prod-card .inquiry-link:hover { color: var(--indigo); }

/* ---------- CTA banner ---------- */
.cta-band {
  position: relative; border-radius: 24px; overflow: hidden; color: #fff; padding: 56px 60px;
  background: var(--cta-grad);
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.cta-band::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--halo), transparent 70%);
}
.cta-band h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 8px; }
.cta-band p { color: #c4caf0; max-width: 520px; }
.cta-band .btn { flex: none; position: relative; z-index: 2; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 22px; right: 26px;
  font-size: 44px; font-weight: 800; color: #eceefb; line-height: 1;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: var(--grad); font-weight: 800; margin-bottom: 18px; box-shadow: 0 6px 16px var(--grad-shadow);
}
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step .ic { width: 22px; height: 22px; }

/* ---------- about preview ---------- */
.about-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.about-media { position: relative; }
.about-media .main-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media .float-card {
  position: absolute; bottom: -26px; right: -18px; background: #fff; border-radius: 18px; padding: 18px 22px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
}
.float-card .ic { width: 26px; height: 26px; color: var(--gold); }
.float-card b { font-size: 15px; display: block; }
.float-card span { font-size: 12.5px; color: var(--muted); }
.about-copy h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin: 10px 0 18px; letter-spacing: -.4px; }
.about-copy > p { color: var(--muted); margin-bottom: 26px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.about-stats div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px; text-align: center; }
.about-stats b { font-size: 24px; color: var(--indigo); display: block; }
.about-stats span { font-size: 12px; color: var(--muted); }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: var(--card); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); position: relative; }
.testi::before { content: "“"; position: absolute; top: 6px; left: 22px; font-size: 72px; color: var(--accent-tint1); font-family: Georgia, serif; line-height: 1; }
.testi .stars { color: var(--gold); display: flex; gap: 2px; margin-bottom: 14px; }
.testi .stars .ic { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.testi p { font-size: 14.5px; color: #3c4058; position: relative; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi .avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--grad); }
.testi .who b { font-size: 14.5px; display: block; }
.testi .who span { font-size: 12.5px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--night-900); color: #a9afd0; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding: 66px 0 46px; }
.site-footer h5 { color: #fff; font-size: 15px; letter-spacing: .06em; margin-bottom: 18px; text-transform: uppercase; }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; margin-bottom: 20px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: .2s; color: #cfd3ec;
}
.social a:hover { background: var(--indigo); color: #fff; transform: translateY(-3px); }
.social .ic { width: 17px; height: 17px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: .18s; display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: 14px; }
.footer-contact .ic { color: var(--cyan); width: 17px; height: 17px; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.subscribe { display: flex; margin-top: 14px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 5px; }
.subscribe input { flex: 1; background: none; border: none; outline: none; color: #fff; padding: 8px 16px; font-size: 14px; }
.subscribe input::placeholder { color: #7d83a8; }
.subscribe button { background: var(--gold); color: var(--gold-ink); font-weight: 800; border-radius: 999px; padding: 10px 22px; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }
.footer-bottom a { color: #8d93b8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- inner pages ---------- */
.page-hero {
  position: relative; color: #fff; padding: 72px 0; overflow: hidden;
  background: var(--cta-grad);
}
.page-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, var(--halo), transparent 70%); }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #b9c0e8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .ic { width: 13px; height: 13px; }

/* ---------- products page ---------- */
.catalog-layout { display: grid; grid-template-columns: 264px 1fr; gap: 34px; padding: 46px 0 70px; align-items: start; }
.filters { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; position: sticky; top: 100px; }
.filters h4 { font-size: 15px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.filter-group { margin-bottom: 22px; }
.filter-group:last-child { margin-bottom: 0; }
.cat-filter { display: grid; gap: 2px; }
.cat-filter a {
  display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; transition: .15s;
}
.cat-filter a:hover { background: var(--bg); color: var(--indigo); }
.cat-filter a.active { background: var(--chip-bg); color: var(--indigo); font-weight: 700; }
.cat-filter .n { color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 7px 15px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; transition: .18s; }
.chips button.active { background: var(--grad); color: #fff; border-color: transparent; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 14px; flex-wrap: wrap; }
.toolbar h2 { font-size: 24px; font-weight: 800; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.toolbar select { padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; outline: none; }
.empty { background: #fff; border-radius: var(--radius); padding: 60px; text-align: center; color: var(--muted); box-shadow: var(--shadow); }
.empty .ic { width: 42px; height: 42px; color: #c3c7e0; margin: 0 auto 14px; }

/* ---------- product detail ---------- */
.detail-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; padding: 46px 0 60px; }
.gallery-main { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #eef0f8; }
.gallery-main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.detail-info .cat-tag { display: inline-block; color: var(--indigo); font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.detail-info h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.25; margin-bottom: 6px; letter-spacing: -.3px; }
.detail-info .itemno { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.detail-price { font-size: 26px; font-weight: 800; color: var(--indigo); margin-bottom: 20px; }
.detail-price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.spec-table { border-top: 1px solid var(--line); }
.spec-table li { display: flex; gap: 16px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table li span:first-child { width: 118px; flex: none; color: var(--muted); font-weight: 600; }
.detail-cta { display: flex; gap: 12px; margin: 24px 0 8px; flex-wrap: wrap; }
.detail-note { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 13.5px; }
.detail-note .ic { color: var(--gold); width: 17px; height: 17px; }
.detail-block { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; margin-bottom: 24px; }
.detail-block h3 { font-size: 20px; margin-bottom: 14px; }
.detail-block p { color: var(--muted); }
.detail-block ul.features { display: grid; gap: 9px; margin-top: 8px; }
.detail-block ul.features li { display: flex; gap: 10px; align-items: flex-start; color: #3c4058; font-size: 15px; }
.detail-block ul.features .ic { color: #10b981; width: 18px; height: 18px; margin-top: 3px; }
.quote-side { background: var(--night-800); border-radius: var(--radius); padding: 30px; color: #d7dcf7; position: sticky; top: 100px; }
.quote-side h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.quote-side > p { font-size: 13.5px; color: #98a0cc; margin-bottom: 20px; }
.quote-side input, .quote-side textarea, .quote-side select {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 11px;
  padding: 11px 14px; color: #fff; outline: none; margin-bottom: 12px; transition: .2s;
}
.quote-side input:focus, .quote-side textarea:focus { border-color: var(--gold); }
.quote-side input::placeholder, .quote-side textarea::placeholder { color: #7d83a8; }
.quote-side select option { color: #000; }
.related { padding-bottom: 90px; }

/* ---------- about ---------- */
.prose-wrap { padding: 60px 0 80px; }
.prose { max-width: 820px; }
.prose p { margin-bottom: 18px; color: #3c4058; font-size: 16.5px; }
.prose h2 { font-size: 26px; margin: 34px 0 14px; }
.stats-band { background: #fff; border-radius: 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0; overflow: hidden; }
.stats-band div { padding: 28px; text-align: center; }
.stats-band div + div { border-left: 1px solid var(--line); }
.stats-band b { font-size: 32px; color: var(--indigo); display: block; }
.stats-band span { color: var(--muted); font-size: 13.5px; }

/* ---------- faq ---------- */
.faq-wrap { padding: 56px 0 90px; max-width: 860px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.faq summary { padding: 20px 24px; font-weight: 700; font-size: 16.5px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--indigo); transition: .25s; flex: none; width: 20px; height: 20px; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details[open] summary { color: var(--indigo); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.contact-card .fc { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #eef0ff, #f3edff); color: var(--indigo); margin-bottom: 16px; }
.contact-card .fc .ic { width: 23px; height: 23px; }
.contact-card h4 { margin-bottom: 6px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 14.5px; }
.contact-card a:hover { color: var(--indigo); }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-bottom: 90px; align-items: start; }
.contact-form { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 36px; }
.contact-form h3 { font-size: 22px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #3c4058; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 11px; outline: none; transition: .2s; background: #fbfbfe;
}
.field input:focus, .field textarea:focus { border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 11px; font-size: 14.5px; display: none; }
.form-msg.ok { display: block; background: #ecfdf5; color: #047857; }
.form-msg.err { display: block; background: #fef2f2; color: #b91c1c; }
.contact-aside .img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 22px; }
.contact-aside .img img { width: 100%; }
.contact-aside .note { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; }
.contact-aside .note h4 { margin-bottom: 8px; }
.contact-aside .note p { color: var(--muted); font-size: 14.5px; }

/* ---------- terms ---------- */
.terms-wrap { padding: 56px 0 90px; max-width: 860px; }
.terms-wrap h3 { font-size: 19px; margin: 26px 0 10px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 110px 20px; }
.error-page h1 { font-size: 90px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.error-page p { color: var(--muted); margin: 16px 0 28px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px); z-index: 200;
  background: var(--night-900); color: #fff; padding: 13px 24px; border-radius: 999px; font-size: 14.5px;
  box-shadow: var(--shadow-lg); opacity: 0; transition: .3s; pointer-events: none; display: flex; gap: 9px; align-items: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .ic { color: var(--gold-soft); width: 18px; height: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .header-phone, .search-wrap { display: none; }
  .hamburger { display: grid; }
  .header-main { justify-content: space-between; }
  .mobile-menu.open { display: block; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip .container { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: none; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .quote-side { position: static; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-media .float-card { right: 8px; }
  .steps, .testi-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar-right { display: none; }
  .topbar .container { height: auto; padding: 8px 0; flex-wrap: wrap; gap: 4px; }
  .topbar ul { flex-wrap: wrap; gap: 8px 18px; }
  .brand img { height: 36px; }
  .header-actions .btn-primary { display: none; }
  .header-actions { gap: 10px; }
  .header-main { height: 68px; gap: 14px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr; }
  .feature-strip .container { grid-template-columns: 1fr; }
  .feature + .feature { border-left: none; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band div:nth-child(3) { border-left: none; }
  .stats-band div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-band { flex-direction: column; text-align: center; padding: 44px 26px; }
  .contact-cards { grid-template-columns: 1fr; }
}
