/* =========================================================
   Kakobuy Spreadsheet — design system
   ========================================================= */
:root {
  --red: #ff2842;
  --red-dark: #e01f38;
  --red-soft: #fff1f3;
  --red-line: #ffd5db;
  --ink: #1b2230;
  --ink-2: #3d4654;
  --muted: #6b7280;
  --muted-2: #8b929e;
  --line: #e9ebef;
  --bg: #f5f6f8;
  --white: #fff;
  --star: #f5a623;
  --shadow-sm: 0 1px 2px rgba(20, 26, 38, .06);
  --shadow: 0 2px 10px rgba(20, 26, 38, .06);
  --shadow-lg: 0 18px 50px rgba(20, 26, 38, .16);
  --radius: 12px;
  --container: 1240px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.28; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.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;
}
:focus-visible { outline: 3px solid rgba(255, 40, 66, .35); outline-offset: 2px; }

/* --------------------------------------------------------- announcement */
.announce {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  letter-spacing: .005em;
}
.announce a { text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------- header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 86px;
}
.brandmark { display: flex; align-items: center; gap: 14px; }
.brandmark > span:last-child { display: block; line-height: 1.15; }
.brandmark .k {
  width: 42px; height: 42px; flex: none;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  font-size: 26px;
  line-height: 42px;
  text-align: center;
  letter-spacing: -.05em;
}
.brandmark .name {
  font-size: 23px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.brandmark .name b { font-weight: 800; }
.brandmark .url {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2);
  border-bottom: 1px solid #b9bec7;
  margin-top: 3px;
  line-height: 1.3;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav > li { position: relative; list-style: none; }
.nav { list-style: none; margin: 0; padding: 0; }
.nav a.nav-link, .nav button.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 0; padding: 8px 0;
  font-size: 15px; color: var(--ink-2); font-weight: 400;
}
.nav a.nav-link:hover, .nav button.nav-link:hover { color: var(--red); }
.nav .is-active > .nav-link { color: var(--red); }
.caret { width: 10px; height: 10px; opacity: .55; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 214px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transition: .18s ease;
  z-index: 70;
}
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown a {
  display: block; padding: 9px 12px; border-radius: 7px;
  font-size: 14px; color: var(--ink-2); white-space: nowrap;
}
.dropdown a:hover { background: var(--red-soft); color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 2px; }
.icon-btn {
  background: none; border: 0; padding: 8px; margin: -8px -4px -8px 0;
  color: var(--ink); display: inline-flex;
}
.icon-btn:hover { color: var(--red); }
.menu-toggle { display: none; }

/* --------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 14px 30px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--red); color: #fff;
  transition: .18s ease;
  cursor: pointer;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 40, 66, .25); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: #fff; color: var(--ink); border-color: var(--line); text-transform: none;
  letter-spacing: 0; font-size: 14px; font-weight: 600; padding: 11px 20px;
}
.btn-ghost:hover { background: #fff; border-color: #cfd4db; box-shadow: var(--shadow-sm); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-block { width: 100%; }

/* --------------------------------------------------------- hero */
.hero { padding: 52px 0 34px; text-align: center; }
.hero h1 {
  font-size: 40px; font-weight: 800; line-height: 1.26;
  max-width: 940px; margin: 0 auto 20px; color: var(--ink);
}
.hero .lede {
  font-size: 15px; color: var(--muted); max-width: 900px; margin: 0 auto 26px;
}
.hero .lede strong { color: var(--ink-2); font-weight: 600; }
.hero .btn { margin-bottom: 22px; }
.hero .alt-line { font-size: 14.5px; color: var(--muted); margin-bottom: 6px; }
.hero .alt-line a { color: #1f5fbf; font-weight: 600; }
.hero .alt-line a:hover { text-decoration: underline; }
.hero .tip { font-size: 14.5px; color: var(--muted); }
.hero .tip b { color: var(--red); font-weight: 700; }

/* --------------------------------------------------------- section heads */
.section-head { text-align: center; margin: 54px 0 30px; }
.section-head h2 { font-size: 30px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 15px; max-width: 820px; margin: 0 auto; }

/* --------------------------------------------------------- category tiles */
.cat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 26px 22px;
}
.cat-tile { display: block; text-align: center; }
.cat-tile .frame {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
  border: 1px solid #eef0f3;
  transition: .2s ease;
  overflow: hidden;
}
.cat-tile:hover .frame { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20, 26, 38, .1); }
.cat-tile .collage {
  display: grid; height: 100%; width: 100%;
  grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 3px; border-radius: 8px; overflow: hidden; background: #fff;
}
.cat-tile .collage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block; }
.cat-tile .collage.three { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; }
.cat-tile .collage.one img { grid-column: 1 / -1; grid-row: 1 / -1; }
.cat-tile .label {
  display: block; margin-top: 12px; font-size: 17px; color: var(--ink-2);
  font-weight: 400;
}
.cat-tile.all .frame { display: flex; flex-direction: column; justify-content: flex-end; }
.cat-tile.all .collage { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); }
.cat-tile.all .badge {
  position: absolute; left: 0; right: 0; bottom: 18px;
  text-align: center; font-size: 9.5px; font-weight: 800; letter-spacing: .04em;
  color: var(--ink); background: rgba(255, 255, 255, .86); padding: 3px 0;
}

/* --------------------------------------------------------- brand grid */
.brand-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.brand-tile {
  background: #fff; border: 1px solid #eef0f3; border-radius: 8px;
  padding: 20px 8px; text-align: center;
  font-size: 12.5px; font-weight: 800; letter-spacing: .045em;
  color: var(--ink); text-transform: uppercase;
  transition: .16s ease;
}
.brand-tile:hover { border-color: var(--red-line); color: var(--red); box-shadow: var(--shadow-sm); transform: translateY(-1px); }

/* --------------------------------------------------------- content cards */
.card {
  background: #fff; border-radius: 14px; padding: 40px 46px;
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.card h2 { font-size: 27px; margin-bottom: 16px; }
.card h3 { font-size: 20px; margin: 26px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .eyebrow {
  text-align: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2); margin: 6px 0 26px;
}
.card .link-red { color: var(--red); font-weight: 600; }
.card .link-red:hover { text-decoration: underline; }

.callout {
  background: var(--red-soft); border-radius: 10px;
  padding: 26px 30px; margin: 22px 0;
}
.callout h3 { font-size: 20px; margin: 0 0 8px; }
.callout p { margin: 0; color: var(--ink-2); }
.callout b { color: var(--red); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature {
  border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 26px;
  background: #fff;
}
.feature h4 { font-size: 16px; margin-bottom: 10px; line-height: 1.4; }
.feature p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.62; }

/* --------------------------------------------------------- table */
.table-wrap { margin: 22px 0 8px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  background: var(--red); color: #fff; text-align: left; font-weight: 700;
  padding: 13px 18px; font-size: 14px;
}
table.data td { padding: 18px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--muted); }
table.data tr:last-child td { border-bottom: 0; }
table.data td:first-child { color: var(--red); font-weight: 700; width: 22%; }
.pill {
  display: inline-block; background: #ffe6ea; color: var(--red);
  font-size: 11px; font-weight: 800; letter-spacing: .05em;
  padding: 5px 12px; border-radius: 999px;
}

/* --------------------------------------------------------- coupon */
.coupon {
  border: 1px solid var(--red-line); background: #fffbfc;
  border-radius: 10px; padding: 28px 30px 18px; text-align: center;
  margin: 10px 0 6px;
}
.coupon h3 { color: var(--red); font-size: 21px; margin-bottom: 10px; }
.coupon .code-row { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.coupon .code {
  display: inline-block; font-weight: 800; color: var(--red);
  border: 1px dashed var(--red-line); background: #fff;
  padding: 2px 10px; border-radius: 5px; margin-left: 6px; letter-spacing: .04em;
}
.coupon ul { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.coupon ul li { margin-bottom: 4px; }
.coupon ul b { color: var(--ink); font-weight: 800; }
.coupon .redeem {
  border-top: 1px dashed var(--red-line); padding-top: 12px; margin-top: 6px;
  font-size: 13px; color: var(--muted);
}
.coupon .redeem a { color: var(--ink-2); font-weight: 600; }

/* --------------------------------------------------------- faq */
.faq-list { display: grid; gap: 14px; margin-top: 22px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 20px 46px 20px 24px; position: relative;
  font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.5;
}
.faq-q:after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 20px; color: var(--red); font-weight: 400;
  transition: .2s ease;
}
.faq-item.open .faq-q:after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  padding: 0 24px 22px; font-size: 14.5px; color: var(--muted);
  display: none; line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* --------------------------------------------------------- listing pages */
.page-head { padding: 34px 0 6px; }
.crumbs { font-size: 12.5px; color: var(--muted-2); margin-bottom: 14px; }
.crumbs a:hover { color: var(--red); }
.crumbs span { margin: 0 7px; opacity: .6; }
.page-head h1 { font-size: 32px; margin-bottom: 10px; }
.page-head .sub { color: var(--muted); max-width: 860px; font-size: 14.5px; margin: 0; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 22px 0 26px;
}
.result-count { font-size: 13px; color: var(--muted); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
select.sort {
  appearance: none;
  border: 1px solid #dfe2e8; border-radius: 4px; background: #fff;
  padding: 9px 34px 9px 12px; font-size: 13px; color: var(--ink-2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 11px center;
  cursor: pointer;
}
.filter-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.chip {
  border: 1px solid #e2e5ea; background: #fff; border-radius: 999px;
  padding: 7px 15px; font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  transition: .15s ease;
}
.chip:hover { border-color: #cfd4db; }
.chip.on { background: var(--red); border-color: var(--red); color: #fff; font-weight: 600; }

.product-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 40px 26px;
}
.product-card { text-align: center; position: relative; }
.product-card .thumb {
  position: relative; display: block; aspect-ratio: 1 / 1;
  background: #fff; border-radius: 8px; overflow: hidden;
  margin-bottom: 14px; border: 1px solid #f0f1f4;
  transition: .18s ease;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: .35s ease; }
.product-card:hover .thumb { box-shadow: 0 12px 28px rgba(20, 26, 38, .1); border-color: #e6e8ec; }
.product-card:hover .thumb img { transform: scale(1.045); }
.product-card .qc-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: rgba(255, 255, 255, .94); color: var(--red);
  font-size: 9.5px; font-weight: 800; letter-spacing: .06em;
  padding: 3px 7px; border-radius: 4px; border: 1px solid var(--red-line);
}
.product-card .quick {
  position: absolute; inset: auto 8px 8px 8px; z-index: 3;
  background: rgba(27, 34, 48, .92); color: #fff;
  border: 0; border-radius: 6px; padding: 9px 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  opacity: 0; transform: translateY(6px); transition: .18s ease;
}
.product-card:hover .quick { opacity: 1; transform: translateY(0); }
.product-card h3 {
  font-size: 13.5px; font-weight: 400; color: #6d7683; line-height: 1.45;
  margin: 0 0 6px; min-height: 39px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card h3 a:hover { color: var(--red); }
.stars { display: inline-flex; gap: 2px; align-items: center; justify-content: center; margin-bottom: 6px; }
.star { width: 15px; height: 15px; color: var(--star); }
.star.empty { color: #d8dbe1; }
.product-card .price { font-size: 14px; font-weight: 700; color: #2f3846; }
.product-card .meta-brand { font-size: 11px; color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin: 46px 0 10px; flex-wrap: wrap; }
.pagination button {
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid #e2e5ea; background: #fff; border-radius: 6px;
  font-size: 13px; color: var(--ink-2);
}
.pagination button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.pagination button.on { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.pagination button:disabled { opacity: .45; cursor: not-allowed; }

/* --------------------------------------------------------- product detail */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; margin-top: 8px; }
.pdp-gallery .main {
  background: #fff; border-radius: 12px; border: 1px solid #eef0f3;
  aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden;
}
.pdp-gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.pdp-thumbs button {
  padding: 0; border: 1px solid #eef0f3; border-radius: 8px; overflow: hidden; background: #fff;
  aspect-ratio: 1 / 1;
}
.pdp-thumbs button.on { border-color: var(--red); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info h1 { font-size: 28px; margin-bottom: 10px; }
.pdp-price { font-size: 26px; font-weight: 800; color: var(--ink); margin: 14px 0 6px; }
.pdp-price small { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.pdp-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pdp-attrs { margin: 22px 0; border-top: 1px solid var(--line); }
.pdp-attrs div {
  display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.pdp-attrs dt { width: 130px; color: var(--muted-2); }
.pdp-attrs dd { margin: 0; color: var(--ink-2); font-weight: 500; }
.pdp-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.pdp-note { font-size: 12.5px; color: var(--muted-2); margin-top: 12px; line-height: 1.6; }

/* --------------------------------------------------------- converter */
.converter-box {
  background: #fff; border-radius: 14px; border: 1px solid #eef0f3;
  padding: 30px; box-shadow: var(--shadow);
}
.converter-row { display: flex; gap: 10px; }
.converter-row input {
  flex: 1; border: 1px solid #dfe2e8; border-radius: 8px;
  padding: 14px 16px; font-size: 14px; font-family: inherit; color: var(--ink);
  background: #fcfcfd;
}
.converter-row input:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(255, 40, 66, .1); }
.converter-row .btn { text-transform: none; letter-spacing: 0; font-size: 14px; padding: 0 26px; }
.converter-hint { font-size: 12.5px; color: var(--muted-2); margin-top: 12px; }
.converter-result { margin-top: 18px; border-radius: 10px; padding: 18px 20px; font-size: 14px; display: none; }
.converter-result.show { display: block; }
.converter-result.ok { background: #f1fbf5; border: 1px solid #cfeddb; color: #17663c; }
.converter-result.err { background: var(--red-soft); border: 1px solid var(--red-line); color: var(--red); }
.converter-result a { font-weight: 700; text-decoration: underline; word-break: break-all; }
.converter-result .detected { font-size: 12.5px; opacity: .75; margin-bottom: 6px; letter-spacing: .02em; }

.workflow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #fcfcfd; border: 1px dashed #e2e5ea; border-radius: 10px;
  padding: 16px 20px; font-size: 13.5px; color: var(--ink-2); margin: 16px 0 4px;
}
.workflow span.arrow { color: var(--red); font-weight: 700; }

/* --------------------------------------------------------- blog */
.post-list { display: grid; gap: 2px; }
.post-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.post-row:last-child { border-bottom: 0; }
.post-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-top: 9px; flex: none; }
.post-row h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 4px; }
.post-row h3 a:hover { color: var(--red); }
.post-row .date { font-size: 12px; color: var(--muted-2); letter-spacing: .04em; }
.post-row .excerpt { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }

.article { max-width: 780px; margin: 0 auto; }
.article h1 { font-size: 32px; }
.article .meta { font-size: 13px; color: var(--muted-2); margin-bottom: 26px; }
.article p { color: #4a5361; font-size: 15.5px; line-height: 1.8; }
.article h2 { font-size: 22px; margin-top: 32px; }
.article em { color: var(--ink-2); }

/* --------------------------------------------------------- forms / contact */
.form-grid { display: grid; gap: 14px; max-width: 620px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 1px solid #dfe2e8; border-radius: 8px;
  padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--ink);
  background: #fcfcfd;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(255, 40, 66, .1); }
.form-note { font-size: 13px; color: var(--muted); }
.form-ok { background: #f1fbf5; border: 1px solid #cfeddb; color: #17663c; border-radius: 8px; padding: 14px 16px; font-size: 14px; display: none; }
.form-ok.show { display: block; }

/* --------------------------------------------------------- footer */
.site-footer { background: #fff; margin-top: 60px; padding: 40px 0 34px; }
.disclaimer {
  background: #f7f8fa; border-radius: 10px; padding: 26px 30px;
  font-size: 12.5px; color: var(--muted); line-height: 1.75; text-align: center;
}
.disclaimer b { color: var(--red); font-weight: 700; }
.footer-links {
  display: flex; justify-content: center; gap: 34px; margin-top: 26px;
  font-size: 13.5px;
}
.footer-links a { color: #1f4ed8; text-decoration: underline; text-underline-offset: 2px; }
.footer-links a:hover { color: var(--red); }
.footer-copy { text-align: center; font-size: 12px; color: var(--muted-2); margin-top: 14px; }

/* --------------------------------------------------------- floating */
.support-fab {
  position: fixed; right: 18px; bottom: 96px; z-index: 55;
  width: 62px; border: 0; border-radius: 14px;
  background: linear-gradient(180deg, #6a5cf5, #4f46e5);
  color: #fff; padding: 12px 6px 10px;
  display: grid; gap: 6px; justify-items: center;
  box-shadow: 0 10px 26px rgba(79, 70, 229, .32);
  font-size: 8.5px; font-weight: 800; letter-spacing: .04em; line-height: 1.3;
  text-align: center; text-transform: uppercase;
}
.support-fab:hover { transform: translateY(-2px); }
.to-top {
  position: fixed; right: 18px; bottom: 24px; z-index: 55;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { color: var(--red); border-color: var(--red-line); }

/* --------------------------------------------------------- search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(18, 23, 33, .45);
  backdrop-filter: blur(3px);
  display: none;
  padding: 90px 20px 20px;
}
.search-overlay.open { display: block; }
.search-panel {
  max-width: 720px; margin: 0 auto; background: #fff;
  border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.search-field { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.search-field input {
  flex: 1; border: 0; font-size: 17px; font-family: inherit; color: var(--ink); background: none;
}
.search-field input:focus { outline: none; }
.search-results { max-height: 60vh; overflow: auto; padding: 8px; }
.search-hit {
  display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 9px;
}
.search-hit:hover { background: var(--bg); }
.search-hit img { width: 46px; height: 46px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid var(--line); }
.search-hit .t { font-size: 14px; color: var(--ink); font-weight: 500; }
.search-hit .p { font-size: 12.5px; color: var(--muted); }
.search-empty { padding: 30px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.search-suggest { padding: 14px 20px 18px; }
.search-suggest .lbl { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }

/* --------------------------------------------------------- quick view */
.modal {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(18, 23, 33, .5);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal.open { display: flex; }
.modal-card {
  background: #fff; border-radius: 16px; max-width: 880px; width: 100%;
  max-height: 90vh; overflow: auto; position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; font-size: 17px; color: var(--ink);
}
.modal-media { background: #fff; border-right: 1px solid var(--line); display: grid; place-items: center; padding: 18px; }
.modal-body { padding: 34px 30px; }
.modal-body h3 { font-size: 20px; }

/* --------------------------------------------------------- mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: 320px; max-width: 86vw; z-index: 100;
  background: #fff; transform: translateX(100%); transition: .24s ease;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { padding: 10px 8px; overflow: auto; }
.drawer-body a { display: block; padding: 13px 16px; font-size: 15px; border-radius: 8px; color: var(--ink-2); }
.drawer-body a:hover { background: var(--bg); color: var(--red); }
.drawer-body .grp { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted-2); padding: 16px 16px 6px; }
.scrim { position: fixed; inset: 0; background: rgba(18, 23, 33, .45); z-index: 99; display: none; }
.scrim.open { display: block; }

/* --------------------------------------------------------- toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  background: var(--ink); color: #fff; font-size: 13.5px;
  padding: 11px 20px; border-radius: 999px; z-index: 120;
  opacity: 0; visibility: hidden; transition: .22s ease;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* --------------------------------------------------------- misc */
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.breadcrumb-jsonly { display: none; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }

/* --------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-grid { grid-template-columns: repeat(5, 1fr); }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { height: 74px; }
  .hero h1 { font-size: 30px; }
  .section-head h2 { font-size: 24px; }
  .card { padding: 28px 22px; }
  .pdp { grid-template-columns: 1fr; gap: 26px; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .brandmark .name { font-size: 19px; }
}
@media (max-width: 720px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
  .cat-tile .label { font-size: 14px; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-tile { font-size: 11px; padding: 14px 6px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .product-card h3 { font-size: 12.5px; min-height: 36px; }
  .feature-grid, .feature-grid.cols-3 { grid-template-columns: 1fr; }
  .hero { padding: 34px 0 20px; }
  .hero h1 { font-size: 24px; }
  .converter-row { flex-direction: column; }
  .converter-row .btn { padding: 14px; }
  .toolbar { flex-wrap: wrap; }
  .footer-links { flex-direction: column; gap: 12px; align-items: center; }
  .pdp-thumbs { grid-template-columns: repeat(4, 1fr); }
  .card .eyebrow { margin-bottom: 18px; }
  .announce { font-size: 11.5px; padding: 7px 12px; }
}
@media (max-width: 480px) {
  .brandmark .name { font-size: 17px; }
  .brandmark .k { width: 34px; height: 34px; font-size: 21px; line-height: 34px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { gap: 22px 10px; }
}
