:root {
  --bg: #0f1012;
  --bg-2: #16181b;
  --bg-3: #1d2024;
  --line: #2a2e33;
  --text: #f2f1ee;
  --muted: #a5a8ad;
  --flame: #ff6a1a;
  --flame-2: #ffb02e;
  --blue: #3aa0ff;
  --paper: #f6f4ef;
  --ink: #18191b;
  --ink-muted: #5d6066;
  --radius: 14px;
  --max: 1200px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .25);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 16, 18, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; font-size: 20px; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo small { display: block; font-size: 9.5px; letter-spacing: .32em; color: var(--muted); font-weight: 600; margin-top: -3px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav a:hover, .nav a.active { color: var(--text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 650; font-size: 15px; transition: transform .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-flame { background: linear-gradient(135deg, var(--flame), var(--flame-2)); color: #1a0d03; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.basket-btn { position: relative; }
.basket-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #1a0d03; color: var(--flame-2); font-size: 12px; line-height: 20px; text-align: center; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 42px; height: 42px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; background: radial-gradient(900px 500px at 85% 20%, rgba(255, 106, 26, .22), transparent 60%), radial-gradient(700px 400px at 10% 90%, rgba(58, 160, 255, .12), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--flame-2); font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.06; margin: 0 0 20px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--flame), var(--flame-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 1000 / 758; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .badge { position: absolute; left: 16px; bottom: 16px; background: rgba(15, 16, 18, .82); border: 1px solid var(--line); padding: 10px 14px; border-radius: 12px; font-size: 13px; color: var(--muted); }
.hero-media .badge b { color: var(--text); display: block; font-size: 15px; }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: 32px; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14px; }

/* sections */
section { padding: 84px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
.section-head p { color: var(--muted); margin: 8px 0 0; max-width: 620px; }
.light { background: var(--paper); color: var(--ink); }
.light .section-head p, .light .muted { color: var(--ink-muted); }
.light .btn-ghost { color: var(--ink); border-color: #cfccc4; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid #e4e1da; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .12); }
.cat-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.cat-card div { padding: 14px 16px 16px; }
.cat-card h3 { margin: 0; font-size: 17px; }
.cat-card span { color: var(--ink-muted); font-size: 13.5px; }
.cat-card.more { background: var(--ink); color: var(--text); justify-content: center; align-items: flex-start; padding: 24px; border-color: var(--ink); }
.cat-card.more h3 { font-size: 22px; margin-bottom: 8px; }
.cat-card.more p { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; }

/* product grid */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.p-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.light .p-card { background: #fff; border-color: #e4e1da; }
.p-card .ph { position: relative; background: #fff; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.p-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.p-card:hover .ph img { transform: scale(1.04); }
.p-card .tag { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.tag.best { background: var(--flame); color: #1a0d03; }
.tag.new { background: var(--blue); color: #00172b; }
.p-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card .sku { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.light .p-card .sku { color: var(--ink-muted); }
.p-card h3 { margin: 0; font-size: 15.5px; line-height: 1.35; font-weight: 650; flex: 1; }
.p-card .add { margin-top: 10px; align-self: flex-start; }
.add.added { background: var(--bg-3); color: var(--flame-2); border-color: var(--bg-3); }
.light .add.added { background: #fff2e6; color: #b34700; border-color: #ffd2ad; }

/* filters */
.page-hero { padding: 56px 0 28px; background: radial-gradient(700px 300px at 90% 0%, rgba(255, 106, 26, .18), transparent 60%); }
.page-hero h1 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 10px; letter-spacing: -.02em; }
.page-hero p { color: var(--muted); margin: 0; max-width: 680px; }
.toolbar { position: sticky; top: 68px; z-index: 20; background: rgba(15, 16, 18, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 14px 0; }
.toolbar .wrap { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.chip { border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.chip.on { background: var(--text); color: var(--ink); border-color: var(--text); }
.chip i { font-style: normal; opacity: .6; margin-left: 4px; }
.search { background: var(--bg-2); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 10px 16px; min-width: 240px; font-size: 14px; outline: none; }
.search:focus { border-color: var(--flame); }
.result-meta { color: var(--muted); font-size: 14px; margin: 22px 0 16px; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* OEM */
.oem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 106, 26, .14); color: var(--flame-2); margin-bottom: 14px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.step::before { counter-increment: s; content: "0" counter(s); font-weight: 800; font-size: 22px; color: var(--flame-2); }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-grid p { color: var(--ink-muted); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-pair figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #ddd; }
.photo-pair img { width: 100%; aspect-ratio: 345 / 220; object-fit: cover; }
.photo-pair figcaption { font-size: 13px; padding: 8px 12px; background: #fff; color: var(--ink-muted); }
.photo-pair .wide { grid-column: 1 / -1; }
.photo-pair .wide img { aspect-ratio: 830 / 520; }
.brand-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.brand { border: 1px solid #e0ddd5; background: #fff; border-radius: var(--radius); padding: 18px; }
.brand b { font-size: 18px; letter-spacing: .1em; }
.brand p { margin: 6px 0 0; font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.fact { background: #fff; border: 1px solid #e0ddd5; border-radius: var(--radius); padding: 20px; }
.fact h3 { margin: 0 0 6px; font-size: 16px; }
.fact p { margin: 0; font-size: 14.5px; color: var(--ink-muted); }

/* markets */
.markets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.markets span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--muted); background: var(--bg-2); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); }
.contact-list b { color: var(--text); display: block; font-weight: 650; }
.contact-list a { color: var(--flame-2); word-break: break-all; }
.contact-list svg { width: 20px; height: 20px; color: var(--flame-2); margin-top: 3px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form label { display: block; font-size: 13.5px; color: var(--muted); margin: 0 0 6px; }
form .field { margin-bottom: 14px; }
form input, form textarea, form select { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px; outline: none; }
form input:focus, form textarea:focus, form select:focus { border-color: var(--flame); }
form textarea { min-height: 120px; resize: vertical; }
.inquiry-items { display: flex; flex-wrap: wrap; gap: 8px; min-height: 20px; }
.inquiry-items .it { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-3); border: 1px solid var(--line); padding: 6px 8px 6px 12px; border-radius: 999px; font-size: 13px; }
.inquiry-items .it button { background: none; border: 0; color: var(--muted); padding: 0 4px; font-size: 16px; line-height: 1; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .72); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; max-width: 900px; width: 100%; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; max-height: calc(100vh - 40px); }
.modal-box .mimg { background: #fff; }
.modal-box .mimg img { width: 100%; height: 100%; object-fit: contain; }
.modal-box .minfo { padding: 28px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
.modal-box h3 { margin: 0; font-size: 22px; line-height: 1.25; }
.modal-box .meta { color: var(--muted); font-size: 14px; }
.modal-box ul { color: var(--muted); padding-left: 18px; margin: 6px 0 12px; font-size: 14.5px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font-size: 22px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(80px); background: var(--text); color: var(--ink); padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: transform .25s ease; z-index: 120; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* cta band + footer */
.cta-band { background: linear-gradient(135deg, #ff6a1a, #ffb02e); color: #1a0d03; padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.cta-band p { margin: 6px 0 0; opacity: .8; }
.cta-band .btn { background: #1a0d03; color: #fff; }
.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: var(--text); margin: 0 0 12px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--text); }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* responsive */
@media (max-width: 1020px) {
  .p-grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero .wrap, .oem-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 16px 20px; border-top: 1px solid var(--line); }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; }
  .header-cta .label { display: none; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-box .mimg img { max-height: 46vh; }
  .facts { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .wrap { padding: 0 16px; }
  .p-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .features, .brand-row, form .row { grid-template-columns: 1fr; }
  .p-card h3 { font-size: 14px; }
  .p-card .body { padding: 12px; }
  .p-card .add { width: 100%; }
  .search { min-width: 0; width: 100%; }
  .toolbar { top: 68px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .chip { flex: none; }
  .hero { padding: 44px 0; }
  .stat b { font-size: 26px; }
  .logo { font-size: 18px; }
}
