:root {
  --paper: #f4f1ea;
  --surface: #fffdf8;
  --surface-2: #faf8f2;
  --ink: #1c2a30;
  --ink-soft: #5c6b72;
  --ink-faint: #8a979d;
  --line: #e2dccf;
  --line-strong: #d3cbb8;
  --brand: #0e3a40;
  --brand-rgb: 14, 58, 64;
  --brand-2: #15535b;
  --brand-soft: #e8efee;
  --accent: #e8710a;
  --accent-rgb: 232, 113, 10;
  --accent-soft: #fdf0e3;
  --wa: #1faf55;
  --wa-soft: #e6f5ec;
  --danger: #b3372c;
  --danger-soft: #f9e9e7;
  --ok: #1f7a4d;
  --warn: #a8691a;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 12px;
  --shadow-1: 0 1px 2px rgba(28, 42, 48, 0.05), 0 6px 16px rgba(28, 42, 48, 0.06);
  --shadow-2: 0 2px 6px rgba(28, 42, 48, 0.07), 0 14px 34px rgba(28, 42, 48, 0.12);
  --font-sans: "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --maxw: 1200px;
  --maxw-narrow: 860px;
  --header-h: 64px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.22; color: var(--ink); font-weight: 650; text-wrap: pretty; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 1.05rem + 1.2vw, 1.9rem); letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; }
h4 { font-size: 0.95rem; letter-spacing: 0.01em; }

p { text-wrap: pretty; }
code, .mono { font-family: var(--font-mono); font-size: 0.9em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: var(--maxw-narrow); }

.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: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                              */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  background: none;
  color: var(--ink);
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out, box-shadow 140ms ease-out, transform 80ms ease-out;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-2); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #c85f08; color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a43; color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); background: rgba(var(--brand-rgb), 0.04); }
.btn--danger { background: var(--danger-soft); color: var(--danger); }
.btn--danger:hover { background: var(--danger); color: #fff; }
.btn--subtle { background: var(--brand-soft); color: var(--brand); }
.btn--subtle:hover { background: var(--brand); color: #fff; }
.btn--sm { padding: 6px 12px; font-size: 0.85rem; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--lg { padding: 13px 24px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------ */
/* Forms                                                                */
/* ------------------------------------------------------------------ */
.field { margin-bottom: 18px; }
.field .label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.input, .select, .textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.96rem;
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.12);
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235c6b72' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.hint { margin-top: 5px; font-size: 0.8rem; color: var(--ink-faint); }
.err { margin-top: 5px; font-size: 0.82rem; color: var(--danger); }
.check-row { display: flex; align-items: center; gap: 10px; }
.check-row input { width: 18px; height: 18px; accent-color: var(--brand); }
.check-row .label { margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; } .col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; } .col-12 { grid-column: span 12; }
@media (max-width: 720px) {
  .field-row { grid-template-columns: 1fr; }
  .col-3, .col-4, .col-6, .col-8, .col-9 { grid-column: span 12; }
}

/* ------------------------------------------------------------------ */
/* Chips, tags, badges                                                  */
/* ------------------------------------------------------------------ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--ink-soft);
  background: var(--surface);
  transition: all 140ms ease-out;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip--active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip--active:hover { color: #fff; }

.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 3px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--brand-soft);
  color: var(--brand);
}
.tag--wa { background: var(--wa-soft); color: var(--wa); }
.tag--amber { background: var(--accent-soft); color: var(--accent); }
.tag--red { background: var(--danger-soft); color: var(--danger); }
.tag--gray { background: #ece9e1; color: var(--ink-soft); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.badge--ok { background: var(--wa-soft); color: var(--ok); }
.badge--warn { background: var(--accent-soft); color: var(--warn); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.badge--gray { background: #ece9e1; color: var(--ink-soft); }
.badge--brand { background: var(--brand-soft); color: var(--brand); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ------------------------------------------------------------------ */
/* Cards, panels                                                        */
/* ------------------------------------------------------------------ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: var(--shadow-1); }
.panel--pad { padding: 22px; }
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.panel__head h3 { margin: 0; font-size: 1rem; }
.panel__body { padding: 22px; }

/* ------------------------------------------------------------------ */
/* Table                                                                */
/* ------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th {
  text-align: left;
  padding: 11px 14px;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--surface-2); }
.table--tight td { padding: 9px 14px; }

/* ------------------------------------------------------------------ */
/* Public catalogue shell                                               */
/* ------------------------------------------------------------------ */
.cat-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.cat-header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  padding: 10px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.cat-header .brand {
  display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 0 auto;
}
.cat-header .brand img {
  height: 40px; width: auto; max-width: 130px; object-fit: contain;
}
.cat-header .brand__name {
  font-weight: 700; font-size: 1.02rem; line-height: 1.2; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cat-search { flex: 1; max-width: 460px; position: relative; }
.cat-search .input { padding-left: 38px; border-radius: 999px; background: var(--paper); }
.cat-search__icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); width: 18px; height: 18px; pointer-events: none; }
.cat-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.cat-nav {
  display: flex;
  gap: 4px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
  flex: none;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.cat-nav a:hover { color: var(--brand); }
.cat-nav a.is-active { color: var(--brand); border-bottom-color: var(--brand); }

.cat-hero { position: relative; background: var(--brand); color: #fff; overflow: hidden; }
.cat-hero img.cat-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.cat-hero__inner { position: relative; padding: 46px 20px 38px; max-width: var(--maxw); margin: 0 auto; }
.cat-hero h1 { color: #fff; margin-bottom: 8px; font-weight: 700; }
.cat-hero p { color: rgba(255, 255, 255, 0.82); max-width: 640px; margin: 0; }
.cat-hero--plain { padding: 0; }
.cat-hero--plain .cat-hero__inner { padding: 38px 20px 30px; }
.cat-hero .count { font-family: var(--font-mono); font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.03em; }

.cat-body { max-width: var(--maxw); margin: 0 auto; padding: 26px 20px 70px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; margin-bottom: 10px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255, 255, 255, 0.55); }

.section-label {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 6px 0 14px;
}
.section-label h2 { margin: 0; font-size: 1.25rem; }
.section-label a { font-size: 0.86rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.section-label a svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------------ */
/* Product grid & card                                                  */
/* ------------------------------------------------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: box-shadow 140ms ease-out, border-color 140ms ease-out;
}
.product-card:hover { box-shadow: var(--shadow-1); border-color: var(--line-strong); }
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-faint); background: var(--surface-2); }
.product-card__placeholder svg { width: 34px; height: 34px; }
.product-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__code { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--ink-faint); text-transform: uppercase; }
.product-card__name { font-weight: 650; font-size: 0.94rem; line-height: 1.35; color: var(--ink); }
.product-card__name:hover { color: var(--brand); }
.product-card__short { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line); }
.wa-mini { display: inline-flex; align-items: center; gap: 6px; color: var(--wa); font-size: 0.82rem; font-weight: 650; }
.wa-mini:hover { color: #178a43; }
.wa-mini svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------------ */
/* Product detail                                                       */
/* ------------------------------------------------------------------ */
.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 34px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-gallery__main {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
}
.pd-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs button {
  width: 64px; height: 64px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  overflow: hidden; cursor: pointer; background: var(--surface);
}
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(var(--brand-rgb), 0.15); }
.pd-info__code { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-faint); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.pd-info h1 { margin-bottom: 10px; }
.pd-info__short { font-size: 1.02rem; color: var(--ink-soft); margin: 0 0 18px; }
.pd-info__desc { font-size: 0.96rem; line-height: 1.7; color: var(--ink-soft); }
.pd-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pd-share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.pd-share .btn { flex: 0 0 auto; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.03em; width: 45%; text-transform: uppercase; }
.spec-table tr:last-child td { border-bottom: none; }

.pd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-list li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--ink-soft); }
.pd-list li svg { width: 17px; height: 17px; color: var(--wa); flex: none; margin-top: 3px; }

.pd-meta__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; }
.pd-meta__block { border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); padding: 20px 22px; }
.pd-meta__block .subhead { margin: 0 0 12px; }
@media (max-width: 720px) {
  .pd-meta__grid { grid-template-columns: 1fr; }
}

.brochure-box {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--surface-2);
}
.brochure-box svg { width: 26px; height: 26px; color: var(--danger); flex: none; }

/* ------------------------------------------------------------------ */
/* Toast (shared with dashboard)                                        */
/* ------------------------------------------------------------------ */
.toast {
  position: fixed; bottom: 80px; left: 50%; transform: translate(-50%, 20px);
  z-index: 200; background: var(--ink); color: #fff;
  padding: 11px 18px; border-radius: var(--radius-s);
  font-size: 0.88rem; box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none;
  transition: opacity 180ms ease-out, transform 180ms ease-out;
  max-width: 90vw;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast--ok { background: var(--ok); }
.toast--err { background: var(--danger); }

/* ------------------------------------------------------------------ */
/* Footer (public)                                                      */
/* ------------------------------------------------------------------ */
.cat-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 22px 20px; }
.cat-footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; color: var(--ink-faint); font-size: 0.85rem; }

/* ------------------------------------------------------------------ */
/* Landing page                                                         */
/* ------------------------------------------------------------------ */
.land-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.land-nav__bar { display: flex; align-items: center; gap: 24px; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; height: 64px; }
.land-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.land-logo svg { width: 26px; height: 26px; color: var(--accent); }
.land-nav__links { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.land-nav__links a { font-size: 0.92rem; font-weight: 550; color: var(--ink-soft); }
.land-nav__links a:hover { color: var(--brand); }
.land-nav__links a.btn { color: #fff; }

.land-hero {
  position: relative;
  background: var(--brand);
  color: #fff;
  overflow: hidden;
}
.land-hero::after {
  content: "";
  position: absolute;
  right: -160px; top: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.35), transparent 65%);
  pointer-events: none;
}
.land-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 90px 20px 84px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.land-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.9rem); margin-bottom: 18px; letter-spacing: -0.03em; }
.land-hero .lede { font-size: 1.14rem; color: rgba(255, 255, 255, 0.82); max-width: 560px; margin: 0 0 30px; }
.land-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.land-hero__meta { margin-top: 26px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); font-family: var(--font-mono); }

.btn--outline { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); background: transparent; }

.land-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.phone-mock {
  background: #101d21;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  padding: 12px;
  box-shadow: var(--shadow-2);
  transform: rotate(1.5deg);
  max-width: 340px;
  margin-left: auto;
}
.phone-mock__screen {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
}
.phone-mock__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.phone-mock__bar .logo-dot { width: 26px; height: 26px; border-radius: 6px; background: var(--brand); }
.phone-mock__bar .line { height: 8px; border-radius: 4px; background: var(--line); }
.phone-mock__cards { padding: 12px; display: grid; gap: 10px; }
.phone-mock__thumb { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 9px 10px; }
.phone-mock__thumb .pm-img { width: 40px; height: 40px; border-radius: 6px; background: var(--brand-soft); flex: none; }
.phone-mock__thumb .pm-line { height: 7px; border-radius: 4px; background: var(--line); margin-bottom: 5px; }
.phone-mock__thumb .pm-line--w60 { width: 60%; }
.phone-mock__thumb .pm-line--w40 { width: 40%; }

.pricing-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 28px 26px; }
.pricing-card.is-featured { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.12); }
.pricing-card__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.pricing-card h3 { font-size: 1.1rem; margin: 0 0 4px; }
.pricing-card .price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin: 10px 0 2px; }
.pricing-card .price small { font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); }
.pricing-card .price-note { font-size: 0.8rem; color: var(--ink-faint); margin: 0 0 16px; }
.pricing-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.pricing-card ul li { display: flex; gap: 9px; font-size: 0.9rem; color: var(--ink-soft); }
.pricing-card ul li svg { width: 16px; height: 16px; color: var(--wa); flex: none; margin-top: 2px; }
.pricing-card .btn { margin-top: auto; }

.cta-band { position: relative; background: var(--brand); color: #fff; border-radius: var(--radius-m); padding: 54px 40px; text-align: center; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.2rem); margin: 0 auto 12px; max-width: 560px; }
.cta-band p { color: rgba(255, 255, 255, 0.82); max-width: 520px; margin: 0 auto 26px; }
.cta-band .btn--wa { background: #1faf55; }
.mock-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.mock-card__img { height: 90px; background: var(--brand-soft); position: relative; }
.mock-card__img::after { content: ""; position: absolute; inset: 10px; border-radius: 6px; background: linear-gradient(135deg, var(--brand-soft), rgba(var(--accent-rgb), 0.18)); }
.mock-card__lines { padding: 10px 12px 12px; display: grid; gap: 6px; }
.mock-card__lines .line { height: 7px; border-radius: 4px; background: var(--line); }
.mock-card__lines .line.short { width: 55%; }
.mock-float { margin-left: auto; width: 42px; height: 42px; border-radius: 50%; background: var(--wa); margin-top: 8px; margin-right: 8px; display: flex; align-items: center; justify-content: center; color: #fff; }
.mock-float svg { width: 20px; height: 20px; }

.section { padding: 72px 0; }
.section--alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head .kicker { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.section__head h2 { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  padding: 26px 24px;
  transition: box-shadow 140ms ease-out, transform 140ms ease-out;
}
.feature:hover { box-shadow: var(--shadow-1); transform: translateY(-2px); }
.feature__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-s);
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); padding: 28px 24px 24px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: 20px; right: 22px;
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--line);
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
  padding: 30px 26px;
  display: flex; flex-direction: column;
}
.price-card--featured { border-color: var(--brand); box-shadow: var(--shadow-1); position: relative; }
.price-card--featured::before {
  content: "POPULAR";
  position: absolute; top: -11px; left: 26px;
  background: var(--accent); color: #fff;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 12px; border-radius: 999px;
}
.price-card__name { font-size: 0.95rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.price-card__amount { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 2px; }
.price-card__per { font-size: 0.82rem; color: var(--ink-faint); }
.price-card__features { list-style: none; padding: 18px 0 22px; margin: 0; display: grid; gap: 10px; flex: 1; }
.price-card__features li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.price-card__features svg { width: 17px; height: 17px; color: var(--wa); flex: none; margin-top: 3px; }

.catalog-band { background: var(--brand); color: #fff; padding: 64px 0; }
.catalog-band h2 { color: #fff; }
.catalog-band p { color: rgba(255, 255, 255, 0.8); }

.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 40px 0 30px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 12px; }
.footer__col a { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 8px; }
.footer__col a:hover { color: var(--brand); }
.footer__bottom { max-width: var(--maxw); margin: 30px auto 0; padding: 18px 20px 0; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-faint); }

/* ------------------------------------------------------------------ */
/* Auth pages                                                           */
/* ------------------------------------------------------------------ */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--paper); }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .panel { padding: 30px; }
.auth-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 22px; color: var(--ink); }
.auth-logo svg { width: 26px; height: 26px; color: var(--accent); }

/* ------------------------------------------------------------------ */
/* Empty state                                                          */
/* ------------------------------------------------------------------ */
.empty {
  text-align: center;
  padding: 54px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--surface-2);
}
.empty svg { width: 40px; height: 40px; color: var(--ink-faint); margin: 0 auto 14px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 18px; }

/* ------------------------------------------------------------------ */
/* Alerts                                                               */
/* ------------------------------------------------------------------ */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 16px;
  border-radius: var(--radius-s);
  font-size: 0.9rem;
  margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.alert--error { background: var(--danger-soft); border-color: #ecc9c4; color: var(--danger); }
.alert--success { background: var(--wa-soft); border-color: #c6e8d4; color: var(--ok); }
.alert--info { background: var(--brand-soft); border-color: #cddcd9; color: var(--brand-2); }
.alert--warn { background: var(--accent-soft); border-color: #ecd3b5; color: var(--warn); }

/* ------------------------------------------------------------------ */
/* Misc                                                                 */
/* ------------------------------------------------------------------ */
.divider { height: 1px; background: var(--line); border: 0; margin: 24px 0; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 0.85rem;
  flex: none;
}
.avatar--accent { background: var(--accent); }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.mono { font-family: var(--font-mono); }
.nowrap { white-space: nowrap; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.ml-auto { margin-left: auto; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* ------------------------------------------------------------------ */
/* Modal                                                                */
/* ------------------------------------------------------------------ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(28, 42, 48, 0.5);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--surface);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow: auto;
}
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal__head h3 { margin: 0; font-size: 1.05rem; }
.modal__body { padding: 22px; }
.modal__foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }
.icon-btn {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--surface); color: var(--ink-soft); cursor: pointer;
  transition: all 140ms ease-out;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------------ */
/* Dashboard utilities                                                  */
/* ------------------------------------------------------------------ */
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.head-row h2 { margin: 0; }
.head-row .sub { font-size: 0.87rem; color: var(--ink-soft); margin-top: 3px; }
.head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.subhead { margin: 26px 0 12px; font-size: 0.76rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }

.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 3px; gap: 2px; }
.seg a, .seg button {
  padding: 5px 12px; font-size: 0.84rem; font-weight: 600;
  color: var(--ink-soft); border-radius: 3px; background: transparent; border: none; cursor: pointer;
}
.seg a:hover, .seg button:hover { color: var(--brand); }
.seg .is-active { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-1); }

.form-actions { display: flex; align-items: center; gap: 10px; padding-top: 6px; flex-wrap: wrap; }
.form-actions .spacer { flex: 1; }
.form-actions .delete-link { font-size: 0.85rem; color: var(--danger); display: inline-flex; align-items: center; gap: 6px; }
.form-actions .delete-link svg { width: 16px; height: 16px; }

.dyn-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-bottom: 10px; }
.dyn-row--single { grid-template-columns: 1fr auto; }
.dyn-row .icon-btn { align-self: start; margin-top: 1px; }

.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; font-size: 0.9rem; }
.kv dt { color: var(--ink-faint); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; padding-top: 1px; }
.kv dd { margin: 0; color: var(--ink); }
.kv dd.mono { font-family: var(--font-mono); font-size: 0.86rem; }

.empty-state { text-align: center; padding: 44px 20px; color: var(--ink-faint); }
.empty-state svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--ink-faint); display: block; }
.empty-state h3 { font-size: 1.05rem; margin-bottom: 6px; }
.empty-state p { font-size: 0.9rem; margin: 0 auto 20px; max-width: 420px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }

.swatch-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.swatch { width: 46px; height: 46px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--brand); flex: none; }
.swatch--accent { background: var(--accent); }
.swatch--wa { background: var(--wa); }
.swatch input[type="color"] { width: 100%; height: 100%; opacity: 0; cursor: pointer; border: none; }
.swatch input[type="color"]:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.swatch-label { font-size: 0.82rem; color: var(--ink-soft); font-family: var(--font-mono); }
.swatch-wrap { display: grid; gap: 4px; text-align: center; }

.preview-bar { height: 46px; border-radius: var(--radius-s); border: 1px solid var(--line); background: linear-gradient(135deg, var(--brand), rgba(var(--accent-rgb), 0.55)); }

.meta-list { display: grid; gap: 6px; font-size: 0.88rem; color: var(--ink-soft); }
.meta-list strong { color: var(--ink); font-weight: 600; }

.notif-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.notif-item:last-child { border-bottom: none; }
.notif-item.is-unread { margin-left: -12px; padding-left: 12px; border-left: 3px solid var(--accent); }
.notif-item__icon { width: 34px; height: 34px; border-radius: var(--radius-s); background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.notif-item__icon svg { width: 17px; height: 17px; }
.notif-item__title { font-weight: 650; font-size: 0.94rem; }
.notif-item__body { font-size: 0.88rem; color: var(--ink-soft); margin-top: 2px; }
.notif-item__time { font-size: 0.76rem; color: var(--ink-faint); font-family: var(--font-mono); margin-top: 4px; }

.wa-preview { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.wa-preview__head { background: #075e54; color: #fff; padding: 10px 14px; font-size: 0.84rem; font-weight: 650; }
.wa-preview__body { background: #efe7dd; padding: 16px 14px; }
.wa-bubble { background: #d9fdd3; border-radius: 8px; padding: 9px 12px; max-width: 80%; font-size: 0.86rem; box-shadow: 0 1px 1px rgba(0,0,0,0.12); white-space: pre-line; }
.wa-bubble__meta { font-size: 0.7rem; color: #667a75; font-family: var(--font-mono); margin-top: 5px; text-align: right; }

/* ------------------------------------------------------------------ */
/* Public catalogue: extra components                                   */
/* ------------------------------------------------------------------ */
.cat-mobile-toggle { display: none; }
.feature-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px 22px; }
.feature-item__icon { width: 42px; height: 42px; border-radius: var(--radius-s); background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature-item__icon svg { width: 22px; height: 22px; }
.feature-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature-item p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

.phone-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.phone-card__img { height: 92px; background: var(--brand-soft); position: relative; }
.phone-card__img::after { content: ""; position: absolute; inset: 10px; border-radius: 6px; background: linear-gradient(135deg, var(--brand-soft), rgba(var(--accent-rgb), 0.18)); }
.phone-card__body { padding: 10px 12px; }
.phone-card__code { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.phone-card__name { font-weight: 650; font-size: 0.86rem; line-height: 1.3; }
.phone-card__price { width: 52%; height: 8px; border-radius: 4px; background: var(--line); margin-top: 8px; }
.phone-card__wa { width: 100%; height: 24px; border-radius: 4px; background: var(--wa-soft); margin-top: 10px; }

.cat-banner { position: relative; overflow: hidden; }
.cat-banner img { width: 100%; height: 100%; object-fit: cover; }

/* Floating enquiry button (pill with badge) */
.float-enq {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  height: 56px; border-radius: 999px;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; gap: 0;
  padding: 0 18px 0 18px;
  box-shadow: 0 4px 14px rgba(31, 175, 85, 0.4);
  text-decoration: none;
  transition: transform 140ms ease-out, background 140ms ease-out, width 220ms ease-out, padding 220ms ease-out;
  width: 56px; overflow: hidden;
}
.float-enq:hover { background: #178a43; color: #fff; transform: translateY(-2px); }
.float-enq svg { width: 24px; height: 24px; flex: none; }
.float-enq.has-items { width: auto; padding-left: 16px; gap: 10px; }
.float-enq__label { font-size: 0.88rem; font-weight: 600; white-space: nowrap; opacity: 0; width: 0; transition: opacity 180ms ease-out, width 220ms ease-out; }
.float-enq.has-items .float-enq__label { opacity: 1; width: auto; }
.float-enq__badge {
  min-width: 22px; height: 22px; border-radius: 999px;
  background: #fff; color: var(--wa); font-size: 0.75rem; font-weight: 700;
  display: none; align-items: center; justify-content: center; padding: 0 6px;
  flex: none;
}
.float-enq.has-items .float-enq__badge { display: inline-flex; }

.product-card.is-picked { border-color: var(--wa); box-shadow: 0 0 0 2px rgba(31, 175, 85, 0.25); }
.product-card__pick {
  position: absolute; right: 8px; top: 8px; z-index: 5;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); color: var(--ink-soft);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 140ms ease-out;
}
.product-card__pick svg { width: 16px; height: 16px; }
.product-card.is-picked .product-card__pick { background: var(--wa); border-color: var(--wa); color: #fff; }

@media (max-width: 720px) {
  .cat-mobile-toggle { display: inline-flex; }
  .cat-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 12px 14px;
    box-shadow: var(--shadow-2);
  }
  .cat-nav.is-open { display: flex; }
  .cat-nav a {
    flex: none; padding: 8px 14px; font-size: 0.86rem; color: var(--ink-soft);
    border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  }
  .cat-nav a:hover { border-color: var(--brand); color: var(--brand); }
  .cat-nav a.is-active { border-color: var(--brand); background: var(--brand); color: #fff; }
}

.cat-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-tile { position: relative; display: block; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: var(--surface); transition: box-shadow 150ms ease-out; }
.cat-tile:hover { box-shadow: var(--shadow-1); }
.cat-tile__media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__media .cat-tile__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-faint); }
.cat-tile__media .cat-tile__ph svg { width: 30px; height: 30px; }
.cat-tile__body { padding: 12px 14px 13px; }
.cat-tile__body h3 { font-size: 0.98rem; margin: 0 0 3px; }
.cat-tile__body p { font-size: 0.84rem; color: var(--ink-soft); margin: 0; }
.cat-tile__count { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px; }
@media (max-width: 720px) {
  .cat-cats { grid-template-columns: repeat(2, 1fr); }
}

.search-bar { display: grid; grid-template-columns: 1fr 230px auto; gap: 10px; align-items: center; }
.search-bar__input { position: relative; }
.search-bar__input svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); width: 18px; height: 18px; pointer-events: none; }
.search-bar__input .input { padding-left: 38px; }
@media (max-width: 720px) {
  .search-bar { grid-template-columns: 1fr; }
}

.meter { height: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 999px; }

@media (max-width: 960px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .land-hero__inner { grid-template-columns: 1fr; padding: 56px 20px 60px; }
  .phone-mock { margin: 0 auto; transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 720px) {
  :root { --header-h: 58px; }
  .feature-grid { grid-template-columns: 1fr; }
  .cat-search { max-width: none; }
  .cat-header .brand__name { display: none; }
  .cat-actions .btn .btn__label { display: none; }
  .land-nav__links a:not(.btn) { display: none; }
  .section { padding: 52px 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card__short { display: none; }
  .float-enq { right: 14px; bottom: 14px; }
}
@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
