/* =========================================================
   LimePortrait — storefront styles
   ========================================================= */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0b1324;
  --ink-2: #16213a;
  --text: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f4f7ef;
  --lime: #a3e635;
  --lime-500: #84cc16;
  --lime-600: #65a30d;
  --lime-700: #4d7c0f;
  --lime-800: #3f6212;
  --lime-50: #f7fee7;
  --lime-100: #ecfccb;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --info: #0369a1;
  --info-bg: #f0f9ff;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, 0.35);
  --font: 'Inter Variable', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
}
img, svg { display: block; max-width: 100%; }
svg:not([width]) { width: 1.15em; height: 1.15em; flex: none; }
a { color: var(--lime-700); text-decoration: none; }
a:hover { color: var(--lime-800); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
small, .small { font-size: 0.875rem; }
.muted { color: var(--muted); }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: #fff; --b-fg: var(--ink); --b-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg); font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  cursor: pointer; text-decoration: none; transition: background 0.15s, border-color 0.15s, transform 0.05s, box-shadow 0.15s; white-space: nowrap;
}
.btn:hover { text-decoration: none; color: var(--b-fg); border-color: var(--muted-2); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { --b-bg: var(--lime-500); --b-fg: var(--ink); --b-bd: var(--lime-500); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 6px 16px -8px rgba(101, 163, 13, 0.7); }
.btn-primary:hover { --b-bg: var(--lime); border-color: var(--lime); }
.btn-dark { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }
.btn-dark:hover { --b-bg: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn-ghost { --b-bg: transparent; --b-bd: transparent; }
.btn-ghost:hover { --b-bg: var(--bg-soft); border-color: transparent; }
.btn-outline-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255,255,255,.3); }
.btn-outline-light:hover { --b-bg: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); color: #fff; }
.btn-danger { --b-bg: #fff; --b-fg: var(--danger); --b-bd: #fecaca; }
.btn-danger:hover { --b-bg: var(--danger-bg); border-color: var(--danger); color: var(--danger); }
.btn-sm { padding: 7px 12px; font-size: 0.85rem; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--lime-700); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.link-danger { color: var(--danger); }

/* ---------- header ---------- */
.announce { background: var(--ink); color: #d9f99d; font-size: 0.82rem; text-align: center; padding: 7px 16px; letter-spacing: 0.01em; }
.announce strong { color: #fff; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 70px; }
/* the header holds 8 menu links + search: give it a little more room than the page body */
.site-header .container.bar { width: min(1360px, 100% - 40px); }
.logo { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--ink); font-weight: 760; font-size: 1.22rem; letter-spacing: -0.03em; }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo svg, .logo .logo-mark { width: 38px; height: 38px; flex: none; }
.logo .lime { color: var(--lime-600); }
.main-nav { display: flex; gap: 2px; align-items: center; }
.main-nav a { white-space: nowrap; color: var(--text); font-weight: 520; font-size: 0.94rem; padding: 8px 10px; border-radius: 8px; }
.main-nav a:hover, .main-nav a[aria-current='page'] { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.header-search { flex: 1; max-width: 340px; margin-left: auto; position: relative; }
.header-search input[type='search'] { width: 100%; padding: 9px 14px 9px 38px; border: 1px solid var(--line); background: var(--bg-soft); border-radius: 10px; font: inherit; font-size: 0.92rem; }
.header-search input[type='search']:focus { outline: none; border-color: var(--lime-500); background: #fff; box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.15); }
.header-search svg { position: absolute; z-index: 1; pointer-events: none; left: 12px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--ink); }
.icon-btn:hover { background: var(--bg-soft); color: var(--ink); }
.icon-btn svg { width: 21px; height: 21px; }
.badge-count { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--lime-500); color: var(--ink); font-size: 0.7rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.account-menu { position: relative; }
.account-menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 10px; font-weight: 560; font-size: 0.92rem; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:hover { background: var(--bg-soft); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--lime-100); color: var(--lime-800); display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; }
.account-menu .menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 230px; padding: 8px; z-index: 50; }
.account-menu .menu a, .account-menu .menu button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 8px; color: var(--text); font: inherit; font-size: 0.92rem; background: none; border: 0; cursor: pointer; text-align: left; }
.account-menu .menu a:hover, .account-menu .menu button:hover { background: var(--bg-soft); text-decoration: none; }
.account-menu .menu .who { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-size: 0.85rem; color: var(--muted); }
.account-menu .menu .who strong { display: block; color: var(--ink); font-size: 0.92rem; }
.nav-toggle { display: none; }
.main-nav.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 18px; box-shadow: var(--shadow); }

/* ---------- flash / alerts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 10px; border: 1px solid; font-size: 0.94rem; margin-bottom: 18px; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert-success { background: var(--lime-50); border-color: #d9f99d; color: var(--lime-800); }
.alert-info { background: var(--info-bg); border-color: #bae6fd; color: var(--info); }
.alert-error { background: var(--danger-bg); border-color: #fecaca; color: #991b1b; }
.alert-warn { background: var(--warn-bg); border-color: #fde68a; color: var(--warn); }
.alert ul { margin: 4px 0 0; padding-left: 18px; }
.flash-wrap { padding-top: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(163, 230, 53, 0.22), transparent 60%), linear-gradient(180deg, var(--ink) 0%, #101b33 100%); color: #cbd5e1; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 84px 0 92px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .hl { color: var(--lime); }
.hero .lede { font-size: 1.15rem; max-width: 560px; color: #cbd5e1; margin-bottom: 30px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.eyebrow svg { width: 15px; height: 15px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime-700); margin-bottom: 14px; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.72); gap: 12px; font-size: 0.75rem; letter-spacing: 0.14em; font-weight: 600; }
.hero .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--lime); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; font-size: 0.92rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--lime); }
.hero-stack { position: relative; height: 470px; }
.hero-stack .doc-frame { position: absolute; width: 300px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); border-radius: 6px; }
.hero-stack .d1 { left: 0; top: 70px; rotate: -7deg; }
.hero-stack .d2 { right: 0; top: 40px; rotate: 6deg; }
.hero-stack .d3 { left: 50%; top: 0; translate: -50% 0; z-index: 2; width: 330px; }
.hero-stack .float-badge { position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: 0.85rem; font-weight: 600; }
.hero-stack .float-badge small { display: block; color: var(--muted); font-weight: 500; font-size: 0.75rem; }
.hero-stack .float-badge .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--lime-100); color: var(--lime-800); }
.hero-stack .float-badge .ic svg { width: 18px; height: 18px; }
.hero-stack .fb1 { left: -10px; bottom: 40px; }
.hero-stack .fb2 { right: -6px; bottom: 110px; }

/* ---------- trust bar ---------- */
.trustbar { border-bottom: 1px solid var(--line); background: #fff; }
.trustbar ul { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; }
.trustbar li { display: flex; align-items: center; gap: 12px; padding: 22px 18px; font-size: 0.9rem; color: var(--muted); border-right: 1px solid var(--line); }
.trustbar li:last-child { border-right: 0; }
.trustbar strong { display: block; color: var(--ink); font-size: 0.94rem; font-weight: 640; }
.trustbar svg { width: 26px; height: 26px; color: var(--lime-600); flex: none; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0; font-size: 1.05rem; }
.section-head h2 { margin-bottom: 10px; }
.center-head { text-align: center; margin: 0 auto 46px; max-width: 700px; }
.center-head p { color: var(--muted); font-size: 1.08rem; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-card:hover { text-decoration: none; color: var(--text); border-color: var(--lime-500); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-50); color: var(--lime-700); border: 1px solid var(--lime-100); }
.cat-card .ic svg { width: 24px; height: 24px; }
.cat-card h3 { margin: 6px 0 0; }
.cat-card p { color: var(--muted); font-size: 0.93rem; margin: 0; flex: 1; }
.cat-card .count { font-size: 0.85rem; font-weight: 600; color: var(--lime-700); display: flex; align-items: center; gap: 6px; }
.cat-card .count svg { width: 16px; height: 16px; transition: translate .15s; }
.cat-card:hover .count svg { translate: 3px 0; }
.cat-card[data-cat='adr'] .ic { background: #fff7ed; color: #c2410c; border-color: #ffedd5; }
.cat-card[data-cat='shipping'] .ic { background: #eff6ff; color: #1e3a8a; border-color: #dbeafe; }
.cat-card[data-cat='operations'] .ic { background: #f0fdfa; color: #0f766e; border-color: #ccfbf1; }
.cat-card[data-cat='hr'] .ic { background: #f5f3ff; color: #6d28d9; border-color: #ede9fe; }
.cat-card[data-cat='office'] .ic { background: #f1f5f9; color: #334155; border-color: #e2e8f0; }

/* ---------- document preview frame ---------- */
.doc-frame { position: relative; aspect-ratio: 210 / 297; overflow: hidden; background: #fff; border-radius: 4px; --s: 0.3; container-type: inline-size; }
.doc-frame > .lpdoc { position: absolute; top: 0; left: 0; transform-origin: top left; transform: scale(var(--s)); pointer-events: none; user-select: none; }
.doc-frame.crop { aspect-ratio: 4 / 3.4; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-2); }
.product-card .thumb { position: relative; display: block; padding: 22px 26px 0; background: linear-gradient(180deg, #eef2f6, #e7ecf2); overflow: hidden; height: 250px; }
.product-card .thumb .doc-frame { box-shadow: 0 12px 30px -12px rgba(15,23,42,.35), 0 0 0 1px rgba(15,23,42,.05); transition: transform .3s; }
.product-card:hover .thumb .doc-frame { transform: translateY(-4px); }
.product-card .thumb[data-cat='adr'] { background: linear-gradient(180deg, #fbf3ec, #f6e9de); }
.product-card .thumb[data-cat='shipping'] { background: linear-gradient(180deg, #eef2fb, #e4eaf7); }
.product-card .thumb[data-cat='invoicing'] { background: linear-gradient(180deg, #f2f7ea, #e8f0dc); }
.product-card .thumb[data-cat='operations'] { background: linear-gradient(180deg, #ebf6f4, #def0ec); }
.product-card .thumb[data-cat='hr'] { background: linear-gradient(180deg, #f4f1fb, #ebe5f7); }
.product-card .thumb[data-cat='office'] { background: linear-gradient(180deg, #f1f3f6, #e6e9ee); }
.product-card .ribbon { position: absolute; top: 14px; left: 14px; z-index: 2; }
.product-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.08rem; margin: 6px 0 6px; }
.product-card h3 a { color: var(--ink); }
.product-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.product-card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 720; font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.price .was { font-size: 0.85rem; font-weight: 500; color: var(--muted-2); text-decoration: line-through; margin-left: 6px; }
.formats { display: flex; gap: 6px; }
.fmt { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 700; padding: 3px 7px; border-radius: 6px; letter-spacing: .02em; }
.fmt-docx { background: #e8f0fe; color: #1d4ed8; }
.fmt-xlsx { background: #e7f6ec; color: #15803d; }
.fmt-web { background: var(--lime-100); color: var(--lime-800); }
.fmt-pdf { background: #fdecec; color: #b91c1c; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); letter-spacing: .01em; }
.pill-lime { background: var(--lime-100); color: var(--lime-800); border-color: #d9f99d; }
.pill-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-owned { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.pill svg { width: 13px; height: 13px; }
.cat-label { font-size: 0.75rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* bundles */
.bundle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.bundle-card { position: relative; display: grid; grid-template-columns: 1fr 190px; gap: 20px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.bundle-card.dark { background: var(--ink); color: #cbd5e1; border-color: var(--ink); }
.bundle-card.dark h3, .bundle-card.dark .price { color: #fff; }
.bundle-card h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.bundle-card h3 a { color: inherit; }
.bundle-card p { font-size: 0.94rem; color: var(--muted); }
.bundle-card.dark p { color: #94a3b8; }
.bundle-card ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 0.9rem; display: grid; gap: 6px; }
.bundle-card li { display: flex; gap: 8px; align-items: center; }
.bundle-card li svg { width: 16px; height: 16px; color: var(--lime-600); flex: none; }
.bundle-card.dark li svg { color: var(--lime); }
.bundle-card .stack { position: relative; height: 210px; }
.bundle-card .stack .doc-frame { position: absolute; width: 130px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.bundle-card .stack .doc-frame:nth-child(1) { left: 0; top: 24px; rotate: -6deg; }
.bundle-card .stack .doc-frame:nth-child(2) { right: 0; top: 18px; rotate: 6deg; }
.bundle-card .stack .doc-frame:nth-child(3) { left: 50%; translate: -50% 0; top: 0; z-index: 2; }
.save-tag { display: inline-flex; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--lime-500); color: var(--ink); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step .num { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 750; margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* security split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.feature-list .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-50); color: var(--lime-700); border: 1px solid var(--lime-100); }
.feature-list .ic svg { width: 21px; height: 21px; }
.feature-list strong { display: block; color: var(--ink); font-weight: 640; }
.feature-list span { color: var(--muted); font-size: 0.94rem; }
.secure-visual { background: var(--ink); border-radius: 18px; padding: 30px; color: #cbd5e1; box-shadow: var(--shadow-lg); font-size: 0.88rem; }
.secure-visual .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; margin-bottom: 10px; }
.secure-visual .row .l { display: flex; gap: 12px; align-items: center; }
.secure-visual .row .file { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-weight: 750; font-size: 0.7rem; }
.secure-visual .row strong { color: #fff; display: block; font-weight: 600; }
.secure-visual .row small { color: #94a3b8; }
.secure-visual .lock { display: flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; font-size: 0.8rem; }
.secure-visual .lock svg { width: 15px; height: 15px; }
.secure-visual .meta { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.12); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; color: #94a3b8; line-height: 1.8; }
.secure-visual .meta b { color: var(--lime); font-weight: 500; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 620; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--lime-600); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--lime-500), #bef264); border-radius: 22px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--ink); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: #1a2e05; font-size: 1.05rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #94a3b8; padding: 70px 0 34px; margin-top: 0; font-size: 0.92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: var(--lime); }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo:hover { color: #fff; }
.site-footer .logo .logo-mark { border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.site-footer .bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; }
.pay-badges { display: flex; gap: 8px; align-items: center; }
.pay-badges span { border: 1px solid rgba(255,255,255,.15); border-radius: 6px; padding: 3px 8px; font-size: 0.72rem; font-weight: 700; color: #cbd5e1; letter-spacing: .04em; }

/* ---------- page header / breadcrumbs ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-head h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 8px; }
.page-head p { color: var(--muted); margin: 0; max-width: 680px; font-size: 1.05rem; }
.crumbs { display: flex; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.page-body { padding: 44px 0 90px; }

/* ---------- shop ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 94px; display: grid; gap: 26px; }
.filters h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.filters ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.filters a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; color: var(--text); font-size: 0.93rem; }
.filters a:hover { background: var(--bg-soft); text-decoration: none; }
.filters a.active { background: var(--lime-50); color: var(--lime-800); font-weight: 620; }
.filters .n { font-size: 0.78rem; color: var(--muted); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: 0.93rem; }
.toolbar form { display: flex; gap: 10px; align-items: center; }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty svg { width: 42px; height: 42px; margin: 0 auto 14px; color: var(--muted-2); }
.empty h3 { color: var(--ink); }

/* ---------- product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.preview-panel { position: sticky; top: 94px; background: linear-gradient(180deg, #eef2f6, #e3e8ef); border-radius: 18px; padding: 34px; border: 1px solid var(--line); }
.preview-panel[data-cat='adr'] { background: linear-gradient(180deg, #fbf3ec, #f3e4d6); }
.preview-panel[data-cat='shipping'] { background: linear-gradient(180deg, #eef2fb, #e0e7f6); }
.preview-panel[data-cat='invoicing'] { background: linear-gradient(180deg, #f2f7ea, #e4eed6); }
.preview-panel[data-cat='operations'] { background: linear-gradient(180deg, #ebf6f4, #d9eee9); }
.preview-panel[data-cat='hr'] { background: linear-gradient(180deg, #f4f1fb, #e7e0f6); }
.preview-panel[data-cat='office'] { background: linear-gradient(180deg, #f1f3f6, #e2e6ec); }
.preview-panel .doc-frame { box-shadow: 0 30px 60px -28px rgba(15,23,42,.5), 0 0 0 1px rgba(15,23,42,.05); }
.preview-panel .caption { display: flex; justify-content: space-between; margin-top: 16px; font-size: 0.83rem; color: var(--muted); gap: 12px; }
.product-info h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 10px 0 12px; }
.product-info .lead { font-size: 1.08rem; color: var(--muted); }
.buy-box { border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin: 26px 0; background: #fff; box-shadow: var(--shadow-sm); }
.buy-box .price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.buy-box .price { font-size: 2rem; }
.buy-box .licence { font-size: 0.86rem; color: var(--muted); margin-bottom: 18px; }
.buy-box .actions { display: grid; gap: 10px; }
.buy-box .assure { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.87rem; color: var(--muted); }
.buy-box .assure li { display: flex; gap: 10px; align-items: center; }
.buy-box .assure svg { width: 17px; height: 17px; color: var(--lime-600); flex: none; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--lime-600); flex: none; margin-top: 2px; }
.format-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.format-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 0.85rem; color: var(--muted); }
.format-card strong { display: block; color: var(--ink); font-size: 0.92rem; margin: 8px 0 2px; }
.notice-box { border-left: 4px solid #f97316; background: #fff7ed; padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: 0.88rem; color: #7c2d12; margin-bottom: 24px; }
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 28px; }
.included a { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: var(--text); font-size: 0.85rem; font-weight: 600; background: #fff; }
.included a:hover { border-color: var(--lime-500); text-decoration: none; }
.included .doc-frame { margin-bottom: 10px; box-shadow: 0 0 0 1px var(--line); }
.related { margin-top: 80px; }

/* ---------- forms ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 22px; }
.card > span > svg { width: 22px; height: 22px; }
.card h2, .card h3 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .label { font-size: 0.87rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.8rem; color: var(--muted); }
input[type='text'], input[type='email'], input[type='password'], input[type='search'], input[type='date'], input[type='number'], select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 9px; background: #fff; font: inherit; font-size: 0.95rem; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lime-600); box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lime-600); flex: none; }
.auth-wrap { min-height: calc(100vh - 300px); display: grid; place-items: center; padding: 60px 20px 90px; background: var(--bg-soft); }
.auth-card { width: min(460px, 100%); }
.auth-card .card { padding: 34px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; }
.auth-card form { display: grid; gap: 16px; }
.auth-card .alt { text-align: center; margin-top: 18px; color: var(--muted); font-size: 0.93rem; }
.auth-perks { display: grid; gap: 10px; margin-top: 22px; font-size: 0.86rem; color: var(--muted); }
.auth-perks div { display: flex; gap: 10px; align-items: center; }
.auth-perks svg { width: 17px; height: 17px; color: var(--lime-600); }

/* ---------- cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.line-items { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item .doc-frame { width: 76px; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.line-item h3 { font-size: 1rem; margin: 0 0 4px; }
.line-item h3 a { color: var(--ink); }
.line-item .meta { font-size: 0.85rem; color: var(--muted); }
.line-item .right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.summary { position: sticky; top: 94px; }
.summary .rows { display: grid; gap: 10px; font-size: 0.95rem; margin-bottom: 18px; }
.summary .rows div { display: flex; justify-content: space-between; }
.summary .total { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 720; font-size: 1.15rem; color: var(--ink); }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.secure-note svg { width: 15px; height: 15px; }
.pay-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.pay-card { min-height: 420px; padding: 24px; }
.pay-cancel { font-size: 0.875rem; color: var(--muted); }
.pay-cancel:hover { color: var(--danger); }
.stripe-checkout { min-height: 360px; }
.pay-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 360px; color: var(--muted); font-size: 0.95rem; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--lime-600); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-banner { border: 1px dashed #f59e0b; background: var(--warn-bg); border-radius: 12px; padding: 14px 16px; font-size: 0.88rem; color: #92400e; margin-bottom: 18px; }

/* ---------- library ---------- */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.lib-card { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.lib-card .doc-frame { width: 96px; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.lib-card h3 { font-size: 1rem; margin: 2px 0 4px; }
.lib-card .key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.75rem; color: var(--muted); }
.lib-card .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.lib-card .acts > a { grid-column: 1 / -1; }
.lib-card .acts .btn { padding-inline: 8px; }
.lib-card .acts form { display: contents; }
.lib-section { margin-bottom: 48px; }
.lib-section > h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 650; background: var(--bg-soft); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .acts { display: flex; gap: 6px; justify-content: flex-end; }
.table .acts form { display: inline; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; text-transform: capitalize; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-paid { background: #ecfdf5; color: #047857; }
.status-pending { background: var(--warn-bg); color: var(--warn); }
.status-refunded, .status-cancelled { background: #f1f5f9; color: #475569; }
.lib-hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.stat-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.stat-chip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-size: 0.85rem; color: var(--muted); }
.stat-chip strong { display: block; color: var(--ink); font-size: 1.2rem; }

/* cookie consent banner (Microsoft Clarity) */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(450px, calc(100vw - 40px)); display: flex; gap: 14px; padding: 18px 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.consent-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--lime-100); color: var(--lime-700); }
.consent .consent-ic svg { width: 20px; height: 20px; }
.consent strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 0.98rem; }
.consent p { margin: 0 0 12px; color: var(--text); font-size: 0.86rem; line-height: 1.5; }
.consent-actions { display: flex; gap: 8px; }
.consent-actions .btn { flex: 1 1 0; justify-content: center; }
.foot-btn { padding: 0; border: 0; background: none; color: #cbd5e1; font: inherit; text-align: left; cursor: pointer; }
.foot-btn:hover { color: var(--lime); }
@media (max-width: 560px) { .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; } .consent-ic { display: none; } }
@media print { .consent { display: none !important; } }

/* billing address block (checkout + account) */
.addr { min-width: 0; margin: 22px 0 0; padding: 0 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--bg-soft), #fff 120px); }
.addr-head { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 0 14px; }
.addr-head strong { display: block; color: var(--ink); font-size: 0.98rem; }
.addr-head small { display: block; color: var(--muted); font-size: 0.8rem; }
.addr-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--lime-100); color: var(--lime-700); }
.addr .addr-ic svg { width: 19px; height: 19px; }
.addr-grid { clear: both; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; }
.addr-wide { grid-column: 1 / -1; }
.addr-more { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: -4px; padding: 2px 0; border: 0; background: none; color: var(--lime-700); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; }
.addr-more:hover { text-decoration: underline; }
.addr .addr-more svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .addr { padding: 0 14px 14px; } .addr-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; } }

/* order / receipt */
.pdf-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.pdf-link svg { width: 14px; height: 14px; }
.receipt { max-width: 820px; margin: 0 auto; }
.receipt .head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.receipt .parties { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 26px; font-size: 0.93rem; }
.receipt .parties h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.thanks { text-align: center; padding: 10px 0 34px; }
.thanks .ok { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; background: var(--lime-100); color: var(--lime-700); display: grid; place-items: center; }
.thanks .ok svg { width: 32px; height: 32px; }

/* ---------- content pages ---------- */
.prose { font-size: 1.02rem; color: #334155; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ---------- admin ---------- */
.admin-layout { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 70px); }
.admin-nav { background: var(--bg-soft); border-right: 1px solid var(--line); padding: 26px 16px; }
.admin-nav h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 0 12px; margin-bottom: 10px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--text); font-size: 0.93rem; font-weight: 520; }
.admin-nav a svg { width: 18px; height: 18px; color: var(--muted); }
.admin-nav a:hover { background: #fff; text-decoration: none; }
.admin-nav a.active { background: #fff; color: var(--ink); font-weight: 650; box-shadow: var(--shadow-sm); }
.admin-nav a.active svg { color: var(--lime-600); }
.admin-main { padding: 34px 40px 80px; min-width: 0; }
.admin-main h1 { font-size: 1.7rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.kpi .label { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.kpi .value { font-size: 1.6rem; font-weight: 740; color: var(--ink); letter-spacing: -0.02em; margin-top: 4px; }
.kpi .sub { font-size: 0.8rem; color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 20px; }
.admin-grid > .card + .card { margin-top: 0; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.bars .bar span { display: block; width: 100%; background: var(--lime-500); border-radius: 5px 5px 2px 2px; min-height: 3px; }
.bars .bar.zero span { background: var(--line); }
.bars .bar small { font-size: 0.66rem; color: var(--muted); }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form input[type='text'] { width: 100px; padding: 7px 10px; }

/* error page */
.error-page { text-align: center; padding: 110px 20px 130px; }
.error-page .code { font-size: 5rem; font-weight: 800; color: var(--lime-500); letter-spacing: -0.05em; line-height: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trustbar ul { grid-template-columns: repeat(3, 1fr); }
  .trustbar li:nth-child(n+4) { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-stack { height: 420px; max-width: 560px; margin: 0 auto; width: 100%; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1360px) {
  .header-search { display: none; }
}
@media (max-width: 1280px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-grid; }
}
@media (max-width: 860px) {
  .shop-layout, .product-layout, .cart-layout, .pay-layout, .split, .bundle-grid { grid-template-columns: 1fr; }
  .filters, .preview-panel, .summary { position: static; }
  .steps { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { display: flex; overflow-x: auto; gap: 4px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav h4 { display: none; }
  .admin-main { padding: 24px 20px 60px; }
  .included { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .site-header .bar { gap: 10px; }
  .hide-sm, .header-actions .btn-dark { display: none; }
  .header-actions { margin-left: auto; gap: 2px; }
  .account-menu summary { padding: 4px; }
  .logo { font-size: 1.08rem; }
  .logo svg, .logo .logo-mark { width: 32px; height: 32px; }
  .announce { font-size: 0.74rem; }
  .product-grid, .product-grid.cols-4, .cat-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trustbar ul { grid-template-columns: 1fr; }
  .trustbar li { border-right: 0; border-bottom: 1px solid var(--line); }
  .trustbar li:nth-child(n+2) { display: none; }
  .bundle-card { grid-template-columns: 1fr; }
  .bundle-card .stack { display: none; }
  .format-cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-stack { height: 360px; }
  .hero-stack .doc-frame { width: 220px; }
  .hero-stack .d3 { width: 240px; }
  .line-item { grid-template-columns: 56px 1fr; }
  .line-item .right { grid-column: 1 / -1; justify-items: start; text-align: left; }
  .kpis { grid-template-columns: 1fr 1fr; }
}

/* ---------- category landing-page guide (SEO copy) ---------- */
.seo-guide { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; gap: 28px; max-width: 820px; }
.seo-guide h2 { font-size: 1.25rem; margin: 0 0 8px; }
.seo-guide p { color: #475569; margin: 0; }
.seo-guide .faq { max-width: none; }

/* ---------- language switcher ---------- */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-size: 0.82rem; font-weight: 650; color: var(--text); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: var(--bg-soft); }
.lang-menu summary svg { width: 18px; height: 18px; color: var(--muted); }
.lang-menu .menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 170px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; display: grid; }
.lang-menu .menu a { padding: 8px 12px; border-radius: 8px; color: var(--text); font-size: 0.9rem; }
.lang-menu .menu a:hover { background: var(--bg-soft); text-decoration: none; }
.lang-menu .menu a[aria-current] { font-weight: 700; color: var(--lime-700); background: var(--lime-50); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.82rem; }
.foot-langs a { color: inherit; opacity: 0.75; }
.foot-langs a[aria-current] { opacity: 1; font-weight: 700; }

/* ---------- Mega menu ---------- */
.site-header { position: sticky; }
.mega-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 9px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 600; font-size: .94rem; cursor: pointer; white-space: nowrap; margin-right: 6px; }
.mega-trigger svg { width: 17px; height: 17px; }
.mega-trigger svg:last-child { width: 15px; height: 15px; transition: rotate .2s; }
.mega-trigger:hover { background: var(--ink-2); }
.mega-trigger[aria-expanded='true'] { background: var(--lime-500); color: var(--ink); }
.mega-trigger[aria-expanded='true'] svg:last-child { rotate: 180deg; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(15,23,42,.45); z-index: 60; animation: megaIn .18s ease-out; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-inner { display: grid; grid-template-columns: 300px 1fr; min-height: 420px; max-height: calc(100vh - 140px); }
.mega-side { padding: 18px 14px 18px 0; border-right: 1px solid var(--line); overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.mega-link, .mega-cat { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
.mega-link:hover { text-decoration: none; background: var(--bg-soft); color: var(--ink); }
.mega-cat > svg { width: 15px; height: 15px; margin-left: auto; color: var(--muted-2); opacity: 0; transition: opacity .15s, translate .15s; }
.mega-cat:hover, .mega-cat.active { background: var(--lime-50); }
.mega-cat.active { box-shadow: inset 3px 0 0 var(--lime-500); }
.mega-cat.active > svg, .mega-cat:hover > svg { opacity: 1; translate: 2px 0; color: var(--lime-700); }
.mega-side .ic { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); color: var(--lime-700); }
.mega-side .ic svg { width: 17px; height: 17px; }
.mega-side .ic[data-cat-ic='shipping'] { color: #1e3a8a; background: #eff6ff; border-color: #dbeafe; }
.mega-side .ic[data-cat-ic='adr'] { color: #c2410c; background: #fff7ed; border-color: #ffedd5; }
.mega-side .ic[data-cat-ic='operations'] { color: #0f766e; background: #f0fdfa; border-color: #ccfbf1; }
.mega-side .n { margin-left: auto; font-size: .75rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.mega-cat .n + svg { margin-left: 6px; }
.mega-sep { height: 1px; background: var(--line); margin: 8px 12px; }
.mega-main { padding: 26px 0 26px 34px; overflow-y: auto; }
.mega-back { display: none; }
.mega-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mega-head h3 { font-size: 1.2rem; margin: 0 0 4px; }
.mega-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.mega-all { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 600; font-size: .9rem; }
.mega-all svg { width: 15px; height: 15px; }
.mega-body { display: grid; grid-template-columns: 1fr 250px; gap: 28px; align-items: start; }
.mega-list { list-style: none; margin: 0; padding: 0; columns: 3 190px; column-gap: 28px; }
.mega-list li { break-inside: avoid; }
.mega-list a { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--text); font-size: .92rem; }
.mega-list a:hover { color: var(--lime-700); text-decoration: none; }
.mega-list-rich a { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0; font-weight: 600; color: var(--ink); }
.mega-list-rich small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.mega-tag { font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--lime-100); color: var(--lime-800); }
.mega-promo { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 14px; background: var(--ink); color: #cbd5e1; font-size: .86rem; transition: transform .15s; }
.mega-promo:hover { text-decoration: none; color: #cbd5e1; transform: translateY(-2px); }
.mega-promo strong { color: #fff; font-size: 1.05rem; line-height: 1.3; }
.mega-promo-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.mega-promo-kicker svg { width: 14px; height: 14px; }
.mega-promo-price { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; color: var(--lime); }
.mega-promo-price svg { width: 15px; height: 15px; }
.mega-promo-price em { font-style: normal; font-size: .75rem; color: var(--muted); font-weight: 600; }
.mega-bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mega-bundle { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .85rem; }
.mega-bundle:hover { text-decoration: none; border-color: var(--lime-500); color: var(--muted); }
.mega-bundle strong { color: var(--ink); font-size: .98rem; }
.mega-bundle .mega-promo-price { color: var(--lime-700); }
@media (max-width: 1000px) {
  .main-nav.open .mega-trigger { justify-content: center; margin: 0 0 6px; }
  .mega { position: absolute; top: 100%; overflow-y: auto; }
  .mega-inner { grid-template-columns: 1fr; max-height: none; min-height: 0; }
  .mega-side { border-right: 0; padding: 14px 0; }
  .mega-main { display: none; padding: 14px 0 30px; }
  .mega.show-panel .mega-side { display: none; }
  .mega.show-panel .mega-main { display: block; }
  .mega-back { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--lime-700); padding: 4px 0 14px; cursor: pointer; }
  .mega-back svg { width: 16px; height: 16px; }
  .mega-body { grid-template-columns: 1fr; }
  .mega-head { flex-direction: column; gap: 8px; }
}
.mega-inner { grid-template-columns: 330px 1fr; }
.mega-cat .t, .mega-link .t { flex: 1; min-width: 0; }
.mega-cat .t + .n { margin-left: 0; }
@media (max-width: 1000px) { .mega-inner { grid-template-columns: 1fr; } }

.mega-mobile-head { display: none; }
@media (max-width: 1000px) {
  .mega { z-index: 70; }
  .mega-mobile-head { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
  .mega-mobile-head strong { font-size: 1.1rem; color: var(--ink); }
  body.mega-open { overflow: hidden; }
}

a.mega-cat:hover { text-decoration: none; color: var(--ink); }

/* ---------- product page: key facts & questions (answer-ready content) ---------- */
.facts { display: grid; gap: 0; margin: 10px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: .92rem; }
.facts > div:first-child { border-top: 0; }
.facts > div:nth-child(odd) { background: var(--bg-soft); }
.facts dt { font-weight: 650; color: var(--ink); margin: 0; }
.facts dd { margin: 0; color: var(--text); }
.product-faq { margin-top: 56px; max-width: 860px; }
.product-faq h2 { font-size: 1.45rem; margin: 0 0 16px; }
@media (max-width: 560px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- checkout choice (signed out) and guest thank-you ---------- */
.checkout-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.choice-card { display: flex; flex-direction: column; padding: 30px; }
.choice-card h2 { font-size: 1.3rem; margin: 10px 0 18px; }
.choice-card .check-list { margin-bottom: 18px; }
.choice-card .pill { align-self: flex-start; }
.choice-main { border: 2px solid var(--lime-500, #84cc16); }
.choice-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 8px; }
.guest-thanks { max-width: 640px; margin: 0 auto; display: grid; gap: 22px; }
.guest-thanks h1 { font-size: 1.7rem; }
.guest-order { display: grid; gap: 10px; text-align: left; margin: 22px 0 8px; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: .95rem; }
.guest-order div { display: flex; justify-content: space-between; gap: 12px; }
.guest-order .total { font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; }
.guest-cta { background: var(--lime-50, #f7fee7); border-color: #d9f99d; }
.guest-cta h2 { font-size: 1.2rem; margin-bottom: 8px; }
.guest-cta .btn { margin: 8px 8px 0 0; }
@media (max-width: 760px) { .checkout-choice { grid-template-columns: 1fr; } }

/* ---------- Guides ---------- */
.guide-head .pill { margin-bottom: 12px; }
.guide-head h1 { max-width: 900px; }
.guide-head .lead { color: var(--muted); max-width: 760px; font-size: 1.1rem; margin: 0 0 14px; }
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted); margin: 0; }
.guide-meta svg { width: 17px; height: 17px; color: var(--lime-600); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: start; padding-top: 40px; padding-bottom: 70px; }
.guide-main { max-width: 780px; min-width: 0; }
.answer-box { background: var(--lime-50); border: 1px solid #d9f99d; border-left: 4px solid var(--lime-500); border-radius: 12px; padding: 20px 24px; margin-bottom: 8px; }
.answer-box h2 { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lime-800); margin: 0 0 8px; }
.answer-box h2 svg { width: 18px; height: 18px; }
.answer-box p { margin: 0; color: var(--ink-2); font-size: 1.04rem; line-height: 1.65; }
.guide-prose h2 { scroll-margin-top: 90px; }
.guide-prose p, .guide-prose li { line-height: 1.7; }
.guide-prose strong { color: var(--ink); }
.guide-prose ol { padding-left: 22px; }
.guide-prose ol li::marker { color: var(--lime-700); font-weight: 700; }
.guide-note { display: flex; gap: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 22px 0; }
.guide-note svg { flex: none; width: 20px; height: 20px; color: var(--lime-700); margin-top: 3px; }
.guide-note p { margin: 0; font-size: 0.96rem; }
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap:focus-visible { outline-offset: 2px; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.guide-table thead th { background: var(--bg-soft); color: var(--ink); font-weight: 650; white-space: nowrap; }
.guide-table tbody th { color: var(--ink); font-weight: 650; white-space: nowrap; }
.guide-table tbody tr:last-child th, .guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table tbody tr:nth-child(even) { background: #fbfcfd; }
.guide-faq { margin-top: 48px; }
.guide-faq h2 { font-size: 1.4rem; }
.guide-sources { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.guide-sources h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.guide-sources ul { padding-left: 18px; color: #475569; font-size: 0.92rem; }
.guide-sources li { margin-bottom: 6px; }
.guide-aside { position: sticky; top: 96px; display: grid; gap: 18px; }
.toc { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; }
.toc-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 0.9rem; }
.toc a { color: #334155; }
.toc a:hover { color: var(--lime-800); }
.toc-cta { border: 1px solid #e3ecd3; background: var(--bg-tint); border-radius: 14px; padding: 18px 20px; }
.toc-cta ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 0.9rem; }
.toc-cta li a { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); }
.toc-cta li svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--lime-700); }
.guide-templates { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
.guide-more { padding: 60px 0 80px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-grid-lg { grid-template-columns: repeat(2, 1fr); }
.guide-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.guide-card:hover { text-decoration: none; color: inherit; box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line-2); }
.guide-card h2, .guide-card h3 { font-size: 1.15rem; margin: 0; line-height: 1.3; }
.guide-grid-lg .guide-card h2 { font-size: 1.3rem; }
.guide-card p { color: var(--muted); margin: 0; font-size: 0.95rem; flex: 1; }
.guide-card-foot { display: flex; align-items: center; gap: 6px; width: 100%; font-size: 0.85rem; color: var(--muted); }
.guide-card-foot svg { width: 16px; height: 16px; }
.guide-card-foot .go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--lime-700); font-weight: 600; }
.guide-ask { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.guide-links { display: grid; gap: 10px; }
.guide-links a { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px 16px; color: var(--ink); }
.guide-links a:hover { text-decoration: none; border-color: var(--lime-500); box-shadow: var(--shadow-sm); }
.guide-links a > svg { flex: none; width: 20px; height: 20px; color: var(--lime-700); margin-top: 2px; }
.guide-links a > span { display: grid; gap: 3px; }
.product-guides { margin-top: 50px; }
.product-guides h2 { font-size: 1.4rem; }
.seo-guides { grid-column: 1 / -1; }
.filter-guides ul a { display: inline-flex; gap: 6px; align-items: flex-start; }
.filter-guides svg { flex: none; width: 15px; height: 15px; margin-top: 3px; }
@media (max-width: 1080px) {
  .guide-layout { grid-template-columns: 1fr; gap: 28px; }
  .guide-aside { position: static; grid-row: 1; }
  .toc-cta { display: none; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .guide-grid, .guide-grid-lg { grid-template-columns: 1fr; }
  .guide-ask { flex-direction: column; align-items: flex-start; }
  .guide-table { font-size: 0.86rem; }
  .guide-table thead th, .guide-table tbody th { white-space: normal; }
}

/* Small phones: keep the header and section headings inside the screen in every language */
.signin svg { width: 17px; height: 17px; }
@media (min-width: 561px) { .signin svg { display: none; } }
@media (max-width: 560px) {
  .signin { padding: 8px; }
  .signin span, .lang-menu summary span { display: none; }
  .section-head { flex-wrap: wrap; align-items: flex-start; gap: 14px; }
  .secure-visual { padding: 18px; }
  .secure-visual .row { flex-wrap: wrap; gap: 8px; }
  .secure-visual .meta { overflow-wrap: anywhere; }
}
.product-layout > * { min-width: 0; }
.product-info, .facts dd { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .product-info .actions > *, .product-info .actions form { max-width: 100%; }
}

/* Continue with Google (login / register) */
.btn-google { background: #fff; color: #1f1f1f; border: 1px solid var(--line-2); gap: 10px; font-weight: 600; }
.btn-google:hover { background: #f8fafc; border-color: #94a3b8; color: #1f1f1f; }
.btn-google svg { flex: none; }
.google-terms { font-size: .8rem; color: var(--muted); text-align: center; margin: 8px 0 0; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .85rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
