/* ==========================================================================
   dobby POS — design system & site styles
   1. Fonts  2. Tokens (light / dark)  3. Base  4. Layout  5. Typography
   6. Components  7. Offer bar  8. Header & mega menu  9. Footer
   10. Cookies & modal  11. Pages  12. Motion  13. Utilities
   ========================================================================== */

/* 1. Fonts — Sofia Sans variable (OFL, Lettersoup), self-hosted, per-script subsets.
   Full Greek support incl. accented capitals (ΆΈΉΊΌΎΏ). To try another family, change these files and --font-sans. */
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url("../fonts/sofia-sans-latin.woff2") format("woff2");
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url("../fonts/sofia-sans-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url("../fonts/sofia-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Comfortaa variable 300–700 (OFL), the rounded family of the dobby wordmark: display type only (headings, big numbers) */
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/comfortaa-latin.woff2") format("woff2");
  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: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/comfortaa-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/comfortaa-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-adjusted fallback keeps the swap from shifting layout (Sofia Sans is narrower than Arial) */
@font-face {
  font-family: "Sofia Sans Fallback";
  src: local("Arial");
  size-adjust: 92%;
  ascent-override: 100%;
  descent-override: 26%;
  line-gap-override: 0%;
}

/* 2. Tokens ---------------------------------------------------------------- */
:root {
  /* brand scale around #FF3656 (logo and buttons) */
  --brand-50: #fff1f3;
  --brand-100: #ffe0e5;
  --brand-200: #ffc2cc;
  --brand-300: #ff94a6;
  --brand-400: #ff5c78;
  --brand-500: #ff3656;   /* the brand colour: buttons, badges, borders, icons */
  --brand-600: #e02246;   /* same red, a shade deeper: small text on white (4.7:1) */
  --brand-700: #b8173a;
  --brand-800: #8f0f2a;
  --brand-900: #5c0a1c;

  --font-sans: "Sofia Sans", "Sofia Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Comfortaa", var(--font-sans);

  /* primary buttons: brand red fading lighter to the right */
  --btn-grad-a: var(--brand-500);
  --btn-grad-b: #ff7d92;
  --brand-grad: linear-gradient(90deg, var(--btn-grad-a), var(--btn-grad-b));   /* red surfaces, same as the buttons at rest */

  /* type scale (fluid) */
  --fs-xs: 0.875rem;
  --fs-sm: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  --fs-h1: clamp(1.875rem, 1.45rem + 1.9vw, 3rem);
  --fs-display: clamp(2.125rem, 1.5rem + 2.8vw, 4rem);

  /* spacing (4px base) */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.25rem;
  --sp-6: 1.5rem; --sp-8: 2rem; --sp-10: 2.5rem; --sp-12: 3rem; --sp-16: 4rem; --sp-20: 5rem; --sp-24: 6rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 80rem;

  /* radii */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-2xl: 40px; --r-pill: 999px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms; --t: 240ms; --t-slow: 600ms;

  --header-h: 72px;
  --header-h-scrolled: 60px;

  /* status */
  --success-500: #12a150;
  --warning-500: #e79a0b;
  --info-500: #2f6fed;

  /* ---- light theme ---- */
  color-scheme: light;
  --bg: #ffffff;
  --bg-subtle: #f7f6f5;        /* alternating sections */
  --bg-muted: #efeeec;
  --surface: #ffffff;           /* cards */
  --surface-2: #f7f6f5;
  --surface-raised: #ffffff;
  --text: #121214;
  --text-muted: #55575e;        /* 7.3:1 on white */
  --text-subtle: #6c6e75;       /* 5.1:1 on white */
  --border: #e5e4e2;
  --border-strong: #cfcdca;
  --brand: var(--brand-500);
  --brand-solid: var(--brand-500);
  --brand-solid-hover: var(--brand-400);
  --brand-text: var(--brand-600);
  --brand-soft: var(--brand-50);
  --brand-soft-text: var(--brand-700);
  --on-brand: #ffffff;
  --inverse-bg: #121214;
  --inverse-text: #ffffff;
  --focus: #1a5fff;
  --success: #0d7f3f;
  --success-soft: #e6f6ed;
  --warning: #8a5a00;
  --warning-soft: #fdf3dc;
  --danger: #c4162f;
  --shadow-sm: 0 1px 2px rgb(18 18 20 / 0.06);
  --shadow-md: 0 4px 16px -4px rgb(18 18 20 / 0.10), 0 1px 3px rgb(18 18 20 / 0.06);
  --shadow-lg: 0 24px 48px -16px rgb(18 18 20 / 0.18), 0 2px 6px rgb(18 18 20 / 0.05);
  --header-bg: rgb(255 255 255 / 0.86);
  --deco-elf: url("../img/brand/elf-red.webp");
  --deco-opacity: 0.05;
  --offerbar-bg: #121214;
  --offerbar-fg: #ffffff;
  --offerbar-bd: transparent;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0e;
  --bg-subtle: #121216;
  --bg-muted: #1a1a20;
  --surface: #141418;
  --surface-2: #1b1b21;
  --surface-raised: #1f1f26;
  --text: #f4f4f6;
  --text-muted: #b2b4bc;
  --text-subtle: #92949d;
  --border: #2a2a32;
  --border-strong: #3a3a44;
  --brand: var(--brand-500);
  --brand-solid: var(--brand-500);
  --brand-solid-hover: var(--brand-400);
  --brand-text: var(--brand-500);
  --brand-soft: rgb(255 54 86 / 0.14);
  --brand-soft-text: var(--brand-300);
  --on-brand: #ffffff;
  --inverse-bg: #f4f4f6;
  --inverse-text: #121214;
  --focus: #7aa7ff;
  --success: #4cd38a;
  --success-soft: rgb(18 161 80 / 0.16);
  --warning: #f5c35b;
  --warning-soft: rgb(231 154 11 / 0.16);
  --danger: #ff6b81;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-md: 0 6px 20px -6px rgb(0 0 0 / 0.6), 0 1px 3px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 28px 56px -18px rgb(0 0 0 / 0.75), 0 2px 6px rgb(0 0 0 / 0.4);
  --header-bg: rgb(11 11 14 / 0.82);
  --deco-elf: url("../img/brand/elf-white.webp");
  --deco-opacity: 0.04;
  --offerbar-bg: #1b1b21;
  --offerbar-fg: #f4f4f6;
  --offerbar-bd: #2a2a32;
}

/* No JS: follow the OS setting */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0b0b0e; --bg-subtle: #121216; --bg-muted: #1a1a20;
    --surface: #141418; --surface-2: #1b1b21; --surface-raised: #1f1f26;
    --text: #f4f4f6; --text-muted: #b2b4bc; --text-subtle: #92949d;
    --border: #2a2a32; --border-strong: #3a3a44;
    --brand-solid-hover: var(--brand-400); --brand-text: var(--brand-500);
    --brand-soft: rgb(255 54 86 / 0.14); --brand-soft-text: var(--brand-300);
    --inverse-bg: #f4f4f6; --inverse-text: #121214; --focus: #7aa7ff;
    --success: #4cd38a; --success-soft: rgb(18 161 80 / 0.16);
    --warning: #f5c35b; --warning-soft: rgb(231 154 11 / 0.16); --danger: #ff6b81;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-md: 0 6px 20px -6px rgb(0 0 0 / 0.6), 0 1px 3px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 28px 56px -18px rgb(0 0 0 / 0.75), 0 2px 6px rgb(0 0 0 / 0.4);
    --header-bg: rgb(11 11 14 / 0.82);
    --deco-elf: url("../img/brand/elf-white.webp"); --deco-opacity: 0.04;
    --offerbar-bg: #1b1b21; --offerbar-fg: #f4f4f6; --offerbar-bd: #2a2a32;
  }
}

/* 3. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (min-width: 1920px) { html { font-size: 112.5%; } }
@media (min-width: 2560px) { html { font-size: 125%; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Scroll lock (menu, cart, modals): on the root, not on body. With html { overflow-x: clip } a body with overflow: hidden
   becomes its own scroll box, and the sticky header then sticks to the top of the body, off screen, instead of the window. */
html:has(> body.is-locked) { overflow: hidden; padding-right: var(--sbw, 0px); }   /* --sbw: the scrollbar's width (site.js), so the page does not shift */
body.is-locked .toc-fab { visibility: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
:where(ul[class], ol[class]) { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-8) 0; }
::selection { background: var(--brand-200); color: #121214; }
main:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: fixed;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: 1000;
  padding: var(--sp-3) var(--sp-5);
  background: var(--inverse-bg);
  color: var(--inverse-text);
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--t) var(--ease);
}
.skip-link:focus { transform: none; }

/* 4. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left));
}
.container--narrow { max-width: calc(48rem + 2 * var(--gutter)); }
.container--text { max-width: calc(44rem + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--subtle { background: var(--bg-subtle); }
.section--center { text-align: center; }
.section--center .lead { margin-inline: auto; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: var(--sp-4); }

.grid { display: grid; gap: var(--sp-6); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(22rem, (100% - 1 * var(--sp-6)) / 2)), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(17rem, (100% - 2 * var(--sp-6)) / 3)), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, max(14rem, (100% - 3 * var(--sp-6)) / 4)), 1fr)); }
/* auto-fill + a column cap: at most 2/3/4 columns, and few items keep their card width */

.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

.stack > * + * { margin-top: var(--stack, var(--sp-4)); }

/* decorative faded elf behind a section (elf only, very low opacity) */
.deco-elf { isolation: isolate; overflow: hidden; }
.deco-elf::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -6%;
  bottom: -10%;
  width: min(62vw, 46rem);
  aspect-ratio: 350 / 234;
  background: var(--deco-elf) no-repeat center / contain;
  opacity: var(--deco-opacity);
  pointer-events: none;
}
.deco-elf--left::before { right: auto; left: -8%; }

/* 5. Typography ------------------------------------------------------------ */
/* Sofia Sans is already compact: headings need only light negative tracking */
.display, .h1, .h2, .h3, .h4, h1, h2, h3 {
  font-weight: 650;
  letter-spacing: -0.012em;
  line-height: 1.06;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.h1, h1 { font-size: var(--fs-h1); }
.h2, h2 { font-size: var(--fs-h2); }
.h3, h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -0.005em; }
.h4 { font-size: var(--fs-lg); line-height: 1.3; letter-spacing: 0; font-weight: 650; }
:lang(el) .display, :lang(el) .h1, :lang(el) h1 { letter-spacing: -0.015em; }
/* Comfortaa for the big titles: wide and round like the logo, so a touch smaller, bold, taller line-height */
.display, .h1, .h2, h1, h2, .mega__promo-title, .plan-card__title, .price__final, .error-page__code, .offer-card__pct {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.display, .h1, .h2, h1, h2 { line-height: 1.14; }
.display { font-size: calc(var(--fs-display) * 0.92); }
.h1, h1 { font-size: calc(var(--fs-h1) * 0.92); }
.h2, h2 { font-size: calc(var(--fs-h2) * 0.94); }
.prose h2 { font-family: var(--font-sans); font-weight: 650; letter-spacing: -0.012em; }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 40rem;
  text-wrap: pretty;
}
:is(.display, .h1, .h2, h1, h2) + .lead { margin-top: var(--sp-5); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-text);
  letter-spacing: 0.01em;
}
.text-muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }

.prose { font-size: var(--fs-md); line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2em; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.6em; }
.prose a { color: var(--brand-text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose img { border-radius: var(--r-md); }
.prose blockquote { border-left: 3px solid var(--brand); padding-left: var(--sp-5); color: var(--text-muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: var(--sp-3); text-align: left; }
.prose code { font-size: 0.9em; background: var(--surface-2); padding: 0.1em 0.35em; border-radius: 4px; }

/* 6. Components ------------------------------------------------------------ */

/* Buttons */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  --btn-bd: var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 2.875rem;
  padding: 0.6875rem 1.375rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bd: var(--text); }
.btn:active { transform: scale(0.98); }
.btn .icon { width: 1.125em; height: 1.125em; }
/* Gradient twice as wide as the button (a → b → a): sliding it from left to right edge reverses the gradient */
.btn--primary {
  --btn-bg: var(--btn-grad-a);
  --btn-fg: var(--on-brand);
  --btn-bd: transparent;
  background-image: linear-gradient(90deg, var(--btn-grad-a) 0%, var(--btn-grad-b) 50%, var(--btn-grad-a) 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  background-origin: border-box;
  text-shadow: 0 1px 1px rgb(140 0 30 / 0.25);
  transition: background-position 600ms var(--ease-out), transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
}
.btn--primary:hover, .btn--primary:focus-visible, .btn--primary:active {
  --btn-bd: transparent;
  background-position: 100% 50%;
  box-shadow: 0 10px 24px -10px rgb(255 54 86 / 0.65);
}
@media (prefers-reduced-motion: reduce) { .btn--primary { transition: none; } }
.btn--secondary { --btn-bg: transparent; }
.btn--dark { --btn-bg: var(--inverse-bg); --btn-fg: var(--inverse-text); --btn-bd: var(--inverse-bg); }
.btn--dark:hover { --btn-bd: var(--inverse-bg); opacity: 0.88; }
.btn--ghost { --btn-bg: transparent; --btn-bd: transparent; }
.btn--ghost:hover { --btn-bg: var(--surface-2); --btn-bd: transparent; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1.05rem; font-size: var(--fs-sm); }
.btn--lg { min-height: 3.375rem; padding: 0.875rem 1.75rem; font-size: var(--fs-lg); }
.btn--block { width: 100%; white-space: normal; }   /* full-width buttons may wrap in narrow columns */
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--brand-text);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform var(--t) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }

.linklike {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

/* header icon button */
.hbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease);
}
.hbtn:hover { background: var(--surface-2); }
.hbtn .icon { width: 1.3rem; height: 1.3rem; }

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card--link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* whole card clickable */
.card--flat { background: var(--surface-2); border-color: transparent; }
.card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand-text);
}
.card__icon .icon { width: 1.5rem; height: 1.5rem; }
.card__title { font-size: var(--fs-lg); font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.card__title a { text-decoration: none; }
.card__text { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: var(--sp-2); }

/* Media frame (images) */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--bg-muted);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Badges & chips */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.badge--brand { background: var(--brand-soft); color: var(--brand-soft-text); }
.badge--solid { background: var(--brand-solid) var(--brand-grad); color: var(--on-brand); }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--warning { background: var(--warning-soft); color: var(--warning); }

.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.section--center .chip-row { justify-content: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"], .chip[aria-current] { background: var(--inverse-bg); color: var(--inverse-text); border-color: var(--inverse-bg); }

/* Prices: original struck through + final, same everywhere */
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.5rem; }
.price__final { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; }
.price__was { color: var(--text-subtle); text-decoration: line-through; font-size: var(--fs-sm); }
.price__per { color: var(--text-muted); font-size: var(--fs-sm); }
.price--offer .price__final { color: var(--brand-text); }
.price--lg .price__final { font-size: var(--fs-h2); }

/* Tabs */
.tabs__list {
  display: inline-flex;
  gap: var(--sp-1);
  padding: var(--sp-1);
  border-radius: var(--r-pill);
  background: var(--surface-2);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__tab {
  padding: 0.55rem 1.1rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.tabs__tab[aria-selected="true"] { background: var(--surface-raised); color: var(--text); box-shadow: var(--shadow-sm); }
.tabs__panel { margin-top: var(--sp-8); }
.tabs__panel[hidden] { display: none; }

/* Accordion (native details) */
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.accordion__item > summary::-webkit-details-marker { display: none; }
.accordion__item > summary .icon { transition: transform var(--t) var(--ease); color: var(--text-muted); }
.accordion__item[open] > summary .icon { transform: rotate(45deg); }
.accordion__body { padding: 0 0 var(--sp-6); color: var(--text-muted); max-width: 48rem; }
.accordion__body > * + * { margin-top: 0.8em; }

/* Forms */
.field { display: grid; gap: var(--sp-2); align-content: start; }   /* a taller neighbour in the row must not stretch the input */
.field__label { font-size: var(--fs-sm); font-weight: 600; }
.field__hint { font-size: var(--fs-xs); color: var(--text-muted); }
.field__error { font-size: var(--fs-xs); color: var(--danger); font-weight: 500; }
.input, .select, .textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;   /* ≥16px: no iOS zoom on focus */
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.textarea { min-height: 8rem; resize: vertical; }
.select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9rem) 50%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-subtle); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-solid); box-shadow: 0 0 0 3px rgb(255 54 86 / 0.2); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); line-height: 1.5; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--brand-solid); flex: none; }

/* Switch */
.switch { position: relative; display: inline-flex; flex: none; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch__track {
  width: 2.75rem;
  height: 1.625rem;
  border-radius: var(--r-pill);
  background: var(--border-strong);
  transition: background-color var(--t) var(--ease);
  position: relative;
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease-out);
}
.switch input:checked + .switch__track { background: var(--brand-solid); }
.switch input:checked + .switch__track::after { transform: translateX(1.125rem); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Breadcrumbs */
.crumbs { padding-top: var(--sp-6); font-size: var(--fs-sm); color: var(--text-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.crumbs li + li::before { content: "/"; color: var(--border-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); }

/* Placeholder marker — everything awaiting real content is tagged with this */
.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.15rem 0.55rem;
  border: 1px dashed var(--warning);
  border-radius: var(--r-xs);
  color: var(--warning);
  background: var(--warning-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 300;
  display: flex;
  flex-direction: column;
  width: min(100%, 28rem);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--t-slow) var(--ease-out), visibility 0s linear var(--t-slow);
}
.drawer.is-open { transform: none; visibility: visible; transition: transform var(--t-slow) var(--ease-out); }
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgb(10 10 12 / 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility 0s linear var(--t);
}
.backdrop.is-open { opacity: 1; visibility: visible; transition: opacity var(--t) var(--ease); }

/* 7. Offer bar ------------------------------------------------------------- */
.offerbar {
  position: relative;
  z-index: 110;
  background: var(--offerbar-bg);
  color: var(--offerbar-fg);
  border-bottom: 1px solid var(--offerbar-bd);
  font-size: var(--fs-sm);
}
.offerbar__inner { display: flex; align-items: center; gap: var(--sp-3); min-height: 2.75rem; }
.offerbar__track { flex: 1; min-width: 0; }
.offerbar__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  padding-block: 0.45rem;
  line-height: 1.35;
  text-align: center;
}
.offerbar__item.is-entering { animation: offer-in var(--t-slow) var(--ease-out); }
@keyframes offer-in { from { opacity: 0; transform: translateY(6px); } }
.offerbar__badge {
  padding: 0.05rem 0.5rem;
  border-radius: var(--r-pill);
  background: var(--brand-solid) var(--brand-grad);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-xs);
}
.offerbar__title { font-weight: 600; }
.offerbar__until { opacity: 0.75; }
.offerbar__link { display: inline-flex; align-items: center; gap: 0.3em; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.offerbar__link .icon { width: 1em; height: 1em; }
.offerbar__ctrls { display: flex; gap: 2px; margin-right: -0.5rem; }
.offerbar__btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: inherit;
}
.offerbar__btn:hover { background: rgb(127 127 127 / 0.22); }
.offerbar__btn .icon { width: 1.1rem; height: 1.1rem; }
@media (max-width: 599px) {
  .offerbar__until, .offerbar [data-offer-prev], .offerbar [data-offer-next] { display: none; }
  .offerbar__item { justify-content: flex-start; text-align: left; }
}

/* 8. Header & mega menu ---------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgb(0 0 0 / 0.35); }
/* backdrop-filter would make the header the containing block of the fixed mobile panel */
.nav-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
.header__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  height: var(--header-h);
  transition: height var(--t) var(--ease);
}
.header.is-scrolled .header__bar { height: var(--header-h-scrolled); }

.brand { display: inline-flex; align-items: center; flex: none; padding: 0.25rem 0; margin-right: var(--sp-4); border-radius: var(--r-xs); }
.brand__logo { height: 1.875rem; width: auto; transition: height var(--t) var(--ease); }
.header.is-scrolled .brand__logo { height: 1.625rem; }

.header__actions { display: flex; align-items: center; gap: var(--sp-1); margin-left: auto; }
.hbtn--lang span:not(.visually-hidden) { font-size: var(--fs-xs); letter-spacing: 0.04em; }
.hbtn--lang[aria-expanded="true"] { background: var(--surface-2); }

/* language dropdown */
.lang-menu { position: relative; }
.hbtn .lang-menu__chev { width: 0.875rem; height: 0.875rem; margin-left: -0.15rem; color: var(--text-muted); transition: transform var(--t) var(--ease); }
.hbtn--lang[aria-expanded="true"] .lang-menu__chev { transform: rotate(180deg); }
.lang-menu__list {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 10;
  min-width: 12rem;
  margin: 0;
  padding: 0.375rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top right;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
}
.lang-menu.is-open .lang-menu__list,
html:not(.js) .lang-menu:hover .lang-menu__list,
html:not(.js) .lang-menu:focus-within .lang-menu__list {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease-out);
}
.lang-menu__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease);
}
.lang-menu__link:hover, .lang-menu__link:focus-visible { background: var(--surface-2); }
.lang-menu__link[aria-current] { font-weight: 650; }
.lang-menu__code {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.lang-menu__link[aria-current] .lang-menu__code { border-color: currentColor; color: var(--brand-text); }
.lang-menu__name { flex: 1; }
.lang-menu__check { width: 1rem; height: 1rem; color: var(--brand-text); }
@media (prefers-reduced-motion: reduce) {
  .lang-menu__list, .lang-menu.is-open .lang-menu__list { transform: none; transition: none; }
}
.hbtn--cart { position: relative; }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: var(--r-pill);
  background: var(--brand-solid);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
}
.cart-badge.is-bumped { animation: bump 400ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.header__cta { margin-left: var(--sp-2); }

/* desktop nav */
.nav__list { display: flex; align-items: center; gap: var(--sp-1); }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--surface-2); }
.nav__link[aria-current] { color: var(--brand-text); }
.nav__chev { width: 1rem; height: 1rem; transition: transform var(--t) var(--ease); color: var(--text-muted); }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__mobile-foot { display: none; }

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
}
.nav__item.is-open > .mega,
html:not(.js) .nav__item:hover > .mega,
html:not(.js) .nav__item:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out);
}
.mega__inner {
  display: grid;
  grid-template-columns: 1fr 18rem;
  gap: var(--sp-10);
  padding-block: var(--sp-8) var(--sp-10);
}
.mega__cols { display: grid; gap: var(--sp-8); }
.mega__cols--3 { grid-template-columns: repeat(3, 1fr); }
.mega__cols--2 { grid-template-columns: repeat(2, 1fr); }
.mega__heading { margin: 0 0 var(--sp-3) 0.75rem; font-size: var(--fs-xs); font-weight: 600; color: var(--text-subtle); letter-spacing: 0.02em; }
.mega__links { display: grid; gap: 2px; }
.mega__link {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: 0.65rem 0.75rem;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease);
}
.mega__link:hover { background: var(--surface-2); }
.mega__link--compact { align-items: center; padding-block: 0.5rem; }
.mega__link[aria-current] .mega__name { color: var(--brand-text); }
.mega__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: var(--brand-text);
}
.mega__icon .icon { width: 1.15rem; height: 1.15rem; }
/* hardware menu: a category's first product photo, or a "no image" picture */
.mega__hw { position: relative; display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; }
.mega__hw img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: contain; }
.mega__hw-none { display: grid; place-items: center; width: 100%; height: 100%; background: var(--bg-subtle); color: var(--text-subtle); }
.mega__hw-none .icon { width: 1.1rem; height: 1.1rem; }
.mega__hw:has(img) .mega__hw-none { display: none; }
.mega__text { display: grid; gap: 1px; }
.mega__name { font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; }
.mega__desc { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.45; }
.mega__count { margin-left: auto; font-size: var(--fs-xs); color: var(--text-subtle); font-variant-numeric: tabular-nums; }
.mega__promo {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--bg-subtle);
  align-self: start;
}
.mega__promo-title { font-weight: 650; font-size: var(--fs-lg); line-height: 1.3; letter-spacing: -0.01em; }
.mega__promo-text { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-2); }
.mega__promo .link-arrow { font-size: var(--fs-sm); }

.burger { display: none; }
.burger__lines, .burger__lines::before, .burger__lines::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; }
.nav-open .burger__lines { background: transparent; }
.nav-open .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1239px) {
  .mega__inner { grid-template-columns: 1fr; }
  .mega__promo { display: none; }
}

/* mobile & tablet nav: full-screen panel, megas become accordions */
@media (max-width: 1079px) {
  .burger { display: inline-flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-top, var(--header-h));
    bottom: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--sp-2) var(--gutter) calc(var(--sp-6) + env(safe-area-inset-bottom));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out); }
  html:not(.js) .nav { position: static; display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--border); }
  .nav__link {
    width: 100%;
    height: auto;
    min-height: 3.5rem;
    justify-content: space-between;
    padding: 0 var(--sp-1);
    border-radius: 0;
    font-size: var(--fs-lg);
    font-weight: 600;
  }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background: transparent; }
  .mega {
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__item.is-open > .mega { display: block; }
  .mega .container { padding-inline: 0; }
  .mega__inner { padding-block: 0 var(--sp-4); gap: var(--sp-6); }
  .mega__cols--3, .mega__cols--2 { grid-template-columns: 1fr; gap: var(--sp-5); }
  .mega__heading { margin-left: var(--sp-1); }
  .mega__desc { display: none; }
  .mega__link { align-items: center; padding: 0.55rem var(--sp-1); }
  .nav__mobile-foot { display: grid; gap: var(--sp-3); margin-top: var(--sp-8); }
}
@media (max-width: 479px) {
  .hbtn--lang span:not(.visually-hidden), .hbtn .lang-menu__chev { display: none; }
  .brand { margin-right: 0; }
  .brand__logo { height: 1.625rem; }
}
@media (min-width: 640px) and (max-width: 1079px) {
  .mega__cols--3 { grid-template-columns: repeat(2, 1fr); }
  .mega__desc { display: block; }
}

/* 9. Footer ---------------------------------------------------------------- */
.footer {
  margin-top: 0;
  padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0 var(--sp-8);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm);
}
.footer__top { display: grid; gap: var(--sp-12); }
@media (min-width: 1024px) { .footer__top { grid-template-columns: minmax(16rem, 1fr) 2.6fr; gap: var(--sp-16); } }
.footer__logo { display: inline-block; border-radius: var(--r-xs); }
.footer__logo img { width: auto; height: 5.5rem; }
.footer__tagline { margin-top: var(--sp-5); color: var(--text-muted); max-width: 22rem; line-height: 1.6; }
.footer__social { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-6); }
.footer__social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.footer__social a:hover { color: var(--text); border-color: var(--text); background: var(--surface); }
.footer__social .icon { width: 1.05rem; height: 1.05rem; }
.footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-10) var(--sp-6); }
@media (min-width: 768px) { .footer__nav { grid-template-columns: repeat(4, 1fr); } }
.footer__heading { margin-bottom: var(--sp-4); font-weight: 650; color: var(--text); }
.footer__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--sp-3); }
.footer__col a { color: var(--text-muted); text-decoration: none; }
.footer__col a:hover { color: var(--text); text-decoration: underline; }
.footer__muted { color: var(--text-subtle); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-4) var(--sp-8);
  margin-top: var(--sp-16);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin: 0; padding: 0; list-style: none; }
.footer__legal a, .footer__legal .linklike { color: var(--text-muted); text-decoration: none; }
.footer__legal a:hover, .footer__legal .linklike:hover { color: var(--text); text-decoration: underline; }

/* 10. Cookies & modal ------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: max(var(--sp-4), env(safe-area-inset-left));
  right: max(var(--sp-4), env(safe-area-inset-right));
  bottom: max(var(--sp-4), env(safe-area-inset-bottom));
  z-index: 400;
  max-width: 30rem;
  padding: var(--sp-6);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
  animation: rise var(--t-slow) var(--ease-out);
}
.cookie-banner[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.cookie-banner__title { display: flex; align-items: center; gap: var(--sp-2); font-weight: 650; font-size: var(--fs-md); }
.cookie-banner__title .icon { color: var(--brand-text); }
.cookie-banner__text { margin-top: var(--sp-2); color: var(--text-muted); line-height: 1.55; }
.cookie-banner__text a { color: var(--text); }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-top: var(--sp-5); }
.cookie-banner__actions .btn--ghost { grid-column: 1 / -1; }

.modal {
  width: min(100% - 2rem, 34rem);
  max-height: min(100% - 2rem, 44rem);
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgb(10 10 12 / 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: rise var(--t) var(--ease-out); }
.modal__box { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.modal__title { font-size: var(--fs-xl); }
.modal__text { margin-top: var(--sp-3); color: var(--text-muted); font-size: var(--fs-sm); }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--sp-2); margin-top: var(--sp-6); }
.consent-list { margin-top: var(--sp-5); border-top: 1px solid var(--border); }
.consent-item { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-5); padding: var(--sp-4) 0; border-bottom: 1px solid var(--border); }
.consent-item__name { font-weight: 600; }
.consent-item__desc { margin-top: 2px; color: var(--text-muted); font-size: var(--fs-sm); }

/* 11. Pages ---------------------------------------------------------------- */

.error-page__code {
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brand);
  margin-bottom: var(--sp-4);
}
.error-page .lead { margin-top: var(--sp-4); }
.error-page__try { margin: var(--sp-12) 0 var(--sp-4); color: var(--text-muted); font-size: var(--fs-sm); }

/* 11b. Shared blocks ------------------------------------------------------- */
.checklist { display: grid; gap: var(--sp-3); margin: var(--sp-6) 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: var(--sp-3); align-items: flex-start; line-height: 1.5; }
.checklist .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; padding: 0.15rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); stroke-width: 3; }

.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); max-width: none; }
.section-head--row > div { max-width: 46rem; }
.section-more { margin-top: var(--sp-10); }
.section-head > p:has(> .placeholder-note) { margin-top: var(--sp-4); }
.cta-band { padding-top: 0; }
.section-more--center { text-align: center; }
.split--top { align-items: start; }
.feature__link { margin-top: var(--sp-8); }

.btn--on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 0.4); }
.btn--on-dark:hover { --btn-bd: #fff; --btn-bg: rgb(255 255 255 / 0.08); }

/* Hero */
.hero { padding-block: clamp(1.5rem, 0.75rem + 2.5vw, 3.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 1080px) { .hero__grid { grid-template-columns: 0.92fr 1.18fr; } }
/* sized so title, lead, buttons and the visual fit the first screen on a laptop */
.hero__title { font-size: clamp(2rem, 1.35rem + 2.2vw, 3.4rem); max-width: 20ch; }
.hero__copy .lead { margin-top: var(--sp-5); }
.hero__points { margin-top: var(--sp-6); font-size: var(--fs-sm); color: var(--text-muted); }
/* Video large in the middle, two app screens around it: a phone overhangs the bottom-left corner, the
   ticket the top-right. Small padding leaves just enough room for them; the video stays whole (16:9). */
.hero__visual { position: relative; padding: 5% 3% 9% 9%; }
.hero__video { aspect-ratio: 16 / 9; border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); }
.hero__phone { position: absolute; z-index: 2; left: 0; bottom: 0; width: 19%; min-width: 6.5rem; }
.hero__phone .mock { font-size: clamp(6px, 0.2rem + 0.33vw, 9.5px); }
.hero__ticket { position: absolute; z-index: 2; top: 0; right: 0; width: 25%; min-width: 7.5rem; }
.hero__ticket .mock { font-size: clamp(6.5px, 0.25rem + 0.3vw, 10.5px); }
.hero__phone .mock, .hero__ticket .mock { box-shadow: 0 28px 60px -24px rgb(0 0 0 / 0.55), 0 2px 8px rgb(0 0 0 / 0.18); }
@media (max-width: 599px) {
  .hero__visual { padding: 11% 1% 12% 10%; margin-inline: calc(var(--gutter) * -0.4); }
  .hero__phone { width: 25%; min-width: 0; }
  .hero__ticket { width: 28%; min-width: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__phone { animation: float-in 900ms var(--ease-out) 250ms both; }
  .hero__ticket { animation: float-in 900ms var(--ease-out) 450ms both; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__video { animation: float-in 900ms var(--ease-out) 100ms both; }
}

/* Background video (partials/bg-video.php + site.js) */
.bg-video { isolation: isolate; }
.bg-video__poster, .bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg-video__poster img, .bg-video video { width: 100%; height: 100%; object-fit: cover; }
.bg-video video { opacity: 0; transition: opacity 900ms var(--ease); }
.bg-video.is-playing video { opacity: 1; }
.bg-video__toggle {
  position: absolute;
  z-index: 2;
  right: var(--sp-3);
  bottom: var(--sp-3);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgb(18 18 20 / 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  opacity: 0.85;
  transition: opacity var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.bg-video__toggle[hidden] { display: none; }
.bg-video__toggle:hover, .bg-video__toggle:focus-visible { opacity: 1; background: rgb(18 18 20 / 0.8); }
.bg-video__toggle .icon { width: 1.1rem; height: 1.1rem; }
.bg-video__toggle .when-paused, .bg-video.is-paused .bg-video__toggle .when-playing { display: none; }
.bg-video.is-paused .bg-video__toggle .when-paused { display: block; }
@keyframes float-in { from { opacity: 0; transform: translateY(24px); } }

/* Industry tiles */
.tile { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); }
.tile__media { aspect-ratio: 16 / 10; border-radius: 0; }
.tile__media img { transition: transform 1.2s var(--ease-out); }
.tile:hover .tile__media img { transform: scale(1.04); }
/* Industry tiles: one photo per industry, cross-fading with a slow zoom; each tile runs on its own clock (site.js) */
.rotator { --rotator-time: 4.6s; isolation: isolate; }
.rotator__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.rotator__slide:first-child { position: relative; height: 100%; }   /* keeps the tile height before JS */
.rotator__slide.is-active { opacity: 1; z-index: 1; }
.rotator__slide picture { display: block; height: 100%; transform-origin: 60% 50%; }
.rotator__slide.is-active picture { animation: rotator-zoom calc(var(--rotator-time) + 1.2s) var(--ease) both; }
.tile:hover .rotator .tile__media img, .tile:hover .rotator img { transform: none; }
.rotator__label {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem 0.4rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgb(18 18 20 / 0.55);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 650;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms var(--ease), transform 600ms var(--ease-out);
}
.rotator__label .icon { width: 1rem; height: 1rem; color: #ff7d92; }
.rotator__slide.is-active .rotator__label { opacity: 1; transform: none; transition-delay: 350ms; }
.rotator__bars { position: absolute; z-index: 2; top: var(--sp-3); left: var(--sp-4); right: var(--sp-4); display: flex; gap: 0.3rem; }
.rotator__bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.35); overflow: hidden; }
.rotator__bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.rotator__bar.is-done::after { transform: scaleX(1); }
.rotator.is-running .rotator__bar.is-active::after { animation: rotator-bar var(--rotator-time) linear both; }
.rotator.is-paused .rotator__bar.is-active::after { animation-play-state: paused; }
@keyframes rotator-zoom { from { transform: scale(1.12) translateX(1.5%); } to { transform: scale(1); } }
@keyframes rotator-bar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .rotator__slide, .rotator__label { transition: none; }
  .rotator__slide.is-active picture { animation: none; }
  .rotator__bars { display: none; }
}
.tile__body { --tile-pad: clamp(1.25rem, 1rem + 1vw, 1.75rem); display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--tile-pad); }
.tile__body .chip-row { margin-top: var(--sp-2); }
/* phones: the industries of a card are one line that swipes sideways, edge to edge of the card, scrolling freely */
@media (max-width: 639px) {
  .tile__body .chip-row { flex-wrap: nowrap; margin-inline: calc(-1 * var(--tile-pad)); padding: 2px var(--tile-pad) 4px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .tile__body .chip-row::-webkit-scrollbar { display: none; }
  .tile__body .chip-row > li { flex: none; }
  .tile__body .chip { white-space: nowrap; }
}
.tile .chip { min-height: 2.25rem; padding: 0.35rem 0.8rem; font-size: var(--fs-xs); }
.tile .chip .icon { width: 1rem; height: 1rem; color: var(--brand-text); }

/* Industry icons: cartoon object on a rounded tile tinted per industry (--h from content/relations.php) */
.ind-thumb {
  --s: 2.5rem;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: var(--s);
  height: var(--s);
  border-radius: 30%;
  background: hsl(var(--h) 80% 93%);
  transition: transform var(--t) var(--ease-out);
}
:root[data-theme="dark"] .ind-thumb { background: hsl(var(--h) 45% 16%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .ind-thumb { background: hsl(var(--h) 45% 16%); } }
.ind-thumb img { width: 86%; height: 86%; }
.mega__thumb { --s: 2.6rem; }
.mega__link:hover .mega__thumb { transform: scale(1.08) rotate(-3deg); }
.chip--thumb { padding-left: 0.3rem; }
.chip__thumb { --s: 1.75rem; border-radius: 50%; }
.chip--thumb:hover .chip__thumb { transform: scale(1.1); }
/* the label sits on a photo: always the dark tile */
.rotator__thumb { --s: 1.6rem; margin-left: -0.3rem; background: hsl(var(--h) 45% 16%); }
:root[data-theme="dark"] .rotator__thumb { background: hsl(var(--h) 45% 16%); }

/* Apps tabs */
.apps-tabs__bar { display: flex; justify-content: center; margin-bottom: var(--sp-2); }
/* phones: the tabs and the apps under them are two swipe carousels, edge to edge, scrolling freely (no snapping:
   they stop where you let go) */
@media (max-width: 639px) {
  .apps-tabs__bar { position: relative; display: block; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .apps-tabs__bar::-webkit-scrollbar, .apps-panel__list::-webkit-scrollbar { display: none; }
  .apps-tabs .tabs__list { display: inline-flex; flex-wrap: nowrap; gap: var(--sp-2); max-width: none; overflow: visible; padding: var(--sp-1) 0; background: none; }   /* no grey track behind the scrolling tabs */
  .apps-tabs .tabs__tab { border: 1px solid var(--border); }
  .apps-tabs .tabs__tab[aria-selected="true"] { border-color: transparent; background: var(--brand-soft); color: var(--brand-text); box-shadow: none; }
  .apps-panel .apps-panel__list { display: flex; gap: var(--sp-3); margin-inline: calc(-1 * var(--gutter)); padding: var(--sp-1) var(--gutter) var(--sp-2); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter); }
  .apps-panel__list > li { flex: 0 0 min(78%, 17rem); display: flex; }
  .apps-panel__list .app-row { flex: 1; flex-direction: column; align-items: flex-start; gap: var(--sp-3); border-color: var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
  .apps-panel__list .app-row__arrow { margin-top: auto; }
}
.apps-panel { display: grid; gap: var(--sp-8); align-items: center; }
@media (min-width: 960px) { .apps-panel { grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-12); } }
.apps-panel__list { display: grid; gap: var(--sp-2); }
.app-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.app-row:hover { background: var(--surface-2); border-color: var(--border); }
.app-row__text { display: grid; gap: 2px; flex: 1; }
.app-row__name { font-weight: 650; }
.app-row__desc { color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.5; }
.app-row__arrow { color: var(--text-subtle); transition: transform var(--t) var(--ease), color var(--t) var(--ease); }
.app-row:hover .app-row__arrow { transform: translateX(3px); color: var(--brand-text); }
.apps-panel__visual { padding: clamp(1rem, 0.5rem + 3vw, 3rem); border-radius: var(--r-2xl); background: var(--bg-subtle); display: grid; place-items: center; min-height: 20rem; }
.apps-panel__visual .mock--phone { width: min(17rem, 80%); }

/* Feature splits */
.feature__visual { position: relative; padding-bottom: 8%; }
.feature__photo { aspect-ratio: 5 / 4; }
.feature__mock { position: absolute; bottom: 0; }
/* the ticket on the photo's bottom-right corner: it sticks out below by the visual's padding (8% of its width) and
   by the same 8% to the right (on phones no further than the page gutter, so the page never scrolls sideways) */
.feature__mock--ticket { right: -8%; width: min(15rem, 46%); }
@media (max-width: 899px) { .feature__mock--ticket { right: max(-8%, 4px - var(--gutter, 1rem)); } }
.feature__solo { width: min(16rem, 70%); margin-inline: auto; }   /* a device shown on its own, without a photo */
.feature__copy .lead { margin-top: var(--sp-5); }

/* Product cards (hardware) */
.product-grid { align-items: stretch; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }   /* auto-fill: one product stays card-sized */
.product-grid > div { display: flex; }
.product-card { padding: 0; overflow: hidden; width: 100%; gap: 0; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; }
.product-card__media { overflow: hidden; }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform var(--t-slow) var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__noimg .icon { width: 3rem; height: 3rem; color: var(--text-subtle); }
.product-card__flag { position: absolute; top: var(--sp-3); left: var(--sp-3); }
.product-card__body { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); flex: 1; }
.product-card__cat { font-size: var(--fs-xs); font-weight: 600; color: var(--text-subtle); }
.product-card__foot { margin-top: auto; padding-top: var(--sp-3); display: grid; gap: var(--sp-2); }
.stock { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); color: var(--text-muted); }
.stock__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--text-subtle); }
.stock--in .stock__dot { background: var(--success-500); box-shadow: 0 0 0 3px var(--success-soft); }
.stock--out .stock__dot { background: var(--danger); }

/* Plans */
.plan-card { gap: var(--sp-4); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--r-xl); height: 100%; }
.plan-card--highlight { border: 2px solid var(--brand);}
/* "Ξεκίνα με …" (the package page) and a small add-to-cart button next to it */
.plan-card .plan-card__actions { display: flex; gap: var(--sp-2); }   /* .plan-card makes its children grids */
.plan-card__cta { flex: 1; min-width: 0; }
.plan-card__cart { position: relative; flex: none; width: 3rem; padding: 0; }
.plan-card__cart > .icon { width: 1.2rem; height: 1.2rem; }
.plan-card__plus, .plan-card__in { position: absolute; top: 0.45rem; right: 0.4rem; display: grid; place-items: center; width: 1rem; height: 1rem; border-radius: 50%; background: var(--brand-solid); color: #fff; }
.plan-card__plus .icon, .plan-card__in .icon { width: 0.65rem; height: 0.65rem; stroke-width: 3.5; }
.plan-card__in { display: none; background: var(--success, #1f9d55); }
.plan-card__cart[aria-pressed="true"] { border-color: var(--brand-solid); background: var(--brand-soft); color: var(--brand-text); }
.plan-card__cart[aria-pressed="true"] .plan-card__plus { display: none; }
.plan-card__cart[aria-pressed="true"] .plan-card__in { display: grid; }
.plan-card__flag { position: absolute; top: -0.75rem; left: 1.5rem; }
.plan-card__title { font-size: var(--fs-xl); letter-spacing: -0.02em; }
.plan-card .card__foot { padding-top: var(--sp-4); }
/* free-scroll carousel (site.js initScrollers): swipe / drag, stops where you let go; full-bleed to the page edge */
.scroller { position: relative; }
.scroller__track { display: flex; gap: var(--sp-4); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: var(--sp-4) var(--gutter) var(--sp-6); cursor: grab; }
.scroller__track::-webkit-scrollbar { display: none; }
.scroller__track.is-dragging { cursor: grabbing; user-select: none; }
.scroller__item { flex: none; display: flex; }
.scroller__item > .card { width: 100%; }
.scroller__item--plan { width: min(82vw, 21.5rem); }
.scroller__item--addon { width: min(80vw, 19.5rem); }
.scroller__item--hw { width: min(80vw, 20rem); }
.scroller__nav { display: flex; justify-content: center; gap: var(--sp-2); }
.scroller__arrow { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; transition: opacity var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.scroller__arrow:hover:not(:disabled) { border-color: var(--brand-solid); color: var(--brand-text); }
.scroller__arrow:disabled { opacity: 0.35; cursor: default; }
.scroller__arrow .icon { width: 1.2rem; height: 1.2rem; }
/* both ends fade out softly instead of a hard cut */
.scroller__track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade, 5%), #000 calc(100% - var(--fade, 5%)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fade, 5%), #000 calc(100% - var(--fade, 5%)), transparent); }
.scroller--drift .scroller__track { padding-block: var(--sp-2) var(--sp-3); }
.scroller.is-still .scroller__item[aria-hidden="true"] { display: none; }   /* drift copies, while everything fits */
/* while the window is resized (site.js): no transitions, so cards never animate over each other between layouts */
html.is-resizing .scroller__item, html.is-resizing .scroller__item * { transition: none !important; }
/* large screens: the card in the middle comes forward, the ones on either side sit back and fade (site.js marks .is-center) */
@media (min-width: 900px) {
  .scroller--focus .scroller__track { --fade: 12%; padding-inline: calc(50% - 11rem); padding-block: var(--sp-8); }
  .scroller--focus .scroller__item { transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease); transform: scale(0.9); opacity: 0.45; }
  .scroller--focus .scroller__item.is-center { transform: scale(1.04); opacity: 1; z-index: 1; }
  .scroller--focus .scroller__item--plan { width: 22rem; }
}
@media (min-width: 900px) and (prefers-reduced-motion: reduce) { .scroller--focus .scroller__item { transition: none; } }
/* Home hardware: one row of up to 3 from 960px, the carousel below */
@media (min-width: 960px) {
  .scroller--grid-md .scroller__track { -webkit-mask-image: none; mask-image: none; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; cursor: auto; }
  .scroller--grid-md .scroller__item { width: auto; }
  .scroller--grid-md .scroller__nav { display: none; }
}
/* Pricing page: a grid on wide screens, the carousel below */
@media (min-width: 1180px) {
  .scroller--grid-lg .scroller__track { -webkit-mask-image: none; mask-image: none; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; cursor: auto; }
  .scroller--grid-lg .scroller__item { width: auto; }
  .scroller--grid-lg .scroller__nav { display: none; }
}
.addons-row { margin-top: var(--sp-8); }
.addons-row__title { margin-bottom: var(--sp-1); text-align: center; font-weight: 600; color: var(--text-muted); font-size: var(--fs-sm); }
.addon-card--compact { gap: 0; padding: var(--sp-4); }
.addon-card--compact .price { margin-top: 0.15rem; }
.package-card .plan-card__tagline, .addon-card__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; text-overflow: ellipsis; min-height: calc(3 * 1.55em); line-height: 1.55; }   /* the same 3 lines on every card, "…" when longer */
.addon-card { height: 100%; }
.addons-grid { grid-auto-rows: 1fr; }   /* every row as tall as the tallest card */
.plan-features { grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: var(--sp-3) var(--sp-6); }   /* the package page: all its features */
.ind-addons { margin-top: var(--sp-6); }
.addon-card .card__foot { margin-top: auto; }
/* integration bridges: the partner's logo on a white tile (overflow: logos with wide transparent edges stay inside) */
.addon-logo { --pad-x: 0.55rem; --pad-y: 0.4rem; position: relative; display: block; flex: none; width: 4.75rem; height: 3rem; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; }
/* the logo fills the tile minus its padding and keeps its shape: never larger than the tile (a percentage max-height
   inside a grid / flex tile was ignored, so tall logos like Box spilled over the edge) */
.addon-logo img { position: absolute; top: var(--pad-y); left: var(--pad-x); width: calc(100% - 2 * var(--pad-x)); height: calc(100% - 2 * var(--pad-y)); max-width: none; object-fit: contain; transform: none; }
.addon-logo--sm { --pad-x: 0.4rem; --pad-y: 0.3rem; width: 3.6rem; height: 2.25rem; }

/* add-on page: the options that set the price (addon-options.js) */
.addon-opts { display: grid; gap: var(--sp-3); margin: var(--sp-2) 0 0; }
.addon-opts__set { display: grid; gap: var(--sp-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.addon-opts__title { margin: 0 0 var(--sp-1); padding: 0; font-weight: 650; font-size: var(--fs-md); }
.addon-opts__lead { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }
.addon-opts__rates { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-2); margin: 0; padding: 0; list-style: none; }
.addon-opts__rates li { padding: 0.2rem 0.6rem; border-radius: var(--r-pill); background: var(--brand-soft); color: var(--brand-text); font-size: var(--fs-xs); font-weight: 600; }
.addon-tier { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 0 var(--sp-3); align-items: center; padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.addon-tier:hover { border-color: var(--border-strong); }
.addon-tier input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.addon-tier__name { font-weight: 650; }
.addon-tier__quota { grid-column: 1; font-size: var(--fs-xs); color: var(--text-muted); }
.addon-tier__price { grid-column: 2; grid-row: 1 / span 2; font-weight: 700; white-space: nowrap; }
.addon-tier__price small { font-weight: 500; color: var(--text-muted); }
.addon-tier:has(input:checked) { border-color: var(--brand-solid); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-solid); }
.addon-tier:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.addon-bridge { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "pick pick" "qty price"; gap: var(--sp-2) var(--sp-3); align-items: center; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.addon-bridge.is-on { border-color: var(--brand-solid); background: var(--brand-soft); }
.addon-bridge__pick { grid-area: pick; display: flex; align-items: center; gap: var(--sp-2); min-width: 0; cursor: pointer; }
.addon-bridge__pick input { width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--brand-solid); }
.addon-bridge__name { font-weight: 650; font-size: var(--fs-sm); }
.addon-bridge__qty { grid-area: qty; justify-self: start; display: inline-flex; align-items: center; gap: var(--sp-2); }
.addon-bridge__label { font-size: var(--fs-xs); color: var(--text-muted); }
.addon-bridge__qty .qty { height: 2.25rem; }
.addon-bridge__qty .qty__btn { width: 2.1rem; height: 2.1rem; }
.addon-bridge__qty .qty__btn .icon { width: 0.9rem; height: 0.9rem; }
.addon-bridge__qty .qty__input { width: 2.25rem; padding: 0; font-size: var(--fs-sm); text-align: center; }
.addon-bridge__qty input:disabled, .addon-bridge__qty button:disabled { opacity: 0.4; }
.addon-bridge__price { grid-area: price; text-align: right; font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.addon-opts__total { display: flex; align-items: baseline; gap: var(--sp-2); margin: var(--sp-1) 0 0; padding-top: var(--sp-3); border-top: 1px solid var(--border); }
.addon-opts__total span { margin-right: auto; font-weight: 600; }
.addon-opts__total strong { font-size: var(--fs-h3); font-family: var(--font-display); }
.addon-opts__total small { color: var(--text-muted); }
/* no-package reminder (package-prompt.php): above the cart drawer */
html.js .pkg-prompt { z-index: 400; }
html:not(.js) .pkg-prompt { display: none; }
.pkg-prompt__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: var(--sp-3); margin: 0; padding: 0; border: 0; min-width: 0; }
.pkg-opt { position: relative; display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.pkg-opt:hover { border-color: var(--border-strong); }
.pkg-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pkg-opt__head { display: flex; align-items: center; gap: var(--sp-2); padding-right: 1.75rem; }
.pkg-opt__name { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; }
.pkg-opt__desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; min-height: calc(2 * 1.5em); font-size: var(--fs-sm); line-height: 1.5; color: var(--text-muted); }
.pkg-opt__price { margin-top: auto; font-weight: 700; font-size: var(--fs-lg); }
.pkg-opt__price small { margin-left: 0.25rem; font-size: var(--fs-xs); font-weight: 500; color: var(--text-muted); }
.pkg-opt__check { position: absolute; top: var(--sp-4); right: var(--sp-4); display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border: 1.5px solid var(--border-strong); border-radius: 50%; color: #fff; }
.pkg-opt__check .icon { width: 0.8rem; height: 0.8rem; stroke-width: 3.5; opacity: 0; }
.pkg-opt:has(input:checked) { border-color: var(--brand-solid); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-solid); }
.pkg-opt:has(input:checked) .pkg-opt__check { border-color: var(--brand-solid); background: var(--brand-solid); }
.pkg-opt:has(input:checked) .pkg-opt__check .icon { opacity: 1; }
.pkg-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.pkg-prompt__more { margin: var(--sp-4) 0 0; font-size: var(--fs-sm); }
.pkg-prompt__more a { display: inline-flex; align-items: center; gap: var(--sp-1); color: var(--brand-text); font-weight: 600; }
.pkg-prompt__more .icon { width: 1rem; height: 1rem; }
.pkg-prompt .gw__foot { justify-content: flex-end; }

/* Questions before the interest form (partials/checkout-prompts.php): same modal as the package reminder */
.prompt [hidden] { display: none !important; }
.prompt__choices { display: grid; gap: var(--sp-3); }
.choice-card { display: grid; grid-template-columns: 1fr; align-items: center; gap: var(--sp-4); width: 100%; padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.choice-card:hover { border-color: var(--brand-solid); background: var(--brand-soft); }
.choice-card:active { transform: scale(0.99); }
.choice-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice-card__body { display: grid; gap: 0.2rem; min-width: 0; }
.choice-card__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; }
.choice-card__text { font-size: var(--fs-sm); line-height: 1.5; color: var(--text-muted); }
.choice-card--main { grid-template-columns: auto 1fr; }
.choice-card__thumb { --s: 3.25rem; }
.choice-card--main:hover .choice-card__thumb { transform: scale(1.06) rotate(-3deg); }
/* the other answer: quieter, smaller, no card until hovered */
.choice-card--alt { padding: var(--sp-3) var(--sp-4); border-color: transparent; background: transparent; }
.choice-card--alt .choice-card__title { font-family: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }
.choice-card--alt .choice-card__text { font-size: var(--fs-xs); color: var(--text-subtle); }
.choice-card--alt:hover { border-color: var(--border); background: var(--surface-2); }
.choice-card--alt:hover .choice-card__title { color: var(--text); }
.prompt .gw__foot { justify-content: space-between; }
.extra-list { display: grid; gap: var(--sp-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.extra-opt { position: relative; display: grid; grid-template-columns: 3.6rem 1fr auto; align-items: center; gap: var(--sp-3) var(--sp-4); padding: var(--sp-3) var(--sp-4); padding-right: 3rem; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.extra-opt:hover { border-color: var(--border-strong); }
.extra-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.extra-opt > .ind-thumb, .extra-opt > .addon-logo, .extra-opt > .card__icon { justify-self: center; }
.extra-opt .ind-thumb { --s: 2.75rem; }
.extra-opt .addon-logo { --pad-x: 0.4rem; --pad-y: 0.3rem; width: 3.6rem; height: 2.4rem; }
.extra-opt__body { display: grid; gap: 0.1rem; min-width: 0; }
.extra-opt__name { font-weight: 650; }
.extra-opt__desc { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: var(--fs-xs); color: var(--text-muted); }
.extra-opt__price { font-weight: 700; white-space: nowrap; }
.extra-opt__price small { font-weight: 500; font-size: var(--fs-xs); color: var(--text-muted); }
.extra-opt__check { top: 50%; right: var(--sp-4); transform: translateY(-50%); }
.extra-opt:has(input:checked) { border-color: var(--brand-solid); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-solid); }
.extra-opt:has(input:checked) .pkg-opt__check { border-color: var(--brand-solid); background: var(--brand-solid); }
.extra-opt:has(input:checked) .pkg-opt__check .icon { opacity: 1; }
.extra-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 540px) { .extra-opt { grid-template-columns: 3.6rem 1fr; } .extra-opt__price { grid-column: 2; } }
/* a ticked tiered bridge: how many stores / profiles, joined to its row */
.extra-row:has(.extra-opt__units:not([hidden])) .extra-opt { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.extra-opt__units { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: var(--sp-2) var(--sp-4) var(--sp-2) calc(3.6rem + 2 * var(--sp-4)); border: 1px solid var(--brand-solid); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--brand-soft); box-shadow: inset 1px 0 0 var(--brand-solid), inset -1px 0 0 var(--brand-solid), inset 0 -1px 0 var(--brand-solid); }
.extra-opt__units-label { font-size: var(--fs-sm); font-weight: 600; }
@media (max-width: 540px) { .extra-opt__units { padding-left: var(--sp-4); } }
.prompt__note { margin: var(--sp-4) 0 0; font-size: var(--fs-xs); color: var(--text-muted); }
.addon-tier__badge { margin-left: var(--sp-2); vertical-align: middle; }
/* info tooltip: an (i) button; the text shows on hover, keyboard focus or a tap (focus) */
.tip { position: relative; display: inline-flex; vertical-align: middle; }
.tip__btn { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-left: 0.15rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-subtle); cursor: help; }
.tip__btn:hover, .tip__btn:focus-visible { color: var(--brand-text); }
.tip__btn .icon { width: 0.95rem; height: 0.95rem; }
.tip__box { position: absolute; bottom: calc(100% + 0.5rem); left: -0.75rem; z-index: 20; width: min(17rem, 80vw); padding: 0.6rem 0.75rem; border-radius: var(--r-md); background: var(--text); color: var(--bg); font-size: var(--fs-xs); font-weight: 500; line-height: 1.45; text-align: left; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast); pointer-events: none; }
.tip__box::after { content: ""; position: absolute; top: 100%; left: 1rem; border: 6px solid transparent; border-top-color: var(--text); }
.tip:hover .tip__box, .tip__btn:focus + .tip__box { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-out); }
.cart-line__detail { display: block; margin-top: 0.1rem; font-size: var(--fs-xs); color: var(--text-muted); }
.plan-card__more { margin-top: var(--sp-2); font-size: var(--fs-sm); }
.plan-card__more a { color: var(--brand-text); font-weight: 600; }
.price__from { font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }

/* Integrations */
.logo-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: var(--sp-2); margin: var(--sp-2) 0 0; padding: 0; list-style: none; }
.logo-chip { display: flex; align-items: center; justify-content: center; min-width: 0; height: 3.5rem; padding: 0.55rem 0.75rem; border: 1px solid var(--border); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
/* fixed box, not %: a %-height inside an auto grid row does not resolve and tall logos (Box, epay, myPOS) spill out */
.logo-chip img { display: block; max-width: 100%; max-height: 2.25rem; width: auto; height: auto; object-fit: contain; }

/* Where we take part: logos on white cards orbiting the dobby mark, on a dark panel in both themes.
   The same constellation at every width; only the stage height, card size and tilt scale down. */
.presence__panel {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 3vw, 4rem);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(70% 90% at 78% 50%, rgb(255 54 86 / 0.28), transparent 62%),
    radial-gradient(50% 60% at 0% 100%, rgb(255 125 146 / 0.12), transparent 70%),
    #141418;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
:root[data-theme="dark"] .presence__panel { border: 1px solid var(--border); }
.presence__eyebrow { color: #ff7d92; }
.presence__lead { color: rgb(255 255 255 / 0.74); }
.presence__stage { position: relative; min-height: clamp(23rem, 20rem + 8vw, 27rem); }
.presence__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.presence__lines path { fill: none; stroke: rgb(255 255 255 / 0.28); stroke-width: 1.5; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; }
.presence__core {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: clamp(3.25rem, 2.5rem + 2vw, 4.5rem);
  height: clamp(3.25rem, 2.5rem + 2vw, 4.5rem);
  border-radius: 50%;
  background: var(--brand-grad);
  box-shadow: 0 0 0 10px rgb(255 54 86 / 0.14), 0 0 0 22px rgb(255 54 86 / 0.07), 0 18px 40px -12px rgb(255 54 86 / 0.7);
}
.presence__core img { width: 58%; height: auto; }
.presence__list { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.presence__card {
  position: absolute;
  display: grid;
  place-items: center;
  width: min(15rem, 52%);
  height: clamp(4rem, 3rem + 2.5vw, 5.5rem);
  padding: clamp(0.6rem, 0.4rem + 0.8vw, 1rem) clamp(0.8rem, 0.5rem + 1.2vw, 1.5rem);
  border-radius: clamp(0.85rem, 0.6rem + 0.8vw, 1.25rem);
  background: #fff;
  box-shadow: 0 24px 48px -20px rgb(0 0 0 / 0.65), 0 2px 6px rgb(0 0 0 / 0.2);
  transition: rotate var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out), box-shadow var(--t) var(--ease);
}
.presence__card img { max-width: 100%; max-height: clamp(2.25rem, 1.75rem + 1.5vw, 3.25rem); width: auto; height: auto; object-fit: contain; }
.presence__card a { display: contents; }
/* zig-zag: two rows above and two below the mark, so the centre stays clear at every width */
.presence__card--1 { left: 0; top: 0; rotate: -5deg; }
.presence__card--2 { right: 0; top: 15%; rotate: 4deg; }
.presence__card--3 { left: 4%; bottom: 15%; rotate: 3deg; }
.presence__card--4 { right: 4%; bottom: 0; rotate: -3deg; }
.presence__card:hover { rotate: 0deg; transform: translateY(-6px) scale(1.04); box-shadow: 0 32px 60px -20px rgb(0 0 0 / 0.75), 0 0 0 3px rgb(255 54 86 / 0.55); z-index: 1; }

/* phones & tablets: copy above, the stage below */
@media (min-width: 600px) and (max-width: 899px) {
  .presence__stage { min-height: 26rem; margin-inline: 4%; }
  .presence__card { width: min(15rem, 44%); }
}
@media (min-width: 900px) {
  .presence__panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .presence__card { width: min(15rem, 46%); }
}
@media (prefers-reduced-motion: no-preference) {
  .presence__card { animation: presence-float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -2.3s); }
  .presence__card:hover { animation-play-state: paused; }
  .presence__lines path { animation: presence-dash 14s linear infinite; }
  .presence__core { animation: presence-pulse 3.2s ease-in-out infinite; }
}
@keyframes presence-float { 50% { transform: translateY(-10px); } }
@keyframes presence-dash { to { stroke-dashoffset: -110; } }
@keyframes presence-pulse { 50% { box-shadow: 0 0 0 14px rgb(255 54 86 / 0.16), 0 0 0 30px rgb(255 54 86 / 0.05), 0 18px 40px -12px rgb(255 54 86 / 0.7); } }

.wordmarks { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-2); }
.wordmark {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: -0.01em;
  color: var(--text-muted);
}

/* Partners logo wall: grayscale, colour on hover */
.partners { border-block: 1px solid var(--border); }
.logo-ph { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 750; font-size: var(--fs-md); letter-spacing: -0.02em; }
.logo-ph__mark { width: 1.5rem; height: 1.5rem; border-radius: 6px 50% 50% 50%; background: var(--brand-500); }
.logo-ph--1 .logo-ph__mark { background: #2f6fed; border-radius: 50%; }
.logo-ph--2 .logo-ph__mark { background: #12a150; border-radius: 4px; transform: rotate(45deg) scale(0.85); }

/* Logo carousels (home: customers under the hero, partners further down) */
.logos { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); overflow: hidden; }
.logos--plain { padding-block: clamp(1rem, 0.5rem + 1.5vw, 2rem) clamp(1.5rem, 1rem + 2vw, 3rem); }
.logos--bordered { border-block: 1px solid var(--border); }
.logos__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-3); margin-bottom: var(--sp-6); font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.01em; line-height: 1.4; color: var(--text-muted); text-align: center; }

.marquee {
  --marquee-duration: calc(var(--marquee-items, 8) * 4.5s);   /* same speed however many logos */
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee var(--marquee-duration) linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__item {
  display: grid;
  place-items: center;
  flex: none;
  min-height: 4rem;
  padding-inline: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter var(--t) var(--ease), opacity var(--t) var(--ease);
}
.marquee__item:hover { filter: none; opacity: 1; }
.marquee__item img { max-height: 2.5rem; width: auto; }
/* real logos sit on white chips so dark or white-background files read in both themes */
.marquee__item:has(img) { filter: none; opacity: 1; padding-inline: clamp(0.5rem, 0.25rem + 1vw, 1rem); }
.marquee__item:has(img) img { box-sizing: content-box; height: 2.25rem; max-height: none; max-width: 11rem; object-fit: contain; padding: 0.85rem 1.4rem; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; filter: grayscale(1); transition: filter var(--t) var(--ease); }
.marquee__item:has(img):hover img { filter: none; }
/* customers: square full-colour badges (many have their own background), lifted slightly on hover */
.marquee--tiles { --marquee-duration: calc(var(--marquee-items, 8) * 3.2s); }
.marquee--tiles .marquee__item { padding-block: var(--sp-3); padding-inline: clamp(0.5rem, 0.3rem + 0.8vw, 1rem); }
.marquee--tiles .marquee__item:has(img) img {
  width: clamp(4rem, 3.25rem + 2.5vw, 5.75rem);
  height: auto;
  aspect-ratio: 1;
  max-width: none;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: clamp(0.9rem, 0.7rem + 0.6vw, 1.25rem);
  object-fit: cover;
  filter: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease);
}
.marquee--tiles .marquee__item:has(img):hover img { transform: translateY(-3px) scale(1.04); box-shadow: var(--shadow-md); }
.marquee__item .logo-ph { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; animation: none; }
  .marquee__track[aria-hidden] { display: none; }
}

/* Testimonials */
.quote { gap: var(--sp-5); margin: 0; }
.quote__mark { width: 2rem; height: 2rem; color: var(--brand); }
.quote__text { margin: 0; font-size: var(--fs-lg); line-height: 1.5; letter-spacing: -0.01em; }
.quote__who { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; font-size: var(--fs-sm); }
.quote__who strong { display: block; }
.quote__role { color: var(--text-muted); }
.quote__avatar { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); font-weight: 700; }

/* Blog cards */
.post-card { padding: 0; overflow: hidden; gap: 0; height: 100%; }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-card__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
/* no cover (or a broken one): a soft brand gradient with the faded elf */
.post-card__ph { position: absolute; inset: 0; background: var(--deco-elf) no-repeat center / 40% auto, linear-gradient(135deg, var(--brand-soft), var(--bg-muted)); opacity: 1; }
.post-card__body { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5) var(--sp-6) var(--sp-6); flex: 1; }
.post-card__date { font-size: var(--fs-xs); color: var(--text-subtle); font-weight: 600; }
.post-card__more { margin-top: auto; padding-top: var(--sp-3); font-size: var(--fs-sm); }
.post-card--featured { display: grid; }
@media (min-width: 900px) {
  .post-card--featured { grid-template-columns: 1.3fr 1fr; }
  .post-card--featured .post-card__media { aspect-ratio: auto; min-height: 22rem; }
  .post-card--featured .post-card__body { justify-content: center; padding: var(--sp-10); }
  .post-card--featured .post-card__title { font-size: var(--fs-h3); }
}
.blog-featured { margin-bottom: var(--sp-8); }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-12); }
.pager__pages { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin: 0; padding: 0; list-style: none; }
.pager__n { display: grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding: 0 0.5rem; border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-sm); text-decoration: none; }
.pager__n:hover { background: var(--surface-2); }
.pager__n[aria-current] { background: var(--inverse-bg); color: var(--inverse-text); }

/* Blog post */
.post__head { padding-block: var(--sp-6) var(--sp-8); }
.post__head .eyebrow a { text-decoration: none; }
.post__title { font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem); }
.post__subtitle { margin-top: var(--sp-5); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-6); margin-top: var(--sp-6); font-size: var(--fs-sm); color: var(--text-muted); }
.post__meta > span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.post__meta .icon { width: 1rem; height: 1rem; }
.post__author .quote__avatar { width: 2rem; height: 2rem; font-size: var(--fs-xs); }
/* one column for the whole article: header, cover and text share the same width on every screen */
.post .container--text, .post__cover-wrap { max-width: calc(48rem + 2 * var(--gutter)); }
.post__cover { position: relative; margin: 0 0 var(--sp-10); aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-2xl); background: var(--surface-2); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post__cover.is-broken { display: none; }
.post__body { font-size: var(--fs-lg); line-height: 1.75; }
.post__body h2, .post__body h3 { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.post__body figure { margin: 2em 0; }
.post__body figcaption { margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--text-muted); text-align: center; }
.post__updated { margin-top: var(--sp-8); font-size: var(--fs-sm); color: var(--text-subtle); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); margin: var(--sp-10) 0 var(--sp-16); padding-top: var(--sp-6); border-top: 1px solid var(--border); }
.share__title { font-weight: 650; font-size: var(--fs-sm); }
.share__list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.share__btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); min-width: 2.75rem; height: 2.75rem; padding: 0 0.75rem; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--surface); color: var(--text-muted); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.share__btn:hover { color: var(--text); border-color: var(--text); }
.share__btn .icon { width: 1.1rem; height: 1.1rem; }

/* Final CTA */
.cta-band__box {
  --deco-elf: url("../img/brand/elf-white.webp");
  --deco-opacity: 0.07;
  position: relative;
  padding: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(1.5rem, 1rem + 4vw, 5rem);
  border-radius: var(--r-2xl);
  background: radial-gradient(120% 90% at 85% 0%, rgb(255 54 86 / 0.38), transparent 55%), #141418;
  color: #fff;
  text-align: center;
}
:root[data-theme="dark"] .cta-band__box { border: 1px solid var(--border); }
.cta-band__title { max-width: 18ch; margin-inline: auto; }
.cta-band__text { color: rgb(255 255 255 / 0.78); margin: var(--sp-5) auto 0; }

/* 11d. Shop: catalogue, product, pricing, offers, cart, checkout ----------- */
.page-head { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) var(--sp-4); }
.page-head .lead { margin-top: var(--sp-4); }
.page-head--center { text-align: center; }
.page-head--center .lead { margin-inline: auto; }
.section-title { margin-bottom: var(--sp-8); }

.catalogue__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.chip__count { font-size: var(--fs-xs); color: var(--text-subtle); font-variant-numeric: tabular-nums; }
.chip[aria-current] .chip__count { color: inherit; opacity: 0.7; }
.sort-form { display: flex; align-items: center; gap: var(--sp-3); }
.sort-form__label { font-size: var(--fs-sm); color: var(--text-muted); white-space: nowrap; }
.select--sm { min-height: 2.5rem; padding-block: 0.4rem; width: auto; font-size: var(--fs-sm); }
.catalogue__count { margin: var(--sp-6) 0 var(--sp-4); font-size: var(--fs-sm); color: var(--text-muted); }
.empty-state { display: grid; justify-items: center; gap: var(--sp-4); padding: var(--sp-16) var(--sp-6); border: 1px dashed var(--border-strong); border-radius: var(--r-xl); text-align: center; color: var(--text-muted); }
.empty-state > .icon { width: 2.5rem; height: 2.5rem; color: var(--text-subtle); }
.help-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-6); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-xl); background: var(--bg-subtle); border: 1px solid var(--border); }
.help-band .btn-row { margin-top: 0; }
.help-band .text-muted { margin-top: var(--sp-2); }

/* product card extras */
.product-card__noimg { display: grid; place-items: center; position: absolute; inset: 0; }
.product-card__media:has(img) .product-card__noimg, .gallery__slide:has(img) .product-card__noimg { display: none; }
.product-card__add { position: relative; z-index: 1; margin-top: var(--sp-2); justify-self: start; }
.product-card__add .icon { width: 1rem; height: 1rem; }

/* Product page */
.product__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 900px) { .product__grid { grid-template-columns: 1.1fr 1fr; } }
.gallery { display: grid; gap: var(--sp-3); }
@media (min-width: 900px) { .gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
/* the big image: slides side by side (swipe), each image whole and centred, its corners matching the frame */
.gallery__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); background: var(--surface-2); overflow: hidden; }
.gallery__stage > .product-card__noimg .icon, .gallery__slide .product-card__noimg .icon { width: 4rem; height: 4rem; color: var(--text-subtle); }
.gallery__track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; outline: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.gallery__slide img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 88%; max-height: 80%; border-radius: var(--r-xl); }
.gallery__btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: 0 6px 18px -8px rgb(0 0 0 / 0.35); cursor: pointer; transition: opacity var(--t-fast, 0.15s), background-color var(--t-fast, 0.15s), transform var(--t-fast, 0.15s); }
.gallery__btn:hover { background: var(--surface-2); }
.gallery__btn .icon { width: 1.25rem; height: 1.25rem; }
.gallery__nav { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; opacity: 0; pointer-events: none; }
.gallery__nav--prev { left: var(--sp-3); }
.gallery__nav--next { right: var(--sp-3); }
.gallery__stage:is(:hover, :focus-within) .gallery__nav { opacity: 1; pointer-events: auto; }
.gallery__expand { position: absolute; top: var(--sp-3); right: var(--sp-3); z-index: 2; width: 2.5rem; height: 2.5rem; }
.gallery__expand .icon { width: 1.1rem; height: 1.1rem; }
.gallery__count { position: absolute; bottom: var(--sp-2); left: 50%; z-index: 2; translate: -50% 0; margin: 0; padding: 0.15rem 0.6rem; border-radius: var(--r-pill); background: rgb(0 0 0 / 0.55); color: #fff; font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.gallery__stage .product-card__flag { z-index: 2; }
/* thumbnails: one row; when they do not fit, it scrolls sideways with arrows and fades at the edges */
.gallery__thumbs { position: relative; }
.gallery__thumbs-track { --fade-l: 0px; --fade-r: 0px; display: flex; gap: var(--sp-2); margin: 0; padding: 2px; list-style: none; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); }
.gallery__thumbs-track::-webkit-scrollbar { display: none; }
.gallery__thumbs.has-left .gallery__thumbs-track { --fade-l: 3.5rem; }
.gallery__thumbs.has-right .gallery__thumbs-track { --fade-r: 3.5rem; }
.gallery__thumbs li { flex: none; }
.gallery__thumb { position: relative; display: block; width: 5rem; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--r-md); background: var(--surface-2); cursor: pointer; }
.gallery__thumb[aria-current] { border-color: var(--brand); }
.gallery__thumb img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 84%; max-height: 84%; border-radius: calc(var(--r-md) - 4px); }
.gallery__thumbs-nav { position: absolute; top: 50%; z-index: 1; width: 2.1rem; height: 2.1rem; translate: 0 -50%; opacity: 0; pointer-events: none; }
.gallery__thumbs-nav .icon { width: 1rem; height: 1rem; }
.gallery__thumbs-nav--prev { left: 0; }
.gallery__thumbs-nav--next { right: 0; }
.gallery__thumbs.has-left .gallery__thumbs-nav--prev, .gallery__thumbs.has-right .gallery__thumbs-nav--next { opacity: 1; pointer-events: auto; }
/* full screen viewer */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(8 9 14 / 0.94); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: transparent; }
.lightbox__track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.lightbox__slide img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: calc(100% - 2rem); max-height: calc(100% - 9rem); border-radius: var(--r-xl); background: #fff; }
@media (min-width: 768px) { .lightbox__slide img { max-width: calc(100% - 11rem); max-height: calc(100% - 7rem); } }
.lightbox .gallery__btn { position: absolute; z-index: 1; border-color: rgb(255 255 255 / 0.2); background: rgb(255 255 255 / 0.1); color: #fff; box-shadow: none; }
.lightbox .gallery__btn:hover { background: rgb(255 255 255 / 0.22); }
.lightbox__close { top: var(--sp-4); right: var(--sp-4); }
.lightbox__nav { top: 50%; translate: 0 -50%; width: 3.25rem; height: 3.25rem; }
.lightbox__nav--prev { left: var(--sp-4); }
.lightbox__nav--next { right: var(--sp-4); }
@media (max-width: 767px) { .lightbox__nav { top: auto; bottom: var(--sp-6); translate: none; } .lightbox__nav--prev { left: calc(50% - 4rem); } .lightbox__nav--next { right: calc(50% - 4rem); } }
.lightbox__count { position: absolute; top: var(--sp-5); left: var(--sp-5); z-index: 1; margin: 0; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; color: rgb(255 255 255 / 0.8); }
@media (prefers-reduced-motion: reduce) { .gallery__thumbs-track { scroll-behavior: auto; } }
.product__info { display: grid; gap: var(--sp-5); align-content: start; }
.product__info .eyebrow { margin-bottom: 0; }
.product__title { font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem); }
.offer-note { display: inline-flex; align-items: center; gap: var(--sp-2); justify-self: start; padding: 0.4rem 0.8rem; border-radius: var(--r-pill); background: var(--brand-soft); color: var(--brand-soft-text); font-size: var(--fs-sm); font-weight: 600; }
.offer-note .icon { width: 1rem; height: 1rem; }
.stock--lg { font-size: var(--fs-sm); gap: var(--sp-2); }
.buy { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.buy__btn { flex: 1 1 14rem; }
.product__perks { margin-top: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.specs { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--border); font-size: var(--fs-sm); }
.specs > div { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }
.specs dt { color: var(--text-muted); }
.specs dd { margin: 0; font-weight: 600; }
.product__ask { font-size: var(--fs-sm); color: var(--text-muted); }
.product__desc { margin-top: var(--sp-5); }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--surface); }
.qty__btn { display: grid; place-items: center; width: 2.875rem; height: 3.25rem; border: 0; background: none; color: var(--text); border-radius: var(--r-pill); }
.qty__btn:hover { background: var(--surface-2); }
.qty__btn .icon { width: 1rem; height: 1rem; }
.qty__input { width: 3rem; border: 0; background: none; text-align: center; font-weight: 600; font-size: 1rem; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }
.qty:focus-within { border-color: var(--brand-solid); box-shadow: 0 0 0 3px rgb(255 54 86 / 0.2); }
.qty--sm .qty__btn { width: 2.25rem; height: 2.25rem; }
.qty--sm .qty__input { width: 2.25rem; font-size: var(--fs-sm); }

/* Pricing */
.price--sm .price__final { font-size: var(--fs-md); }
.pricing-note { margin-top: var(--sp-6); text-align: center; font-size: var(--fs-sm); color: var(--text-muted); }
.price__vat { margin-left: 0.3em; font-size: var(--fs-xs); font-weight: 500; color: var(--text-muted); white-space: nowrap; }   /* "+ ΦΠΑ": prices are without VAT */
.plan-card__actions { display: grid; gap: var(--sp-2); }
.btn[aria-pressed="true"].btn--primary { --btn-bd: transparent; --btn-fg: #fff; }   /* in the cart: same gradient, no outline */
.addon-card__head { display: flex; gap: var(--sp-4); align-items: flex-start; }
.addon-card__head .price { margin-top: var(--sp-1); }
.addon-card__btn .when-on, .addon-card__btn[aria-pressed="true"] .when-off { display: none; }
.addon-card__btn[aria-pressed="true"] .when-on { display: block; }
.addon-card__btn[aria-pressed="true"] { --btn-bg: var(--success-soft); --btn-fg: var(--success); --btn-bd: transparent; }
.addon-card__btn .icon { width: 1rem; height: 1rem; }

.cmp-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.cmp { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: var(--fs-sm); }
.cmp th, .cmp td { padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.cmp thead th { font-size: var(--fs-md); font-weight: 650; background: var(--surface-2); position: sticky; top: 0; }
.cmp .cmp__feature, .cmp tbody th[scope="row"] { text-align: left; font-weight: 500; }
.cmp__price { display: block; margin-top: 2px; font-size: var(--fs-xs); font-weight: 500; color: var(--text-muted); }
.cmp tbody:last-child tr:last-child > * { border-bottom: 0; }
.cmp-yes .icon { margin-inline: auto; color: var(--success); stroke-width: 2.5; }
.cmp-no .icon { margin-inline: auto; color: var(--text-subtle); }

/* Pricing page plans: period pill nav, live prices, extra apps per plan, phone carousel */

.pricing-plans .plan-card { gap: var(--sp-5); }
.plan-card__flag { z-index: 1; }
/* the flag sits on the card's border: the dark theme's see-through tint needs an opaque layer under it */
.plan-card__flag.badge--brand { background: linear-gradient(var(--brand-soft), var(--brand-soft)), var(--surface); }
.plan-card__tagline { min-height: 3em; }
.plan-card__section { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); margin: 0; padding: 0; border: 0; min-width: 0; }
.plan-card__sub { padding: 0; font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 650; letter-spacing: 0; color: var(--text); }
.plan-card__list { margin-top: 0; gap: var(--sp-2); font-size: var(--fs-sm); }

/* Phones & small tablets */
@media (max-width: 959px) {
  /* (the packages are in the shared carousel, .scroller: their width comes from .scroller__item--plan) */
  .plan-card__tagline { min-height: 0; }
}

/* Comparison on phones: feature name on its own line, plan values in columns under a sticky plan header */
@media (max-width: 719px) {
  .cmp-wrap--stack { overflow: visible; border-radius: var(--r-lg); }
  .cmp--stack { display: block; min-width: 0; }
  .cmp--stack thead, .cmp--stack tbody { display: block; }
  .cmp--stack tr { display: grid; grid-template-columns: repeat(var(--cmp-cols, 3), minmax(0, 1fr)); }
  .cmp--stack thead { position: sticky; top: var(--header-h-scrolled); z-index: 2; }
  .cmp--stack thead th { position: static; padding: var(--sp-3) var(--sp-2); font-size: var(--fs-sm); }
  .cmp--stack thead tr > :first-child { border-top-left-radius: var(--r-lg); }
  .cmp--stack thead tr > :last-child { border-top-right-radius: var(--r-lg); }
  .cmp--stack thead .cmp__feature { display: none; }
  .cmp--stack thead th:nth-child(2) { border-top-left-radius: var(--r-lg); }
  .cmp--stack thead th.is-highlight { color: var(--brand-text); }
  .cmp--stack tbody th[scope="row"] { grid-column: 1 / -1; padding: var(--sp-3) var(--sp-4) 0; border-bottom: 0; font-weight: 600; text-align: left; }
  .cmp--stack td { padding: var(--sp-2) var(--sp-2) var(--sp-3); }
}

.plan-hero { display: grid; gap: var(--sp-10); align-items: start; }
@media (min-width: 900px) { .plan-hero { grid-template-columns: 1.4fr 1fr; } }
.plan-hero__desc { margin-top: var(--sp-5); color: var(--text-muted); font-size: var(--fs-lg); }
.plan-hero__buy { gap: var(--sp-4); padding: var(--sp-8); border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .plan-hero__buy { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Offers */
.offer-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 2rem); }
.offer-card:target { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.offer-card__head { display: flex; gap: var(--sp-5); align-items: center; }
.offer-card__pct { display: grid; place-items: center; flex: none; width: 4.5rem; height: 4.5rem; border-radius: var(--r-lg); background: var(--brand-solid) var(--brand-grad); color: #fff; font-weight: 800; font-size: var(--fs-lg); letter-spacing: -0.02em; }
.offer-card__until { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-1); color: var(--text-muted); font-size: var(--fs-sm); }
.offer-card__until .icon { width: 1rem; height: 1rem; }
.offer-card__desc { margin-top: var(--sp-5); color: var(--text-muted); }
.offer-card__applies { margin-top: var(--sp-6); font-size: var(--fs-sm); font-weight: 600; }
.offer-items { display: grid; gap: var(--sp-2); margin-top: var(--sp-3); }
.offer-item { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); padding: var(--sp-4); border-radius: var(--r-md); background: var(--surface-2); }
.offer-item__title { flex: 1 1 12rem; font-weight: 600; }
.offer-item__note { display: block; font-size: var(--fs-xs, 0.8rem); font-weight: 400; color: var(--text-muted); }

/* Cart: lines, totals, drawer, page */
.cart-view__status:empty, .cart-view__status[hidden] { display: none; }
.cart-view__status { margin-bottom: var(--sp-4); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: var(--warning-soft); color: var(--warning); font-size: var(--fs-sm); }
.cart-lines { display: grid; }
.cart-line { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: var(--sp-4); align-items: center; padding: var(--sp-4) 0; border-bottom: 1px solid var(--border); }
/* the photo never sizes the box (tall photos made it taller and cropped): whole, centred, corners rounded like its frame */
.cart-line__media { position: relative; display: grid; place-items: center; width: 4.5rem; aspect-ratio: 4 / 3; border-radius: var(--r-md); background: var(--surface-2); overflow: hidden; }
.cart-line__media img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 86%; max-height: 86%; border-radius: calc(var(--r-md) - 4px); }
.cart-line__icon { display: grid; place-items: center; color: var(--brand-text); }
.cart-line__body { min-width: 0; }
.cart-line__type { font-size: var(--fs-xs); color: var(--text-subtle); font-weight: 600; }
.cart-line__title { display: block; font-weight: 600; line-height: 1.35; text-decoration: none; }
.cart-line__title:hover { text-decoration: underline; }
.cart-line__price { margin-top: 2px; font-size: var(--fs-sm); color: var(--text-muted); }
.cart-line__side { display: grid; justify-items: end; gap: var(--sp-2); }
.cart-line__total { font-weight: 650; font-size: var(--fs-sm); }
.cart-line__total:empty { display: none; }
.cart-line__qty { font-size: var(--fs-sm); color: var(--text-muted); }
.cart-line__remove { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem; border: 0; background: none; color: var(--text-muted); font-size: var(--fs-xs); }
.cart-line__remove:hover { color: var(--danger); }
.cart-line__remove .icon { width: 0.95rem; height: 0.95rem; }
.cart-view--summary .cart-line { grid-template-columns: 3.5rem 1fr auto; padding: var(--sp-3) 0; }
.cart-view--summary .cart-line__media { width: 3.5rem; }
.cart-view--drawer .cart-line__remove span, .cart-view--summary .cart-line__remove span { display: none; }
@media (max-width: 479px) {
  .cart-line { grid-template-columns: 3.5rem 1fr; }
  .cart-line__media { width: 3.5rem; }
  .cart-line__side { grid-column: 2; grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; }
  .cart-line__remove span { display: none; }
}
.cart-totals { display: grid; gap: var(--sp-2); margin: var(--sp-5) 0 0; font-size: var(--fs-sm); }
.cart-totals > div { display: flex; justify-content: space-between; gap: var(--sp-4); }
.cart-totals dt { color: var(--text-muted); }
.cart-totals dd { margin: 0; font-weight: 700; font-size: var(--fs-md); }
.cart-totals__per { font-weight: 500; color: var(--text-muted); font-size: var(--fs-sm); }
.cart-totals__saved dd, .cart-totals__saved dt { color: var(--success); font-size: var(--fs-sm); }
.cart-empty { display: grid; justify-items: center; gap: var(--sp-3); padding: var(--sp-10) var(--sp-4); text-align: center; }
.cart-empty__icon { width: 2.5rem; height: 2.5rem; color: var(--text-subtle); }
.cart-empty__title { font-weight: 650; font-size: var(--fs-lg); }
.cart-empty__text { color: var(--text-muted); font-size: var(--fs-sm); max-width: 24rem; }
.cart-empty .btn-row { margin-top: var(--sp-2); }
.cart-view__noscript { color: var(--text-muted); font-size: var(--fs-sm); }

.cart-drawer { z-index: 300; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--border); }
.drawer__title { font-size: var(--fs-xl); }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--sp-5) var(--sp-5); }
.drawer__foot { display: grid; gap: var(--sp-2); padding: var(--sp-4) var(--sp-5) calc(var(--sp-4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); }
.drawer__note { font-size: var(--fs-xs); color: var(--text-muted); text-align: center; }

.cart-page { display: grid; gap: var(--sp-8); align-items: start; }
.cart-page > *, .checkout > * { min-width: 0; }
@media (min-width: 960px) { .cart-page { grid-template-columns: 1fr 22rem; } }
.cart-page .h1 { margin-bottom: var(--sp-6); }
.cart-page__aside { gap: var(--sp-4); }
@media (min-width: 960px) { .cart-page__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); margin-top: 5.5rem; } }

.toast {
  position: fixed;
  left: 50%;
  bottom: max(var(--sp-6), env(safe-area-inset-bottom));
  z-index: 500;
  max-width: min(90vw, 28rem);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-pill);
  background: var(--inverse-bg);
  color: var(--inverse-text);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%);
  animation: rise var(--t) var(--ease-out);
}

/* Checkout */
.checkout { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1024px) { .checkout { grid-template-columns: 1.5fr 1fr; } }
.checkout__main .lead { margin-top: var(--sp-4); }
.checkout__mock { margin-top: var(--sp-5); }
.checkout__aside { min-width: 0; }
@media (min-width: 1024px) { .checkout__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.checkout__summary { gap: var(--sp-2); }
.checkout__summary-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); }
.checkout__summary-head a { color: var(--brand-text); }
.lead-form { margin-top: var(--sp-8); }
.form-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field__req { color: var(--danger); }
.field__opt { font-weight: 400; color: var(--text-subtle); font-size: var(--fs-xs); }
.field__error { display: inline-flex; align-items: center; gap: 0.35rem; }
.field__error .icon { width: 0.95rem; height: 0.95rem; flex: none; }
.field--consent { margin-top: var(--sp-6); }

/* Contact page: demo-only fields and labels follow the chosen reason (form[data-type], site.js initLeadType) */
[data-type="contact"] [data-only="demo"], [data-type="demo"] [data-only="contact"] { display: none; }

/* Type-of-business picker (partials/industry-picker.php): inline list without JS, a modal with JS */
.ind-picker__summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); min-height: 3rem; }
.ind-picker__chips { display: contents; margin: 0; padding: 0; list-style: none; }
.ind-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.75rem 0.2rem 0.25rem; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--surface-2); font-size: var(--fs-sm); font-weight: 600; }
.ind-chip .ind-thumb { --s: 1.75rem; border-radius: 50%; }
.ind-picker__open[aria-invalid="true"] { border-color: var(--danger); }
html:not(.js) .ind-picker__summary, html:not(.js) .ind-picker__head .ind-picker__close, html:not(.js) .ind-picker__foot { display: none; }
.ind-picker__lead { margin-top: var(--sp-1); color: var(--text-muted); font-size: var(--fs-sm); }
.ind-picker__groups { display: grid; gap: var(--sp-5); }
.ind-picker__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.ind-picker__legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem var(--sp-2); margin-bottom: var(--sp-2); padding: 0; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.02em; color: var(--text-subtle); }
.ind-picker__mode { font-weight: 500; color: var(--text-subtle); opacity: 0.8; }
.ind-picker__mode::before { content: "·"; margin-right: var(--sp-2); }
.ind-picker__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr)); gap: var(--sp-2); }
.ind-opt { position: relative; min-width: 0; display: flex; align-items: center; gap: var(--sp-2); padding: 0.45rem 0.6rem; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.ind-opt:hover { border-color: var(--border-strong); }
.ind-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ind-opt .ind-thumb { --s: 2.25rem; }
.ind-thumb--plain .icon { width: 1.1rem; height: 1.1rem; color: var(--text-muted); }
.ind-opt__name { flex: 1; min-width: 0; font-size: var(--fs-sm); font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
.ind-opt__check { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; flex: none; border: 1.5px solid var(--border-strong); border-radius: 0.35rem; color: #fff; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.ind-opt__check--radio { border-radius: 50%; }
.ind-opt__check .icon { width: 0.8rem; height: 0.8rem; stroke-width: 3.5; opacity: 0; transform: scale(0.6); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-out); }
.ind-opt:has(input:checked) { border-color: var(--brand-solid); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-solid); }
.ind-opt:has(input:checked) .ind-opt__check { border-color: var(--brand-solid); background: var(--brand-solid); }
.ind-opt:has(input:checked) .ind-opt__check .icon { opacity: 1; transform: none; }
.ind-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.ind-picker__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-4); margin-bottom: var(--sp-5); }
/* modal: head and foot stay put, only the list of types scrolls */
html.js .ind-picker__head { flex: none; margin: 0; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem) clamp(1.25rem, 1rem + 1.5vw, 2rem) var(--sp-4); border-bottom: 1px solid var(--border); }
html.js .ind-picker__groups { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--sp-5) clamp(1.25rem, 1rem + 1.5vw, 2rem); }
html:not(.js) .ind-picker__panel { margin-top: var(--sp-3); }
html:not(.js) .ind-picker__head .h4 { display: none; }
/* modal */
html.js .ind-picker__panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--sp-4);
  background: rgb(10 10 14 / 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility 0s linear var(--t);
}
html.js .ind-picker__panel.is-open { opacity: 1; visibility: visible; transition: opacity var(--t) var(--ease); }
html.js .ind-picker__box {
  width: min(46rem, 100%);
  max-height: min(88vh, 46rem);
  max-height: min(88dvh, 46rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(0.98);
  transition: transform var(--t) var(--ease-out);
}
html.js .ind-picker__panel.is-open .ind-picker__box { transform: none; }
.ind-picker__foot { flex: none; display: flex; justify-content: flex-end; padding: var(--sp-4) clamp(1.25rem, 1rem + 1.5vw, 2rem); padding-bottom: max(var(--sp-4), env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--surface); }
@media (max-width: 599px) {
  html.js .ind-picker__panel { place-items: end stretch; padding: 0; }
  html.js .ind-picker__box { width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .ind-picker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-opt { padding: 0.4rem 0.5rem; gap: 0.4rem; }
  .ind-opt .ind-thumb { --s: 2rem; }
}
@media (prefers-reduced-motion: reduce) { html.js .ind-picker__panel, html.js .ind-picker__box { transition: none; } }
.check a { color: var(--brand-text); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.checkout__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-top: var(--sp-8); }
.pay-soon { position: relative; display: inline-flex; }
.pay-soon .btn[disabled] { opacity: 0.55; pointer-events: none; }
.pay-soon__badge { position: absolute; top: -0.6rem; right: -0.5rem; }
#pay-note { margin-top: var(--sp-3); }
.alert { display: flex; gap: var(--sp-3); margin-top: var(--sp-6); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); font-size: var(--fs-sm); }
.alert:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.alert > .icon { flex: none; margin-top: 0.15rem; }
.alert ul { margin: var(--sp-2) 0 0; padding-left: 1.2em; }
.alert a { color: inherit; font-weight: 600; }
.alert--error { background: rgb(196 22 47 / 0.08); color: var(--danger); border: 1px solid rgb(196 22 47 / 0.25); }

/* Thank-you */
.thanks__icon { display: inline-grid; place-items: center; width: 4.5rem; height: 4.5rem; margin-bottom: var(--sp-6); border-radius: 50%; background: var(--success-soft); color: var(--success); }
.thanks__icon .icon { width: 2.25rem; height: 2.25rem; }
.thanks .lead { margin-top: var(--sp-4); }
.thanks__next { margin: var(--sp-10) auto 0; max-width: 34rem; text-align: left; }
.steps { display: grid; gap: var(--sp-4); margin: var(--sp-2) 0 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: var(--sp-3); align-items: flex-start; color: var(--text-muted); font-size: var(--fs-sm); }
.steps__n { display: grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); font-weight: 700; font-size: var(--fs-xs); }
.thanks__meanwhile { margin-top: var(--sp-10); color: var(--text-muted); font-size: var(--fs-sm); }
.thanks .btn-row { margin-top: var(--sp-3); }

/* 11e. Apps & industries ---------------------------------------------------- */
.eyebrow .icon { width: 1.05rem; height: 1.05rem; }
.group-title { margin-bottom: var(--sp-6); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--border); }
.app-card { height: 100%; }

/* "Connected" hub diagram: back office in the centre, apps on a ring */
.hub-diagram { position: relative; width: min(100%, 34rem); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.hub-diagram__orbit { position: absolute; z-index: 1; inset: 0; border: 1px dashed var(--border-strong); border-radius: 50%; margin: 12%; pointer-events: none; }   /* the ring lies over the centre: only its nodes take the pointer, so the centre gets hover and clicks */
.hub-diagram__node { pointer-events: auto; }   /* the ring runs through the nodes' centres (38% out); long names wrap, so every node stays inside the box */
.hub-diagram__orbit li {
  --a: calc(360deg / var(--n) * var(--i) - 90deg);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: rotate(var(--a)) translate(38cqi) rotate(calc(-1 * var(--a)));
}
.hub-diagram__node {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45em 0.8em;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: min(var(--fs-xs), 2.35cqi);   /* scales with the diagram, so the ring and the names keep their layout at any width */
  font-weight: 600;
  line-height: 1.2;
  width: max-content;
  max-width: 12.5em;
  text-wrap: balance;
  text-decoration: none;
  transform: translate(-50%, -50%);
  transition: border-color var(--t-fast) var(--ease), transform var(--t) var(--ease);
}
.hub-diagram__orbit li:first-child .hub-diagram__node { max-width: 15.6em; }   /* the top node has room for a long name on two lines */
.hub-diagram__orbit li:nth-child(4) .hub-diagram__node { max-width: 13.75em; }   /* lower right: two lines, not three */
.hub-diagram__node:hover { border-color: var(--brand); transform: translate(-50%, -50%) scale(1.05); }
.hub-diagram__node .icon { width: 0.95rem; height: 0.95rem; color: var(--brand-text); }
.hub-diagram__center {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  justify-items: center;
  gap: var(--sp-2);
  width: 38%;
  border-radius: 50%;
  aspect-ratio: 1;
  align-content: center;
  perspective: 60rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  text-decoration: none;
  font-weight: 650;
  font-size: var(--fs-sm);
  transform: translate(-50%, -50%);
}
.hub-diagram__center img { width: 62%; height: auto; }
/* the centre is a coin: hover or focus turns it over (round, white front with the logo; the back office icon on the
   back), and it is a link to the back office page */
.hub-coin { position: absolute; inset: 0; border-radius: 50%; transform-style: preserve-3d; transition: transform 0.9s cubic-bezier(0.34, 1.3, 0.5, 1); }
.hub-diagram__center:hover .hub-coin, .hub-diagram__center:focus-visible .hub-coin { transform: rotateY(180deg); }
.hub-diagram__center:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.hub-coin__face { position: absolute; inset: 0; display: grid; justify-items: center; align-content: center; gap: var(--sp-2); padding: 7% 4%; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), inset 0 -6px 14px rgb(20 20 40 / 0.06); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.hub-coin__face--back { transform: rotateY(180deg); }
.hub-coin__face--back img { width: 64%; filter: drop-shadow(0 8px 12px rgb(20 20 40 / 0.18)); }
@media (prefers-reduced-motion: reduce) { .hub-coin { transition-duration: 0.01s; } }
/* a soft pink glow around the centre that breathes: it grows and fades slowly, then comes back (a shadow, so it
   stays behind the white disc) */
@keyframes hub-breathe {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 6px var(--brand-soft), 0 0 18px 8px color-mix(in srgb, var(--brand-soft) 60%, transparent); }
  50% { box-shadow: var(--shadow-lg), 0 0 0 16px var(--brand-soft), 0 0 46px 22px color-mix(in srgb, var(--brand-soft) 80%, transparent); }
}
.hub-diagram__center { box-shadow: var(--shadow-lg), 0 0 0 10px var(--brand-soft); }
@media (prefers-reduced-motion: no-preference) { .hub-diagram__center { animation: hub-breathe 4.8s ease-in-out infinite; } }
@media (max-width: 559px) {
  .hub-diagram { aspect-ratio: auto; }
  .hub-diagram__orbit { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); margin: var(--sp-6) 0 0; border: 0; }
  .hub-diagram__orbit li { position: static; transform: none; }
  .hub-diagram__node, .hub-diagram__node:hover { transform: none; }
  .hub-diagram__node, .hub-diagram__orbit li .hub-diagram__node { font-size: var(--fs-xs); max-width: none; }
  .hub-diagram__center { position: relative; left: auto; top: auto; transform: none; width: 9rem; margin: 0 auto; }
}

/* App page */
.app-hero .h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); }
.app-hero__tagline { margin-top: var(--sp-3); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.app-hero .lead { margin-top: var(--sp-5); }
.app-hero__visual { display: grid; place-items: center; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: var(--r-2xl); background: var(--bg-subtle); min-height: 22rem; }
.app-hero__visual .mock--phone { width: min(17rem, 75%); }
.app-hero__visual--wide .mock { width: 100%; }
.app-hero__visual--video { padding: 0; min-height: 0; background: none; }
.app-hero__video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); }
.benefit { display: grid; gap: var(--sp-3); align-content: start; padding: var(--sp-6); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); }
.benefit__n { font-size: var(--fs-sm); font-weight: 750; color: var(--brand-text); letter-spacing: 0.04em; }
.feature-list { display: grid; gap: var(--sp-6) var(--sp-10); grid-template-columns: repeat(auto-fill, minmax(min(100%, max(16rem, (100% - 2 * var(--sp-10)) / 3)), 1fr)); }
.feature-list li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.feature-list .icon { flex: none; width: 1.5rem; height: 1.5rem; padding: 0.25rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); stroke-width: 2.5; }
.feature-list__title { font-size: var(--fs-md); font-weight: 650; letter-spacing: -0.01em; }
.feature-list p { margin-top: var(--sp-1); color: var(--text-muted); font-size: var(--fs-sm); }
.app-ind { margin-top: var(--sp-5); }
.app-ind__all { margin-top: var(--sp-4); }
.app-ind .chip .icon, .ind-others .chip .icon { width: 1rem; height: 1rem; color: var(--brand-text); }
.app-price { gap: var(--sp-3); }
.app-price .btn-row { margin-top: var(--sp-3); }

/* Industry cards & page */
.ind-card { padding: 0; overflow: hidden; gap: 0; height: 100%; }
.ind-card__media { aspect-ratio: 4 / 3; border-radius: 0; }
.ind-card__media img { transition: transform 1.2s var(--ease-out); }
.ind-card:hover .ind-card__media img { transform: scale(1.05); }
.ind-card__body { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); flex: 1; }
.ind-card__body .link-arrow { margin-top: auto; padding-top: var(--sp-2); font-size: var(--fs-sm); }
/* industry icon: overlaps the photo's bottom edge (cards) or corner (industry page hero) */
.ind-card__visual, .ind-hero__visual { position: relative; }
.ind-card__badge, .ind-hero__badge { position: absolute; z-index: 1; border: 3px solid var(--surface); box-shadow: var(--shadow-md); }
.ind-card__badge { --s: 3.25rem; left: var(--sp-5); bottom: -1.6rem; }
.ind-card__visual + .ind-card__body { padding-top: calc(var(--sp-5) + 1.4rem); }
.ind-card:hover .ind-card__badge { transform: translateY(-3px) rotate(-4deg); }
.ind-hero__badge { --s: clamp(4.5rem, 3.6rem + 2.6vw, 6.5rem); left: clamp(-1.5rem, -2vw, -0.75rem); bottom: clamp(-1.5rem, -2vw, -1rem); border-width: 4px; border-color: var(--bg); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: no-preference) {
  .ind-hero__badge { animation: badge-pop 700ms var(--ease-out) 300ms both; }
}
@keyframes badge-pop { from { opacity: 0; transform: scale(0.6) rotate(-12deg); } }
.eyebrow__thumb { --s: 1.6rem; }
/* product (app) icons: same tiles, sized for cards, list rows and the hub diagram */
.card__thumb { --s: 3.25rem; }
.card--link:hover .card__thumb, .app-row:hover .card__thumb { transform: scale(1.06) rotate(-3deg); }
.hub__thumb { --s: 2em; flex: none; border-radius: 50%; }
.hub-diagram__node:has(.hub__thumb) { padding: 0.35em 0.9em 0.35em 0.4em; gap: 0.5em; }   /* the icon keeps a small gap from the pill's border */
.integ__thumb { --s: 4rem; }
.ind-hero .lead { margin-top: var(--sp-5); }
.ind-hero__photo { aspect-ratio: 4 / 3; border-radius: var(--r-2xl); }
.ind-addons { justify-content: flex-start; margin-top: var(--sp-6); }
.ind-others { margin-top: var(--sp-4); }

/* Devices: app screens (public/assets/img/screens) in frames drawn here, partials/device.php. Sizes in cqi, so the
   frame scales with the width of the device; the parent sets that width. */
.device { position: relative; margin: 0; container-type: inline-size; }
.device__body { position: relative; }
.device__screen { position: relative; overflow: hidden; background: #0d0e10; }
.device__screen img { display: block; width: 100%; height: auto; }
.device .screen--dark { display: none; }
:root[data-theme="dark"] .device .screen--light { display: none; }
:root[data-theme="dark"] .device .screen--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .device .screen--light { display: none; }
  :root:not([data-theme]) .device .screen--dark { display: block; }
}
.device--phone .device__body, .device--handheld .device__body { filter: drop-shadow(0 28px 34px rgb(0 0 0 / 0.28)) drop-shadow(0 2px 4px rgb(0 0 0 / 0.2)); }
/* phone: dark bezel, dynamic island */
.device--phone .device__body { padding: 2.8cqi; border-radius: 14cqi; background: linear-gradient(150deg, #34363c, #0f1013 60%); box-shadow: inset 0 0 0 0.7cqi #4a4d55; }
.device--phone .device__screen { border-radius: 11.4cqi; }
.device--phone .device__body::after { content: ""; position: absolute; left: 50%; top: 5.4cqi; width: 27cqi; height: 7.6cqi; border-radius: 4cqi; background: #050506; transform: translateX(-50%); }
/* handheld POS (Sunmi V3 style): printer on top with a receipt coming out */
.device--handheld { padding-top: 22cqi; }
.device--handheld .device__body { padding: 21cqi 3.2cqi 10cqi; border-radius: 10cqi 10cqi 12cqi 12cqi; background: linear-gradient(160deg, #3b3e45, #1b1c20 55%); box-shadow: inset 0 0 0 0.6cqi #50535b; }
.device--handheld .device__screen { border-radius: 3cqi; }
.device__printer { position: absolute; left: 3.2cqi; right: 3.2cqi; top: 3.2cqi; height: 15cqi; border-radius: 7cqi 7cqi 2cqi 2cqi; background: linear-gradient(#2a2c31, #1f2125); box-shadow: inset 0 -0.6cqi 0 #3d4047; }
.device__printer::after { content: ""; position: absolute; left: 14%; right: 14%; top: 4cqi; height: 1.4cqi; border-radius: 1cqi; background: #08090a; }
.device__paper {
  position: absolute; left: 18%; right: 18%; bottom: calc(100% - 4.6cqi); height: 30cqi;
  background: #fbfaf6 linear-gradient(transparent 22%, #d9d7d0 22% 24%, transparent 24% 36%, #d9d7d0 36% 38%, transparent 38% 50%, #d9d7d0 50% 52%, transparent 52% 64%, #b9b6ad 64% 68%, transparent 68%) 50% 0 / 72% 100% no-repeat;
  clip-path: polygon(0 3cqi, 4% 0, 8% 3cqi, 12% 0, 16% 3cqi, 20% 0, 24% 3cqi, 28% 0, 32% 3cqi, 36% 0, 40% 3cqi, 44% 0, 48% 3cqi, 52% 0, 56% 3cqi, 60% 0, 64% 3cqi, 68% 0, 72% 3cqi, 76% 0, 80% 3cqi, 84% 0, 88% 3cqi, 92% 0, 96% 3cqi, 100% 0, 100% 100%, 0 100%);
}
/* self-service kiosk: white housing on a column and base (dark housing in the dark theme) */
.device--kiosk { --k-body: linear-gradient(160deg, #ffffff, #e7e9ee); --k-edge: #d6d9df; --k-col: linear-gradient(90deg, #c9ccd3, #f4f5f7 45%, #c2c5cc); --k-foot: linear-gradient(#dfe1e6, #b9bcc4); }
:root[data-theme="dark"] .device--kiosk { --k-body: linear-gradient(160deg, #2f3238, #1b1d21); --k-edge: #3d4047; --k-col: linear-gradient(90deg, #1b1d21, #3a3d44 45%, #17191c); --k-foot: linear-gradient(#34373d, #1b1d21); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .device--kiosk { --k-body: linear-gradient(160deg, #2f3238, #1b1d21); --k-edge: #3d4047; --k-col: linear-gradient(90deg, #1b1d21, #3a3d44 45%, #17191c); --k-foot: linear-gradient(#34373d, #1b1d21); }
}
.device--kiosk .device__body { padding: 4cqi 4cqi 9cqi; border-radius: 5cqi; background: var(--k-body); box-shadow: inset 0 0 0 0.5cqi var(--k-edge), 0 30px 50px -24px rgb(0 0 0 / 0.4), 0 2px 6px rgb(0 0 0 / 0.12); }
.device--kiosk .device__body::after { content: ""; position: absolute; left: 50%; bottom: 3cqi; width: 30cqi; height: 2.6cqi; border-radius: 2cqi; background: #2b2d33; transform: translateX(-50%); box-shadow: inset 0 0.5cqi 0 #000; }
.device--kiosk .device__screen { border-radius: 1.5cqi; }
.device--kiosk .device__stand { display: block; position: relative; width: 22%; height: 30cqi; margin: 0 auto 5cqi; background: var(--k-col); }
.device--kiosk .device__stand::after { content: ""; position: absolute; left: 50%; top: 100%; width: 260%; height: 5cqi; border-radius: 50%; background: var(--k-foot); transform: translate(-50%, -50%); box-shadow: 0 10px 20px -8px rgb(0 0 0 / 0.35); }
/* touch POS monitor on a stand (front view): neck and a wide base */
.device--monitor .device__body { padding: 1.8cqi 1.8cqi 2.6cqi; border-radius: 2cqi; background: linear-gradient(170deg, #2a2c31, #111215 40%); box-shadow: inset 0 0 0 0.25cqi #3a3d44, 0 26px 44px -24px rgb(0 0 0 / 0.5); }
.device--monitor .device__body::after { content: ""; position: absolute; left: 50%; bottom: 0.9cqi; width: 0.9cqi; height: 0.9cqi; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0.8cqi #3ddc84; transform: translateX(-50%); opacity: 0.8; }
.device--monitor .device__screen { border-radius: 0.6cqi; }
.device--monitor .device__stand { display: block; position: relative; width: 20%; height: 9cqi; margin: 0 auto; background: linear-gradient(90deg, #1c1d21, #3a3d44 50%, #1c1d21); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.device--monitor .device__stand::after { content: ""; position: absolute; left: 50%; top: 100%; width: 260%; height: 3.4cqi; border-radius: 1cqi 1cqi 2cqi 2cqi; background: linear-gradient(#3a3d44, #16171a); transform: translateX(-50%); box-shadow: 0 12px 22px -10px rgb(0 0 0 / 0.45); }
.device--monitor { padding-bottom: 3.4cqi; }
/* tablet, landscape */
.device--tablet .device__body { padding: 3cqi; border-radius: 4.4cqi; background: linear-gradient(160deg, #2e3035, #121316 50%); box-shadow: inset 0 0 0 0.35cqi #44474e, 0 26px 44px -24px rgb(0 0 0 / 0.5); }
.device--tablet .device__body::before { content: ""; position: absolute; left: 50%; top: 1.15cqi; width: 0.8cqi; height: 0.8cqi; border-radius: 50%; background: #2a2c31; transform: translateX(-50%); }
.device--tablet .device__screen { border-radius: 1.4cqi; }
/* wall or counter screen (KDS, order board) */
.device--tv .device__body { padding: 1.1cqi; border-radius: 1.4cqi; background: #101114; box-shadow: inset 0 0 0 0.2cqi #34363c, 0 26px 44px -24px rgb(0 0 0 / 0.5); }
.device--tv .device__screen { border-radius: 0.3cqi; }
.device--tv .device__stand { display: block; width: 30%; height: 4cqi; margin: -0.2cqi auto 0; background: linear-gradient(#2a2c31, #121317); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }

/* several screens in one device take turns as steps (site.js initDeviceTours) */
.device__slide { display: block; opacity: 0; transition: opacity 600ms var(--ease); }
.device__slide.is-on { opacity: 1; }
.device__slide + .device__slide { position: absolute; inset: 0; }
html:not(.js) .device__slide + .device__slide { display: none; }
html:not(.js) .device__slide:first-child { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .device__slide { transition: none; } }
.device-tour { display: contents; }
.device-tour__nav { display: grid; justify-items: center; gap: var(--sp-2); margin-top: var(--sp-4); }
.device-tour__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.device-tour__dot { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text-muted); font: inherit; font-size: var(--fs-xs); font-weight: 700; cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.device-tour__dot:hover { border-color: var(--border-strong); color: var(--text); }
.device-tour__dot[aria-current] { border-color: transparent; background: linear-gradient(90deg, #ff3656, #ff6f86); color: #fff; }
.device-tour__dot:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.device-tour__cap { min-height: 1.5em; font-size: var(--fs-sm); font-weight: 600; text-align: center; }

/* where the devices sit */
.app-hero__visual--device { padding: clamp(1.25rem, 0.5rem + 2.5vw, 2.5rem) clamp(0.75rem, 0.25rem + 1.5vw, 1.5rem); }
.app-hero__visual .device--phone { width: min(13.5rem, 58%); }
.app-hero__visual .device--handheld { width: min(12.5rem, 54%); }
.app-hero__visual .device--kiosk { width: min(15rem, 58%); }
.app-hero__visual .device--monitor, .app-hero__visual .device--tablet, .app-hero__visual .device--tv { width: 100%; }
.apps-panel__visual .device--phone { width: min(14rem, 62%); }
.apps-panel__visual .device--monitor, .apps-panel__visual .device--tablet, .apps-panel__visual .device--tv { width: 100%; }
.hero__phone .device, .feature__mock .device { width: 100%; }
/* app page: the app up close, one to three devices side by side */
.app-screens { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: clamp(1.5rem, 1rem + 3vw, 4rem); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: var(--r-2xl); background: var(--bg-subtle); }
.app-screens__item { display: grid; justify-items: center; gap: var(--sp-4); margin: 0; }
.app-screens__item:has(.device--phone), .app-screens__item:has(.device--handheld) { width: min(14rem, 64vw); }
.app-screens__item:has(.device--kiosk) { width: min(16rem, 70vw); }
.app-screens__item:has(.device--monitor), .app-screens__item:has(.device--tablet), .app-screens__item:has(.device--tv) { flex: 1 1 30rem; max-width: 52rem; }
.app-screens__item .device { width: 100%; }
.app-screens__cap { text-align: center; font-size: var(--fs-sm); color: var(--text-muted); }

/* App showcase (partials/showcase.php): real screenshots behind a 3D cartoon device whose display is a transparent
   window (--sx/--sy/--sw/--sh, from public/assets/img/devices/manifest.json). The device floats gently; the screens
   take turns and the progress line of the current one fills while it shows (site.js initShowcases). */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--sp-3); width: 100%; margin: 0; --showcase-time: 4.8s; }
.showcase__float { position: relative; width: 100%; }
.showcase__screen { position: absolute; left: calc(var(--sx) - 0.4%); top: calc(var(--sy) - 0.4%); width: calc(var(--sw) + 0.8%); height: calc(var(--sh) + 0.8%); overflow: hidden; border-radius: var(--srx, 2%) / var(--sry, 2.6%); background: #f3f4f6; }   /* a hair under the bezel: no gap at the window edge; corners as measured on the device */
.showcase__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms var(--ease); }
.showcase__slide.is-on { opacity: 1; }
/* the touch POS: the screenshot sits a little inside the display, on its own white (dark: near black) glass, with
   rounded corners, so it never meets the bezel edge or its curved corners head on */
.showcase--pos-monitor .showcase__screen { --inset: 2.4%; background: #fff; }
.showcase--pos-monitor .showcase__slide { inset: calc(var(--inset) * 1.45) var(--inset); border-radius: 1.6% / 2.4%; overflow: hidden; }
:root[data-theme="dark"] .showcase--pos-monitor .showcase__screen { background: #141518; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .showcase--pos-monitor .showcase__screen { background: #141518; } }
.showcase__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.showcase .shot--dark, .showcase .dev--dark { display: none; }
:root[data-theme="dark"] .showcase .shot--light, :root[data-theme="dark"] .showcase .dev--light { display: none; }
:root[data-theme="dark"] .showcase .shot--dark, :root[data-theme="dark"] .showcase .dev--dark { display: block; }
:root[data-theme="dark"] .showcase__screen { background: #1d1e22; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .showcase .shot--light, :root:not([data-theme]) .showcase .dev--light { display: none; }
  :root:not([data-theme]) .showcase .shot--dark, :root:not([data-theme]) .showcase .dev--dark { display: block; }
  :root:not([data-theme]) .showcase__screen { background: #1d1e22; }
}
/* two pictures (a white and a black kiosk): each its own window and shape, the theme picks one */
.showcase--twin { --sx: var(--lsx); --sy: var(--lsy); --sw: var(--lsw); --sh: var(--lsh); --srx: var(--lsrx, 2%); --sry: var(--lsry, 2.6%); --ar: var(--lar); }
.showcase--twin .showcase__float { aspect-ratio: var(--ar); }
:root[data-theme="dark"] .showcase--twin { --sx: var(--dsx); --sy: var(--dsy); --sw: var(--dsw); --sh: var(--dsh); --srx: var(--dsrx, 2%); --sry: var(--dsry, 2.6%); --ar: var(--dar); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .showcase--twin { --sx: var(--dsx); --sy: var(--dsy); --sw: var(--dsw); --sh: var(--dsh); --srx: var(--dsrx, 2%); --sry: var(--dsry, 2.6%); --ar: var(--dar); } }
.showcase--twin .showcase__device { height: 100%; object-fit: contain; }
.showcase__device { position: relative; z-index: 1; display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }
@keyframes showcase-float {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50% { transform: translateY(-2%) rotate(0.5deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .showcase__float { animation: showcase-float 7s ease-in-out infinite; }
  .showcase.is-paused .showcase__float { animation-play-state: paused; }
}
.showcase__foot { display: grid; justify-items: center; gap: var(--sp-2); }
.showcase__bars { display: flex; gap: 0.4rem; }
.showcase__bar { position: relative; width: clamp(1.75rem, 1.4rem + 1vw, 2.75rem); height: 1.25rem; padding: 0; border: 0; background: none; cursor: pointer; }
.showcase__bar::before, .showcase__bar i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; }
.showcase__bar::before { background: var(--border-strong); opacity: 0.6; }
.showcase__bar i { background: linear-gradient(90deg, #ff3656, #ff6f86); transform: scaleX(0); transform-origin: left center; }
.showcase__bar.is-done i { transform: scaleX(1); }
.showcase__bar[aria-current] i { animation: showcase-fill var(--showcase-time) linear forwards; }
.showcase.is-paused .showcase__bar[aria-current] i { animation-play-state: paused; }
.showcase__bar:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
@keyframes showcase-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .showcase__slide { transition: none; }
  .showcase__bar[aria-current] i { animation: none; transform: scaleX(1); }
}
.showcase__cap { min-height: 1.5em; font-size: var(--fs-sm); font-weight: 600; text-align: center; }
html:not(.js) .showcase__bars { display: none; }

/* where showcases sit */
.app-hero__visual--showcase { padding: clamp(1rem, 0.5rem + 2vw, 2rem); }
.app-screens__item:has(.showcase) { flex: 1 1 26rem; max-width: 40rem; }
.app-screens__item:has(.showcase--phone) { flex: 0 1 16rem; }
.app-screens__item:has(.showcase--kiosk) { flex: 0 1 21rem; }   /* the floor kiosk: a bit wider than a phone, so its screen reads well */
.showcase--kiosk { max-width: 21rem; margin-inline: auto; }
.apps-panel__visual .showcase { max-width: 36rem; }
.apps-panel__visual .showcase--phone { max-width: 14rem; }
.app-hero__visual .showcase--phone { max-width: 15rem; }
/* the Tap handheld POS: taller and narrower than a phone, so a little narrower to keep its height in check */
.showcase--tap-pos { max-width: 13rem; margin-inline: auto; }
.app-screens__item:has(.showcase--tap-pos) { flex: 0 1 13rem; }
/* small placement (home hero): the lines still drive the turns but are not shown */
/* small placements: the lines stay, but thin, short and faint, and a little stronger on hover; still clickable */
.showcase--mini { gap: var(--sp-2); }
.showcase--mini .showcase__bars { gap: 0.25rem; opacity: 0.7; transition: opacity var(--t) var(--ease); }
.showcase--mini:hover .showcase__bars, .showcase--mini .showcase__bars:focus-within { opacity: 1; }
.showcase--mini .showcase__bar { width: clamp(0.9rem, 0.7rem + 0.6vw, 1.4rem); height: 0.9rem; }
.showcase--mini .showcase__bar::before, .showcase--mini .showcase__bar i { height: 2px; margin-top: -1px; }
.showcase--mini .showcase__bar::before { opacity: 0.45; }
.hero__phone .showcase__float { animation: none; }   /* the hero phone has its own entrance; no float on top */

/* New mockups */
.mock-tap { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.mock--receipt { width: min(17rem, 80%); padding: 1.4em 1.3em 1.6em; background: #fffdf8; color: #17171a; border-radius: 0.4em; box-shadow: var(--shadow-lg); display: grid; gap: 0.45em; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: clamp(9px, 0.45rem + 0.3vw, 12px);
  -webkit-mask: radial-gradient(circle 0.45em at bottom, transparent 98%, #000) bottom / 1.1em 100% repeat-x; mask: radial-gradient(circle 0.45em at bottom, transparent 98%, #000) bottom / 1.1em 100% repeat-x; }
.mock--receipt .mock-pos__line { color: #55575e; }
.mock-receipt__head { text-align: center; font-weight: 700; padding-bottom: 0.5em; border-bottom: 1px dashed #cfcdca; }
.mock-receipt__qr { display: grid; place-items: center; margin-top: 0.6em; }
.mock-receipt__qr span { width: 5em; height: 5em; background: conic-gradient(#17171a 25%, transparent 0 50%, #17171a 0 75%, transparent 0) 0 0 / 1em 1em; border: 0.35em solid #17171a; }
.mock-receipt__mark { text-align: center; font-size: 0.9em; color: #55575e; }
.mock-receipt__sent { text-align: center; font-weight: 700; color: #0d7f3f; }

.mock--kiosk { width: min(15rem, 70%); display: grid; justify-items: center; }
.mock-kiosk__screen { width: 100%; padding: 0.9em; border-radius: 1.2em; border: 0.5em solid #121214; background: var(--m-bg); box-shadow: var(--shadow-lg); display: grid; gap: 0.8em; }
.mock-kiosk__screen .mock-pos__cats { flex-wrap: wrap; }
.mock-kiosk__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.mock-kiosk__item { display: grid; gap: 0.3em; padding: 0.5em; border-radius: 0.7em; background: var(--m-bg2); }
.mock-kiosk__img { display: block; aspect-ratio: 4 / 3; border-radius: 0.5em; background: linear-gradient(135deg, #ffd9b0, #ff9a76); }
.mock-kiosk__img--1 { background: linear-gradient(135deg, #e8d5c0, #b98b5e); }
.mock-kiosk__img--2 { background: linear-gradient(135deg, #f5e6a8, #e0b84a); }
.mock-kiosk__img--3 { background: linear-gradient(135deg, #f7c9d4, #e27b97); }
.mock-kiosk__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; font-weight: 700; }
.mock-kiosk__bar .mock-pos__pay { padding: 0.55em 0.8em; }
.mock-kiosk__stand { width: 18%; height: 3.5em; background: linear-gradient(#2a2a30, #121214); border-radius: 0 0 0.4em 0.4em; }

.mock-menu { display: grid; gap: 0.6em; margin-top: 0.8em; }
.mock-menu__row { display: grid; grid-template-columns: 3.4em 1fr auto; gap: 0.6em; align-items: center; padding: 0.5em; border-radius: 0.8em; background: var(--m-bg2); }
.mock-menu__row .mock-kiosk__img { aspect-ratio: 1; }
.mock-menu__text { display: grid; gap: 0.15em; }
.mock-menu__text em { font-style: normal; color: var(--m-muted); font-size: 0.9em; }
.mock-menu__price { font-weight: 700; }

.mock-caller { display: grid; gap: 0.7em; max-width: 26rem; }
.mock-caller__ring { display: flex; align-items: center; gap: 0.6em; font-weight: 700; color: #0d7f3f; }
.mock-caller__pulse { width: 0.8em; height: 0.8em; border-radius: 50%; background: #12a150; box-shadow: 0 0 0 0.35em rgb(18 161 80 / 0.2); }
.mock-caller__card { display: flex; gap: 0.8em; align-items: center; padding: 0.9em; border-radius: 0.9em; background: var(--m-bg2); }
.mock-caller__avatar { display: grid; place-items: center; width: 2.8em; height: 2.8em; border-radius: 50%; background: #ff3656; color: #fff; font-weight: 700; font-size: 1.1em; }
.mock-caller__name { font-weight: 700; font-size: 1.15em; }
.mock-caller__meta { color: var(--m-muted); }

.mock-board { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.mock-board__col { display: grid; gap: 0.6em; align-content: start; padding: 1em; border-radius: 1em; background: var(--m-bg2); }
.mock-board__head { font-weight: 700; color: var(--m-muted); letter-spacing: 0.04em; }
.mock-board__num { font-size: 2.2em; font-weight: 800; letter-spacing: -0.02em; color: var(--m-muted); }
.mock-board__col--ready .mock-board__num { color: #4cd38a; }
.mock-board__num.is-new { color: #fff; background: #12a150; border-radius: 0.3em; padding: 0 0.3em; justify-self: start; }

.mock-delivery { display: grid; gap: 0.6em; }
.mock-delivery__map { position: relative; height: 8em; border-radius: 0.9em; background:
  linear-gradient(90deg, transparent 47%, var(--m-line) 47% 49%, transparent 49%) 0 0 / 4em 100%,
  linear-gradient(transparent 47%, var(--m-line) 47% 49%, transparent 49%) 0 0 / 100% 3em,
  var(--m-bg2); overflow: hidden; }
.mock-delivery__pin { position: absolute; width: 1em; height: 1em; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #ff3656; }
.mock-delivery__pin--a { left: 18%; top: 62%; }
.mock-delivery__pin--b { left: 72%; top: 22%; background: #2f6fed; }
.mock-delivery__route { position: absolute; left: 20%; top: 30%; width: 54%; height: 38%; border: 0.25em dashed #ff3656; border-left: 0; border-bottom: 0; border-radius: 0 1em 0 0; }
.mock-delivery__row { display: grid; grid-template-columns: 4em 1fr auto auto; gap: 0.6em; align-items: center; padding: 0.55em 0.7em; border-radius: 0.7em; background: var(--m-bg2); }
.mock-delivery__state { padding: 0.2em 0.6em; border-radius: 1em; font-weight: 700; font-size: 0.9em; }
.mock-delivery__state.is-on_way { background: rgb(47 111 237 / 0.15); color: #2f6fed; }
.mock-delivery__state.is-waiting { background: rgb(231 154 11 / 0.18); color: #b47600; }
.mock-delivery__state.is-delivered { background: rgb(18 161 80 / 0.15); color: #0d7f3f; }
.mock-delivery__min { color: var(--m-muted); }

/* 11f. Help center & FAQ --------------------------------------------------- */
.help-hero { padding-block: clamp(1.5rem, 1rem + 3vw, 4rem) var(--sp-8); text-align: center; }
.help-hero .lead { margin: var(--sp-4) auto 0; }
.help-search { position: relative; display: flex; gap: var(--sp-2); max-width: 40rem; margin: var(--sp-8) auto 0; padding: var(--sp-2); border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow-md); }
.help-search:focus-within { border-color: var(--brand-solid); box-shadow: 0 0 0 4px rgb(255 54 86 / 0.18), var(--shadow-md); }
.help-search__icon { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--text-subtle); pointer-events: none; }
.help-search__input { flex: 1; min-width: 0; padding: 0.6rem 0.75rem 0.6rem 2.75rem; border: 0; background: none; font-size: 1rem; color: var(--text); }
.help-search__input:focus { outline: none; }
.help-search__input::-webkit-search-cancel-button { cursor: pointer; }
.help-search__btn { flex: none; }
@media (max-width: 479px) { .help-search__btn { padding-inline: 1rem; } }
.help-app__search .help-search { margin-left: 0; }
.help-app { height: 100%; }

.search-results { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); }
.search-result { display: grid; gap: var(--sp-2); justify-items: start; padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t) var(--ease); }
.search-result:hover { border-color: transparent; box-shadow: var(--shadow-md); }
.search-result__title { font-weight: 650; font-size: var(--fs-lg); }
.search-result__text { color: var(--text-muted); font-size: var(--fs-sm); }
.help-none { margin-top: var(--sp-3); }

.topic-grid { display: grid; gap: var(--sp-8) var(--sp-10); grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.topic__title { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); font-size: var(--fs-lg); letter-spacing: -0.01em; }
.topic__title .card__icon { width: 2.25rem; height: 2.25rem; }
.topic__title .card__icon .icon { width: 1.15rem; height: 1.15rem; }
.guide-list { display: grid; gap: var(--sp-2); }
.guide-link { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4); border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); text-decoration: none; transition: border-color var(--t-fast) var(--ease), transform var(--t) var(--ease); }
.guide-link:hover { border-color: var(--text); }
.guide-link__icon { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: var(--r-sm); background: var(--surface-2); color: var(--text-muted); }
.guide-link__icon .icon { width: 1.1rem; height: 1.1rem; }
.guide-link__text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.guide-link__title { font-weight: 600; line-height: 1.35; }
.guide-link__meta { font-size: var(--fs-xs); color: var(--text-subtle); }
.guide-link__arrow { flex: none; color: var(--text-subtle); transition: transform var(--t) var(--ease), color var(--t) var(--ease); }
.guide-link:hover .guide-link__arrow { transform: translateX(3px); color: var(--brand-text); }
.help-aside { gap: var(--sp-3); }
@media (min-width: 900px) { .help-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Article layout: TOC + content */
.doc { display: grid; gap: var(--sp-10); align-items: start; }
@media (min-width: 1024px) { .doc { grid-template-columns: 15rem minmax(0, 44rem); justify-content: center; gap: var(--sp-16); } }
.doc__toc, .doc__main { min-width: 0; }   /* grid items: let wide tables scroll inside instead of widening the page */
/* desktop: the contents column fills the screen height under the header and scrolls on its own (help.js keeps the current entry in view) */
@media (min-width: 1024px) {
  .doc__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); order: 0; max-height: calc(100vh - var(--header-h) - 3rem); max-height: calc(100dvh - var(--header-h) - 3rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border) transparent; padding-right: var(--sp-2); }
  .doc__toc .toc__title { position: sticky; top: 0; z-index: 1; margin: 0; padding-bottom: var(--sp-3); background: var(--bg); }
}
@media (max-width: 1023px) { .doc__toc { order: 1; } .doc__main { order: 0; } .doc__toc .toc { padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--r-lg); } }
.toc__title { font-size: var(--fs-xs); font-weight: 650; color: var(--text-subtle); letter-spacing: 0.02em; margin-bottom: var(--sp-3); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: var(--fs-sm); }
.toc ol ol { margin: 2px 0 var(--sp-2) var(--sp-3); padding-left: var(--sp-3); border-left: 1px solid var(--border); font-size: var(--fs-xs); }
.toc a { display: block; padding: 0.3rem 0.5rem; border-radius: var(--r-xs); color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--text); background: var(--surface-2); }
.toc a[aria-current] { color: var(--brand-text); font-weight: 600; }
/* Small screens: round button (bottom right) that opens the contents in a modal (legal pages, help.js) */
.toc-fab { position: fixed; right: max(var(--sp-4), env(safe-area-inset-right)); bottom: max(var(--sp-4), env(safe-area-inset-bottom)); z-index: 300; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; padding: 0; border: 0; border-radius: 50%; background: var(--brand-solid); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; transition: transform var(--t-fast) var(--ease); }
.toc-fab .icon { width: 1.4rem; height: 1.4rem; }
.toc-fab:hover { transform: scale(1.06); }
.toc-fab:active { transform: scale(0.96); }
.toc-fab:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
html:not(.js) .toc-fab { display: none; }
@media (min-width: 1024px) { .toc-fab { display: none; } }
/* the list scrolls, not the dialog: the box needs a real height (a % max-height of the dialog does not resolve), or the
   list, with overscroll-behavior: contain and nothing to scroll itself, swallows the wheel / swipe */
.toc-modal { overflow: hidden; }
.toc-modal .modal__box { display: flex; flex-direction: column; max-height: min(100vh - 2rem, 44rem); max-height: min(100dvh - 2rem, 44rem); }
.toc-modal__nav { flex: 1 1 auto; min-height: 0; margin: var(--sp-4) calc(-1 * var(--sp-2)) 0; padding: 0 var(--sp-2); overflow-y: auto; overscroll-behavior: contain; }
.toc-modal__nav ol { font-size: var(--fs-base); }
.toc-modal__nav a { padding: 0.55rem 0.6rem; }
.doc__head .eyebrow a { display: inline-flex; align-items: center; gap: var(--sp-2); text-decoration: none; }
.doc__head .eyebrow a:hover { text-decoration: underline; }
.doc__title { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
.doc__head .lead { margin-top: var(--sp-4); }
.doc__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--text-muted); }
.doc__meta span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.doc__meta .icon { width: 1rem; height: 1rem; }
.doc__head .placeholder-note { margin-top: var(--sp-4); }
.doc__section { margin-top: var(--sp-10); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.doc__section h2 { display: flex; align-items: center; gap: var(--sp-2); }
.doc__section h2 .icon { color: var(--brand-text); }
.doc__before { padding: var(--sp-6); border-radius: var(--r-lg); background: var(--bg-subtle); }
.doc__before .checklist { margin-top: var(--sp-3); }
.doc-steps { display: grid; gap: 0; margin: var(--sp-6) 0 0; padding: 0; list-style: none; counter-reset: none; }
.doc-step { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--sp-5); padding-bottom: var(--sp-8); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.doc-step:not(:last-child)::before { content: ""; position: absolute; left: calc(1.25rem - 1px); top: 2.75rem; bottom: 0.25rem; width: 2px; background: var(--border); }
.doc-step__n { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--brand-solid) var(--brand-grad); color: #fff; font-weight: 700; }
.doc-step__title { font-size: var(--fs-lg); font-weight: 650; letter-spacing: -0.01em; line-height: 1.35; margin-top: 0.35rem; }
.doc-step p { margin-top: var(--sp-2); color: var(--text-muted); line-height: 1.65; }
/* guide texts (App\Docs::html): bullet lists inside steps, before-you-start items and note boxes */
.doc-step__body { color: var(--text-muted); line-height: 1.65; }
.doc-list { display: grid; gap: 0.3rem; margin: var(--sp-2) 0 0; padding-left: 1.15em; list-style: disc; color: var(--text-muted); line-height: 1.55; }
.doc-list li { padding-left: 0.2em; }
.doc-list li::marker { color: var(--brand-text); }
.doc__main strong { color: var(--text); font-weight: 650; }
.doc__main a:not(.btn) { color: var(--brand-text); text-decoration: underline; text-underline-offset: 2px; }
.doc__tips .doc-list { margin-top: 0.3rem; }
.doc-step__time { display: inline-block; margin-left: var(--sp-2); padding: 0.05rem 0.45rem; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text-muted); font-size: var(--fs-xs); font-weight: 600; vertical-align: 0.15em; }
.doc-steps__group { margin: var(--sp-6) 0 0; font-size: var(--fs-md); font-weight: 650; color: var(--text); }
.doc-steps__group + .doc-steps { margin-top: var(--sp-4); }
.doc__where { display: flex; align-items: flex-start; gap: var(--sp-2); margin-top: var(--sp-3); padding: 0.55rem 0.8rem; border-radius: var(--r-md); background: var(--bg-subtle); font-size: var(--fs-sm); color: var(--text-muted); }
.doc__where .icon { flex: none; width: 1rem; height: 1rem; margin-top: 0.15rem; color: var(--brand-text); }
.doc__tips + .doc__tips { margin-top: var(--sp-4); }
/* Help home: a topic shows its first guides, the rest open below */
.topic__more { margin-top: var(--sp-2); }
.topic__more > summary { display: inline-flex; align-items: center; gap: var(--sp-1); padding: 0.35rem 0; color: var(--brand-text); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; list-style: none; }
.topic__more > summary::-webkit-details-marker { display: none; }
.topic__more > summary .icon { width: 1rem; height: 1rem; transition: transform var(--t-fast) var(--ease); }
.topic__more[open] > summary .icon { transform: rotate(180deg); }
.topic__more[open] > summary { margin-bottom: var(--sp-2); }
.doc__tips { padding: var(--sp-6); border-radius: var(--r-lg); border: 1px solid var(--border); border-left: 4px solid var(--brand); background: var(--surface); }
.doc__tips ul { margin: var(--sp-3) 0 0; padding-left: 1.2em; display: grid; gap: var(--sp-2); color: var(--text-muted); }
.doc__help { margin-top: var(--sp-12); gap: var(--sp-2); }
.doc__help .btn-row { margin-top: var(--sp-3); }

/* FAQ page */
.faq-filter { margin-top: var(--sp-8); }
.faq-topics { margin-bottom: var(--sp-8); justify-content: center; }
.faq-topics .chip .icon { width: 1rem; height: 1rem; color: var(--brand-text); }
.faq-group { margin-top: var(--sp-10); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.faq-group__title { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.faq-group .accordion__item { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.faq-guide { margin-top: var(--sp-4); }
.faq-none { margin-top: var(--sp-8); padding-block: var(--sp-10); }

/* 11c. Mockups (decorative, aria-hidden) ----------------------------------- */
.mock {
  --m-bg: #ffffff; --m-bg2: #f4f3f1; --m-text: #17171a; --m-muted: #77787e; --m-line: #e7e6e3;
  font-size: clamp(8.5px, 0.42rem + 0.32vw, 12px);
  line-height: 1.35;
  color: var(--m-text);
  user-select: none;
}
:root[data-theme="dark"] .mock, .mock--dark {
  --m-bg: #18181d; --m-bg2: #222229; --m-text: #f1f1f4; --m-muted: #9a9ca5; --m-line: #2e2e36;
}
.mock p { margin: 0; }
.mock--tablet { padding: 0.9em; border-radius: 2em; background: #121214; box-shadow: var(--shadow-lg); }
.mock--screen { padding: 1.2em; border-radius: 1.5em; background: var(--m-bg); border: 1px solid var(--m-line); box-shadow: var(--shadow-lg); width: 100%; }
.mock--phone { position: relative; padding: 2.4em 1em 1.2em; border-radius: 2.6em; background: var(--m-bg); border: 0.5em solid #121214; box-shadow: var(--shadow-lg); }
.mock-phone__notch { position: absolute; top: 0.7em; left: 50%; width: 5em; height: 1.1em; border-radius: 1em; background: #121214; transform: translateX(-50%); }
.mock-phone__title { font-weight: 700; font-size: 1.25em; margin-bottom: 0.8em !important; }
.mock-phone__card { margin-top: 1em; padding: 0.9em; border-radius: 1em; background: var(--m-bg2); display: grid; gap: 0.35em; }

.mock-pos { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto 1fr; gap: 0.8em; padding: 0.9em; border-radius: 1.3em; background: var(--m-bg); }
.mock-pos__cats { grid-column: 1 / -1; display: flex; gap: 0.4em; overflow: hidden; }
.mock-pos__cat { padding: 0.45em 0.9em; border-radius: 2em; background: var(--m-bg2); font-weight: 600; white-space: nowrap; }
.mock-pos__cat.is-active { background: #ff3656; color: #fff; }
.mock-pos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5em; }
.mock-pos__tile { display: flex; flex-direction: column; justify-content: space-between; gap: 0.6em; min-height: 5.2em; padding: 0.7em; border-radius: 0.8em; background: var(--m-bg2); border: 1px solid transparent; }
.mock-pos__tile.is-picked { border-color: #ff3656; background: rgb(255 54 86 / 0.08); }
.mock-pos__name { font-weight: 600; }
.mock-pos__price { color: var(--m-muted); }
.mock-pos__ticket { display: flex; flex-direction: column; gap: 0.5em; padding: 0.9em; border-radius: 0.9em; background: var(--m-bg2); }
.mock-pos__head { font-weight: 700; font-size: 1.1em; }
.mock-pos__line { display: flex; justify-content: space-between; gap: 0.5em; color: var(--m-muted); }
.mock-pos__line strong { color: var(--m-text); }
.mock-pos__total { display: flex; justify-content: space-between; margin-top: auto !important; padding-top: 0.5em; border-top: 1px dashed var(--m-line); font-weight: 700; }
.mock-pos__pay { display: block; padding: 0.7em; border-radius: 0.7em; background: #ff3656; color: #fff; font-weight: 700; text-align: center; }

.mock--ticket { padding: 1em; border-radius: 1.1em; background: var(--m-bg); border: 1px solid var(--m-line); border-top: 0.35em solid #ff3656; box-shadow: var(--shadow-lg); display: grid; gap: 0.45em; font-size: clamp(9px, 0.45rem + 0.3vw, 12.5px); }
/* the floating ticket follows the order cards of the dobby KDS: always light, grey tag, qty boxes, blue "ready" */
.mock--ticket { background: #fff; color: #111; border: 0; border-top: 0; border-radius: 0.6em; gap: 0.55em; padding: 0.9em 0.9em 0.8em; }
.mock-ticket__head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 0.5em; border-bottom: 1px solid #efefef; }
.mock-ticket__no { font-weight: 700; font-size: 1.15em; }
.mock-ticket__type { display: inline-block; margin-top: 0.2em; padding: 0.05em 0.4em; border-radius: 0.25em; background: #ececec; font-size: 0.8em; font-weight: 700; }
.mock-ticket__time { margin-top: 0.25em; font-size: 0.8em; font-weight: 700; }
.mock-ticket__x { display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: #ececec; font-size: 0.95em; font-weight: 700; line-height: 1; }
.mock-ticket__line { display: flex; align-items: baseline; gap: 0.55em; font-weight: 700; }
.mock-ticket__line span { display: inline-grid; place-items: center; min-width: 1.35em; height: 1.25em; border-radius: 0.2em; background: #ececec; font-size: 0.85em; }
.mock-ticket__line.is-done { color: #8c8c8c; text-decoration: line-through; padding-left: 0.4em; border-left: 2px solid #bdbdbd; }
.mock-ticket__btn { margin-top: 0.4em; padding: 0.5em; border-radius: 0.35em; background: linear-gradient(90deg, #4a90e2, #8ec4f2); box-shadow: 0 0.25em 0.6em rgb(74 144 226 / 0.35); color: #fff; font-weight: 700; font-size: 0.9em; letter-spacing: 0.02em; text-align: center; }

.mock-dash { display: grid; gap: 1em; }
.mock-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; }
.mock-dash__kpi { display: grid; gap: 0.2em; padding: 0.8em; border-radius: 0.8em; background: var(--m-bg2); }
.mock-dash__kpi span { color: var(--m-muted); }
.mock-dash__kpi strong { font-size: 1.45em; letter-spacing: -0.02em; }
.mock-dash__kpi em { color: #12a150; font-style: normal; font-weight: 700; }
.mock-dash__chart { display: flex; align-items: flex-end; gap: 0.45em; height: 9em; padding: 0.6em; border-radius: 0.8em; background: var(--m-bg2); }
.mock-dash__chart span { flex: 1; height: var(--h); border-radius: 0.35em 0.35em 0.15em 0.15em; background: rgb(255 54 86 / 0.35); }
.mock-dash__chart span.is-peak { background: #ff3656; }
.mock-dash__list { display: grid; gap: 0.5em; }
.mock-dash__title { font-weight: 700; }
.mock-dash__row { display: grid; grid-template-columns: 9em 1fr; align-items: center; gap: 0.8em; color: var(--m-muted); }
.mock-dash__meter { height: 0.55em; border-radius: 1em; background: linear-gradient(90deg, #ff3656 var(--w), var(--m-bg2) var(--w)); }

.mock-waiter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45em; }
.mock-waiter__table { display: grid; place-items: center; aspect-ratio: 1; border-radius: 0.7em; background: var(--m-bg2); font-weight: 700; }
.mock-waiter__table.is-busy { background: rgb(255 54 86 / 0.14); color: #ff3656; }
.mock-waiter__table.is-bill { background: #12a150; color: #fff; }

.mock-kds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7em; }
.mock-kds__ticket { display: grid; gap: 0.4em; align-content: start; padding: 0.8em; border-radius: 0.8em; background: var(--m-bg2); border-top: 0.35em solid #2f6fed; }
.mock-kds__ticket.is-cooking { border-top-color: #e79a0b; }
.mock-kds__ticket.is-late { border-top-color: #ff3656; }
.mock-kds .mock-ticket__btn { margin-top: 0.6em; }

.mock-hub__big { font-size: 2.2em; font-weight: 750; letter-spacing: -0.03em; }
.mock-hub__delta { color: #12a150; font-weight: 700; margin-bottom: 0.8em !important; }
.mock-hub__chart { height: 7em; }

/* 11g. Skeleton loaders -------------------------------------------------------
   Images: a shimmer behind every content image until it has loaded (site.js adds .skel-done).
   Data loaded in the browser (cart prices): placeholder lines shaped like the real ones (cart.js).
   Server-rendered sections arrive complete with the HTML, so they need no loading state. */
:root { --skel-base: var(--bg-muted); --skel-shine: rgb(255 255 255 / 0.65); }
:root[data-theme="dark"] { --skel-shine: rgb(255 255 255 / 0.06); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { --skel-shine: rgb(255 255 255 / 0.06); } }
@keyframes skel-shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes skel-fade { from { opacity: 0; } }

.skel,
.js :is(.media, .product-card__media, .gallery__slide, .gallery__thumb, .post-card__media, .post__cover, .prose) img:not(.skel-done),
img.is-skel,
.cart-totals.is-skel dd {
  background-color: var(--skel-base);
  background-image: linear-gradient(100deg, transparent 30%, var(--skel-shine) 50%, transparent 70%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: skel-shimmer 1.4s ease-in-out infinite;
}
.js .skel-in { animation: skel-fade 450ms var(--ease-out); }
.skel { display: block; border-radius: var(--r-xs); }
.skel--text { height: 0.8em; margin: 0.3em 0; }
.skel--lg { height: 1.15em; }
.skel--pill { width: 6.5rem; height: 2.25rem; border-radius: var(--r-pill); }
.cart-line--skel .cart-line__media { aspect-ratio: 4 / 3; }
.cart-line--skel .cart-line__body { display: grid; }
.cart-totals.is-skel dd { min-width: 5.5rem; height: 1.2em; border-radius: var(--r-xs); color: transparent; }
.cart-totals.is-skel dd * { visibility: hidden; }
.cart-totals.is-skel .cart-totals__saved { display: none; }

/* 11i. Legal, contact, integrations, partners ------------------------------- */
.legal__intro { margin-top: var(--sp-5); }
.legal__body { margin-top: var(--sp-4); }
.legal__body .doc__section { margin-top: var(--sp-8); }
.legal__body h2 { font-size: var(--fs-xl); }
.legal-table { min-width: 36rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; }
.legal-table tbody th { font-weight: 600; }
.legal-table code { font-size: 0.85em; white-space: nowrap; }
.legal__others { margin-top: var(--sp-12); padding-top: var(--sp-6); border-top: 1px solid var(--border); }
.legal__others .chip-row { margin-top: var(--sp-3); }

.contact { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
/* small screens: intro, form, details (source order); wide: intro + details on the left, the form beside them */
@media (min-width: 1024px) {
  .contact { grid-template-columns: 1fr 1.2fr; grid-template-areas: 'intro form' 'details form'; grid-template-rows: auto 1fr; row-gap: 0; }
  .contact__intro { grid-area: intro; }
  .contact__form { grid-area: form; }
  .contact__details { grid-area: details; }
}
.contact__details .contact__list { margin-top: 0; }
@media (min-width: 1024px) { .contact__details .contact__list { margin-top: var(--sp-8); } }
.contact > * { min-width: 0; }
.contact__info .lead { margin-top: var(--sp-4); }
.contact__list { display: grid; gap: var(--sp-5); margin-top: var(--sp-8); }
.contact__list li { display: flex; gap: var(--sp-4); align-items: center; }
.contact__thumb { --s: 3.5rem; }
.contact__list li:hover .contact__thumb { transform: scale(1.06) rotate(-3deg); }
.contact__list a { font-weight: 600; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__label { font-size: var(--fs-xs); font-weight: 600; color: var(--text-subtle); }
.contact__help { margin-top: var(--sp-10); gap: var(--sp-2); }
.contact__form { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.contact__form .lead-form { margin-top: 0; }
.contact__form .alert { margin: 0 0 var(--sp-6); }
.segmented { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: var(--sp-2); margin: 0 0 var(--sp-6); padding: 0; border: 0; }
.segmented legend { grid-column: 1 / -1; margin-bottom: var(--sp-2); padding: 0; }
.segmented__opt { position: relative; }   /* side by side only while both labels fit on one line, so the two stay the same height */
.segmented__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented__opt span { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); height: 100%; min-height: 3rem; padding: 0.6rem 0.9rem; border: 1px solid var(--border-strong); border-radius: var(--r-md); font-weight: 600; font-size: var(--fs-sm); text-align: center; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.segmented__opt span .icon { width: 1.05rem; height: 1.05rem; flex: none; }
.segmented__opt input:checked + span { border-color: var(--brand-solid); background: var(--brand-soft); color: var(--brand-soft-text); box-shadow: inset 0 0 0 1px var(--brand-solid); }
.segmented__opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.integ__title { margin-top: var(--sp-4); }
.integ-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); gap: var(--sp-3); }
.integ-tile { display: grid; place-items: center; min-height: 5.5rem; padding: var(--sp-4) var(--sp-5); border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.integ-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.integ-tile img { max-width: 100%; max-height: 2.75rem; width: auto; height: auto; object-fit: contain; }

/* 11h. Theme transition curtain (theme.js) ---------------------------------- */
#theme-transition-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.3s ease;
}
#theme-transition-overlay.is-active { display: block; }
/* Added at 3000ms, once the new theme is applied underneath */
#theme-transition-overlay.fade-out { opacity: 0; }

/* Page transitions paused while the theme is applied under the curtain (no blink) */
html.theme-switching *:not(#theme-transition-overlay),
html.theme-switching *::before,
html.theme-switching *::after {
  transition: none !important;
}

/* Shared geometry of both layers; --theme-overlay-width is the overlay's real width, set by JS */
.theme-transition-layer {
  position: absolute;
  top: 0;
  width: var(--theme-overlay-width, 100vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.theme-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  overflow: hidden;
  transition: width 3s cubic-bezier(0.65, 0, 0.35, 1);
}
/* Both layers pinned to the side the curtain grows from */
#theme-transition-overlay.sweep-ltr .theme-curtain,
#theme-transition-overlay.sweep-ltr .theme-transition-layer { left: 0; right: auto; }
#theme-transition-overlay.sweep-rtl .theme-curtain,
#theme-transition-overlay.sweep-rtl .theme-transition-layer { right: 0; left: auto; }

/* = the page background and muted text of each theme (--bg / --text-muted) */
.layer-light { background-color: #ffffff; }
.layer-dark { background-color: #0b0b0e; }
.layer-light .theme-curtain-text { color: #55575e; }
.layer-dark .theme-curtain-text { color: #b2b4bc; }

.theme-curtain-logo { width: 160px; height: 160px; object-fit: contain; }
.theme-curtain-text {
  position: absolute;
  bottom: max(40px, env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

/* 12. Motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 13. Utilities ------------------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* theme-specific assets (logos): light version on light, white version on dark */
:root[data-theme="dark"] .only-light, :root[data-theme="light"] .only-dark { display: none !important; }
:root:not([data-theme]) .only-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .only-dark { display: block; }
  :root:not([data-theme]) .only-light { display: none; }
}
[hidden] { display: none !important; }

/* Order flow (partials/order-flow.php): the Waiter app phone sends dishes and ingredients on curved paths into an
   order printer, where they merge; the order is already printed on the printer's paper (site.js initOrderFlows moves
   the items; with reduced motion JS freezes a moment with items mid-air, without JS only the phone and printer show). */
.flow { position: relative; container-type: inline-size; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: end; gap: 0; width: 100%; max-width: 34rem; margin-inline: auto; padding-top: 2.5rem; }
.flow__phone { position: relative; z-index: 2; }
.flow__phone .showcase { max-width: none; }
.flow__air { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.flow__item { position: absolute; left: 0; top: 0; width: clamp(2.2rem, 15cqi, 5.2rem); height: auto; opacity: 0; will-change: transform, opacity; }   /* no shadows under the objects */
/* the printer, seen from the front-left and above, with its paper already out of the slot and curling back at the
   top; the order is printed on that paper: a text block laid over its flat part and skewed like it (its rows slope
   down to the right like the paper's top edge, its left side leans like the paper's). Nothing moves on it. */
.flow__printer { position: relative; z-index: 1; justify-self: center; width: 92%; margin-bottom: 4%; }
.flow__printer-img { position: relative; z-index: 2; display: block; width: 100%; height: auto; }
/* graphite printer in the dark theme, like the POS monitor (tools/build-icons-3d.php DARK; its paper stays white) */
.flow .flow--dark { display: none; }
:root[data-theme="dark"] .flow .flow--light { display: none; }
:root[data-theme="dark"] .flow .flow--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .flow .flow--light { display: none; }
  :root:not([data-theme]) .flow .flow--dark { display: block; }
}
.flow__print { position: absolute; z-index: 3; left: 40%; top: 9.5%; width: 30%; transform-origin: 0 0; transform: skewY(9deg) skewX(-10deg); color: #3a3b42; font: 600 1.02cqi/1.32 var(--font-mono, ui-monospace, monospace); opacity: 0.88; pointer-events: none; }
.flow__print p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.flow__print span { color: #e0314f; }
.flow__print-head { display: flex; justify-content: space-between; padding-bottom: 0.25em; margin-bottom: 0.3em !important; border-bottom: 1px dashed rgb(58 59 66 / 0.45); font-size: 1.1em; }
.flow__glow { position: absolute; z-index: 3; left: 26%; width: 46%; top: 26%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 210 120 / 0.85), transparent); opacity: 0; pointer-events: none; transform: rotate(9deg); }
.flow--steps { max-width: 40rem; }
.apps-panel__visual .flow { max-width: 30rem; }
.app-screens__item:has(.flow) { flex: 1 1 26rem; max-width: 40rem; }
@media (max-width: 40rem) { .flow { padding-top: 2rem; } }

/* Kitchen flow (partials/kitchen-flow.php): the KDS on its arm and the order ready board on the wall, with live
   screens drawn at 1280×720 and scaled into the devices' windows (--k, site.js initKitchenFlows). The hand taps
   "Έτοιμη", the card leaves the KDS and its number moves on the board to "ready for pickup". */
.kf { position: relative; width: 100%; max-width: 34rem; aspect-ratio: 1.22; margin-inline: auto;
  --ks-bg: #f1f1f1; --ks-top: #f8f8f8; --ks-card: #fff; --ks-text: #141414; --ks-chip: #ececec; --ks-line: #efefef; --ks-tab: #e3eefc; --ks-tab-text: #3b82e0; --kb-bg: #f3f3f3; --kb-panel: #fff; --kb-line: #c9c9c9; }
:root[data-theme="dark"] .kf { --ks-bg: #111215; --ks-top: #17181c; --ks-card: #1e1f24; --ks-text: #eef0f3; --ks-chip: #2a2c33; --ks-line: #2a2c33; --ks-tab: #1d2d45; --ks-tab-text: #7fb2ff; --kb-bg: #0f1013; --kb-panel: #1b1c21; --kb-line: #3a3c44; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .kf { --ks-bg: #111215; --ks-top: #17181c; --ks-card: #1e1f24; --ks-text: #eef0f3; --ks-chip: #2a2c33; --ks-line: #2a2c33; --ks-tab: #1d2d45; --ks-tab-text: #7fb2ff; --kb-bg: #0f1013; --kb-panel: #1b1c21; --kb-line: #3a3c44; } }
.kf__device { position: absolute; }
.kf__tv { top: 0; right: 0; width: 60%; }
.kf__kds { left: 0; bottom: 2%; width: 76%; z-index: 1; }
.kf__screen { position: absolute; left: calc(var(--sx) - 0.3%); top: calc(var(--sy) - 0.3%); width: calc(var(--sw) + 0.6%); height: calc(var(--sh) + 0.6%); overflow: hidden; border-radius: var(--srx, 1.5%) / var(--sry, 2.6%); background: var(--ks-bg); }
.kf__dev { position: relative; z-index: 1; display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }
.kf .dev--dark { display: none; }
:root[data-theme="dark"] .kf .dev--light { display: none; }
:root[data-theme="dark"] .kf .dev--dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .kf .dev--light { display: none; } :root:not([data-theme]) .kf .dev--dark { display: block; } }
.kf__hand { position: absolute; left: 0; top: 0; z-index: 3; width: 15%; height: auto; opacity: 0; pointer-events: none; filter: drop-shadow(0 14px 18px rgb(20 20 40 / 0.25)); transition: transform 0.9s cubic-bezier(0.3, 0.9, 0.3, 1), opacity 0.4s; will-change: transform; }
.kf__hand.is-pressing { transition-duration: 0.18s; }
/* the live screens: drawn at 1280×720, scaled to the window */
.ks, .kb { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; transform: scale(var(--k, 0.28)); font-family: "Open Sans", Inter, system-ui, sans-serif; color: var(--ks-text); }
.ks { background: var(--ks-bg); }
.ks p, .kb h3 { margin: 0; }
.ks__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 83px; padding: 0 20px; background: var(--ks-top); }
.ks__count { display: grid; justify-items: center; width: 64px; font-size: 12px; font-weight: 700; }
.ks__count b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ks-chip); font-size: 21px; font-weight: 600; }
.ks__tabs { display: flex; gap: 10px; justify-content: center; }
.ks__tabs span { display: grid; place-items: center; height: 32px; padding: 0 12px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.ks__tabs .is-on { background: var(--ks-tab); color: var(--ks-tab-text); }
.ks__tools { display: flex; gap: 10px; justify-content: flex-end; }
.ks__tools i { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--ks-chip); }
.ks__tools svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ks__tools svg.is-fill { fill: currentColor; stroke: none; }
.ks__board { display: flex; align-items: flex-start; padding: 15px 10px; }
.ks__order { flex: 0 0 290px; margin-right: 15px; display: flex; flex-direction: column; padding: 15px 15px 12px; overflow: hidden; border-radius: 7px; background: var(--ks-card); box-shadow: 0 1px 7px rgb(0 0 0 / 0.1); transition: flex-basis 0.5s 0.35s ease, margin 0.5s 0.35s ease, padding 0.5s 0.35s ease, opacity 0.35s ease, transform 0.35s ease; }
.ks__order.is-leaving { flex-basis: 0; margin-right: 0; padding-inline: 0; opacity: 0; transform: translateY(-14px) scale(0.92); }
.ks__head { display: flex; justify-content: space-between; align-items: flex-start; }
.ks__no { font-size: 17px; font-weight: 700; white-space: nowrap; }
.ks__type { display: inline-flex; margin-top: 4px; padding: 1px 6px; border-radius: 4px; background: var(--ks-chip); font-size: 12px; font-weight: 700; }
.ks__time { margin-top: 5px; padding-bottom: 9px; border-bottom: 1px solid var(--ks-line); font-size: 12px; font-weight: 700; }
.ks__x { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ks-chip); }
.ks__x svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; }
.ks__items { display: grid; gap: 11px; margin: 0; padding: 11px 0 15px 10px; list-style: none; }
.ks__items p { display: flex; gap: 10px; align-items: baseline; font-size: 15px; font-weight: 700; white-space: nowrap; }
.ks__items p span { display: inline-grid; place-items: center; min-width: 21px; height: 20px; padding: 0 4px; border-radius: 4px; background: var(--ks-chip); font-size: 13px; }
.ks__items small { display: block; margin: 6px 0 0 31px; font-size: 13.5px; white-space: nowrap; }
.ks__ready { display: grid; place-items: center; height: 32px; margin-top: auto; border-radius: 5px; color: #fff; font-size: 13px; font-weight: 700; background: linear-gradient(90deg, #4a90e2, #8ec4f2); box-shadow: 0 4px 10px rgb(74 144 226 / 0.35); transition: transform 0.15s ease, filter 0.15s ease; }
.ks__ready.is-pressed { transform: scale(0.94); filter: brightness(0.85); }
.kb { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px; background: var(--kb-bg); }
.kb__col { padding: 38px 36px; border-radius: 14px; background: var(--kb-panel); }
.kb h3 { font-size: 44px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.kb__nums { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 36px; }
.kb__n { display: grid; place-items: center; width: 136px; height: 84px; border: 3px solid var(--kb-line); border-radius: 8px; font-size: 56px; font-weight: 700; transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.35s, box-shadow 0.6s; }
.kb__col--ready .kb__n { border: 0; background: #5ec6a6; color: #fff; }
.kb__n.is-leaving { opacity: 0; transform: scale(0.6); }
.kb__n.is-new { background: #2fb487; box-shadow: 0 0 0 10px rgb(47 180 135 / 0.28); animation: kb-pop 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes kb-pop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.apps-panel__visual .kf { max-width: 32rem; }

/* ---------------------------------------------------------------------------------------------------------------
   Custom offer for store groups (Pricing page card, questionnaire modal, interest form in custom mode)
   --------------------------------------------------------------------------------------------------------------- */
.groups-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: var(--sp-6) clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
/* a soft brand glow in the corner, behind the text */
.groups-card::before {
  content: "";
  position: absolute;
  inset: -45% auto auto -12%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-solid) 13%, transparent), transparent);
  pointer-events: none;
}
.groups-card > * { position: relative; }
.groups-card__eyebrow { display: inline-flex; align-items: center; gap: var(--sp-2); margin: 0; color: var(--text-muted); font-size: var(--fs-sm); font-weight: 600; }
.groups-card__eyebrow .icon { width: 1.1rem; height: 1.1rem; color: var(--brand-text); }
.groups-card__title { margin: var(--sp-3) 0 var(--sp-6); font-size: calc(var(--fs-h2) * 0.88); line-height: 1.1; text-wrap: balance; }
.groups-card__text { margin: 0; font-size: var(--fs-md); line-height: 1.6; color: var(--text); }
.groups-card__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-5); margin: var(--sp-6) 0 0; padding: var(--sp-6) 0 0; border-top: 1px solid var(--border); list-style: none; }
.groups-card__points li { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.groups-card__points .icon { flex: none; width: 1.25rem; height: 1.25rem; padding: 0.2rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); stroke-width: 3; }
@media (max-width: 899px) {
  .groups-card { grid-template-columns: 1fr; }
  .groups-card__title { margin-bottom: var(--sp-5); }
}
@media (max-width: 599px) {
  .groups-card__points { grid-template-columns: 1fr; }
  .groups-card__main .btn { width: 100%; }
}

/* questionnaire: the industry picker's modal, a step at a time */
html:not(.js) .gw { display: none; }
html.js .gw__box { width: min(48rem, 100%); max-height: min(90vh, 50rem); max-height: min(90dvh, 50rem); }
.gw__head { align-items: center; }
.gw__head-text { flex: 1; min-width: 0; }
.gw__label { margin: 0 0 var(--sp-2); font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.02em; color: var(--text-subtle); }
.gw__progress { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.gw__progress span { display: block; width: calc(var(--p) / 3 * 100%); height: 100%; border-radius: inherit; background: var(--brand-solid) var(--brand-grad); transition: width var(--t) var(--ease-out); }
.gw__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.gw__step[hidden] { display: none; }
.gw__title { margin: 0; padding: 0; font-family: var(--font-display); }
.gw__lead { margin-bottom: var(--sp-5); }
.gw__ind { gap: var(--sp-4); }
.gw__sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.gw-size, .gw-choice { position: relative; display: flex; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.gw-size:hover, .gw-choice:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.gw-size input, .gw-choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gw-size { flex-direction: column; align-items: flex-start; padding: var(--sp-4); min-height: 8.5rem; }
.gw-size__num { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.gw-size__unit { font-size: var(--fs-sm); color: var(--text-muted); }
.gw-size__stores { display: flex; flex-wrap: wrap; gap: 2px; margin-top: auto; padding-top: var(--sp-3); color: var(--text-subtle); }
.gw-size__stores .icon { width: 1rem; height: 1rem; }
.gw-size:has(input:checked), .gw-choice:has(input:checked) { border-color: var(--brand-solid); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-solid); }
.gw-size:has(input:checked) .gw-size__stores { color: var(--brand-text); }
.gw-size:has(input:focus-visible), .gw-choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.gw__yesno-set { margin: 0; padding: 0; border: 0; min-width: 0; }
.gw__yesno { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.gw-choice { align-items: center; gap: var(--sp-3); padding: var(--sp-4); }
.gw-choice__icon { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 30%; background: var(--surface-2); color: var(--text-muted); }
.gw-choice__icon .icon { width: 1.3rem; height: 1.3rem; }
.gw-choice:has(input:checked) .gw-choice__icon { background: var(--brand-solid); color: var(--on-brand); }
.gw-choice__text { display: grid; gap: 0.15rem; font-size: var(--fs-sm); line-height: 1.3; }
.gw-choice__text span { color: var(--text-muted); }
.gw__eq { margin: var(--sp-6) 0 0; padding: 0; border: 0; min-width: 0; }
.gw__eq[hidden] { display: none; }
.gw__foot { align-items: center; gap: var(--sp-2); }
.gw__error { flex: 1; margin: 0; color: var(--danger); font-size: var(--fs-sm); font-weight: 600; }
.gw__foot [hidden] { display: none; }
@media (max-width: 599px) {
  .gw__sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-size { min-height: 7rem; }
  .gw__yesno { grid-template-columns: 1fr; }
  .gw__foot { flex-wrap: wrap; }
  .gw__error { flex-basis: 100%; }
  .gw__foot .btn { flex: 1; }
}

/* equipment categories as picture cards: a line drawing, the name, the number of products */
.eq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr)); gap: var(--sp-3); }
.ind-opt.eq-opt { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.2rem; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-lg); }
.ind-opt.eq-opt:hover { transform: translateY(-1px); }
.eq-opt__art.ind-thumb { background: none; border-radius: 0; }
.eq-opt .eq-opt__art { --s: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-bottom: var(--sp-1); color: var(--text-muted); transition: color var(--t-fast) var(--ease); }
.eq-opt .eq-opt__art { flex: 1 0 auto; }   /* a taller card (another card in its row has a description) centres the drawing in the extra space, so the names line up */
.eq-art { width: 100%; height: 100%; }
.eq-opt__name { flex: none; font-size: var(--fs-sm); font-weight: 700; line-height: 1.3; }
.eq-opt__name .eq-opt__info { display: inline-block; width: 0.9rem; height: 0.9rem; margin-left: 0.3rem; vertical-align: -0.12em; color: var(--text-subtle); }
/* the description: a tooltip inside the card (the modal list scrolls, so it must not stick out of the card) */
.eq-opt__tip {
  position: absolute;
  top: var(--sp-2);
  left: var(--sp-2);
  right: 2.25rem;
  z-index: 2;
  padding: 0.45rem 0.65rem;
  border-radius: var(--r-sm);
  background: var(--text);
  color: var(--bg);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease-out);
}
.eq-opt__tip::after { content: ""; position: absolute; left: 1.1rem; top: 100%; border: 6px solid transparent; border-top-color: var(--text); }
.eq-opt:hover .eq-opt__tip, .eq-opt:has(input:focus-visible) .eq-opt__tip { opacity: 1; transform: none; }
@media (hover: none) { .eq-opt:has(input:checked) .eq-opt__tip { opacity: 1; transform: none; } }   /* touch: shown once the card is picked */
.eq-opt__check { position: absolute; top: var(--sp-3); right: var(--sp-3); border-radius: 50%; }
.eq-opt:has(input:checked) .eq-opt__art { color: var(--brand-text); }
.ind-chip .eq-opt__art.ind-thumb { --s: 1.75rem; width: 2.4rem; height: 1.75rem; color: var(--text-muted); }
@media (max-width: 599px) {
  .eq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); }
  .ind-opt.eq-opt { padding: var(--sp-2) var(--sp-3) var(--sp-3); }
}

/* interest form in custom mode */
.segmented--single { grid-template-columns: 1fr; }
.segmented--single .segmented__opt span { justify-content: flex-start; cursor: default; }
.groups-next__list { display: grid; gap: var(--sp-4); margin: var(--sp-2) 0 0; padding: 0; list-style: none; counter-reset: gn; }
.groups-next__list li { position: relative; padding-left: 2.5rem; font-size: var(--fs-sm); line-height: 1.5; counter-increment: gn; }
.groups-next__list li::before { content: counter(gn); position: absolute; left: 0; top: -0.1rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); font-weight: 700; font-size: var(--fs-xs); }

/* ---- A package's one-time service (templates/partials/package-setup.php) ---- */
.tip--end .tip__box { top: calc(100% + 0.5rem); bottom: auto; left: auto; right: -0.4rem; transform: translateY(-4px); }
.tip--end .tip__box::after { top: auto; bottom: 100%; left: auto; right: 0.75rem; border-top-color: transparent; border-bottom-color: var(--text); }
.plan-hero__price { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.plan-card .plan-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-2); }
.pkg-setup-tip .pkg-setup-tip__btn { width: 2.25rem; height: 2.25rem; margin: 0; border: 1px solid var(--border); background: var(--bg-subtle); color: var(--brand-text); }
.pkg-setup-tip .pkg-setup-tip__btn:hover, .pkg-setup-tip .pkg-setup-tip__btn:focus-visible { border-color: var(--brand); background: var(--brand-soft); }
.pkg-setup-tip .pkg-setup-tip__btn .icon { width: 1.05rem; height: 1.05rem; }
.pkg-setup-tip .tip__box { width: min(18rem, 80vw); }
.pkg-setup__tip-title { display: block; font-weight: 700; }
.pkg-setup__tip-price { display: block; margin: 0.1rem 0 0.45rem; }
.pkg-setup__tip-price s, .pkg-setup__tip-price small { opacity: 0.65; font-size: 0.95em; }
.pkg-setup__tip-list { display: grid; gap: 0.25rem; }
.pkg-setup__tip-list > span { display: flex; gap: 0.4rem; align-items: flex-start; }
.pkg-setup__tip-list .icon { flex: none; width: 0.85rem; height: 0.85rem; margin-top: 0.15rem; }
.pkg-setup__tip-note { display: block; margin-top: 0.5rem; opacity: 0.7; }
.pkg-opt__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-top: auto; }
.pkg-opt__foot .pkg-opt__price { margin-top: 0; }
/* opens above when there is no room below (site.js) */
.tip--end.tip--up .tip__box { top: auto; bottom: calc(100% + 0.5rem); transform: translateY(4px); }
.tip--end.tip--up .tip__box::after { top: 100%; bottom: auto; border-bottom-color: transparent; border-top-color: var(--text); }
.cart-line__note { font-size: var(--fs-xs); color: var(--text-muted); white-space: nowrap; }

/* Integration bridges page (templates/pages/bridges.php) */
.bridges__split { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 960px) { .bridges__split { grid-template-columns: 1fr minmax(0, 30rem); } }
.bridges__copy .lead { margin-top: var(--sp-4); }
.bridges__logos { display: grid; gap: var(--sp-4); margin-top: var(--sp-8); }
.bridges__logos li { display: flex; align-items: center; gap: var(--sp-4); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.bridges__logos a { font-weight: 600; text-decoration: none; }
.bridges__logos a:hover { text-decoration: underline; }
.bridges__picker { padding: clamp(1.25rem, 1rem + 2vw, 2rem); border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.bridges__lead { max-width: 44rem; margin: calc(-1 * var(--sp-4)) 0 var(--sp-8); }
#other [id^="bridge-"] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
/* Offers: the products menu link while an offer runs, the title link and the offer page */
.mega__offers { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); padding: 0.5rem 0.85rem; border-radius: var(--r-pill); background: var(--brand-soft); color: var(--brand-text); font-weight: 650; font-size: var(--fs-sm); text-decoration: none; }
.mega__offers .icon { width: 1rem; height: 1rem; }
.mega__offers:hover { background: var(--brand-solid); color: #fff; }
.offer-card__title a { color: inherit; text-decoration: none; }
.offer-card__title a:hover { color: var(--brand-text); }
.offer-card__more { margin-top: var(--sp-5); }
.offer-page { display: grid; gap: var(--sp-4); max-width: calc(56rem + 2 * var(--gutter)); }
.offer-page__all { margin-top: var(--sp-6); }
/* package cards: the name stays on one line (shrinks a little in narrow cards), so the prices line up across the row */
.package-card { container-type: inline-size; }
.package-card .plan-card__title { white-space: nowrap; font-size: min(var(--fs-xl), 10cqi); }

/* 404: lost in space (partials/lost-in-space.php): the whole section is the sky, the text sits in it, always dark */
.lost-page { position: relative; isolation: isolate; overflow: hidden; display: flex; min-height: calc(100svh - var(--header-h)); color: #fff;
  background: radial-gradient(120% 90% at 22% 12%, #1f2350 0%, #0c0e24 55%, #05060f 100%); }
.lost-sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.lost-page__grid { display: grid; align-items: center; width: 100%; }
.lost-page__text { position: relative; z-index: 1; padding-block: clamp(2.5rem, 2rem + 4vw, 5rem) var(--sp-6); }
.lost-page__code { font-family: var(--font-display, inherit); font-size: clamp(5.5rem, 3rem + 10vw, 10rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.05em; padding-top: 0.06em;   /* room for the glyph tops: background-clip paints only inside the line box */
  background: linear-gradient(180deg, #fff 30%, #ff94a6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost-page .h1 { margin-top: var(--sp-3); color: #fff; }
.lost-page .lead { margin-top: var(--sp-4); max-width: 34rem; color: #c9cce0; }
.lost-page .btn-row { margin-top: var(--sp-6); }
.lost-page .btn--secondary, .lost-page .chip { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.28); color: #fff; }
.lost-page .btn--secondary:hover, .lost-page .chip:hover { background: rgb(255 255 255 / 0.14); border-color: rgb(255 255 255 / 0.5); color: #fff; }
.lost-page__try { margin: var(--sp-10, 2.5rem) 0 var(--sp-3); color: #9ea2bd; font-size: var(--fs-sm); }
.lost-page__art { align-self: end; }
.lost { display: block; width: 100%; height: auto; overflow: visible; }
@media (min-width: 900px) {
  .lost-page__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--sp-8); }
  .lost-page__text { padding-bottom: clamp(2.5rem, 2rem + 4vw, 5rem); }
}
@media (max-width: 899px) {
  .lost-page__art { max-width: 32rem; margin: -16% auto 0; width: 100%; }   /* the top of the scene is empty sky: tuck it under the links */
  .lost-page__text { padding-bottom: 0; }
  .lost-page__code { font-size: clamp(4.5rem, 2rem + 14vw, 7rem); }
}
@media (max-width: 599px) {
  .lost-page__try, .lost-page .chip-row { display: none; }   /* small phones: 404, the text, the buttons and the scene; the menu has the rest */
}
.lost__drift { transform-box: view-box; transform-origin: 330px 300px; animation: lost-drift 9s ease-in-out infinite; }
.lost__twinkle { animation: lost-twinkle 3s ease-in-out infinite; }
.lost__twinkle:nth-child(3n) { animation-delay: -1s; }
.lost__twinkle:nth-child(5n) { animation-delay: -2s; }
.lost__comet { opacity: 0; animation: lost-comet 8s ease-in 2s infinite; }
.lost__comet--late { animation-delay: 6s; }
@keyframes lost-drift { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(8px, -18px) rotate(4deg); } }
@keyframes lost-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes lost-comet { 0% { opacity: 0; transform: translate(0, 0); } 4% { opacity: 1; } 10%, 100% { opacity: 0; transform: translate(140px, 50px); } }
@media (prefers-reduced-motion: reduce) { .lost__drift, .lost__twinkle, .lost__comet { animation: none; } }
/* Equipment photos (white backgrounds): every frame that holds a photo is the same light grey in both themes
   (cards, product gallery, thumbnails, cart) and the photo's white melts into it (multiply), so no box shows.
   No photo: the frame follows the theme. */
:is(.product-card__media, .gallery__stage, .gallery__thumb, .cart-line__media):has(img) { background: #f7f6f5; }
:is(.gallery__slide, .gallery__thumb, .cart-line__media) img { mix-blend-mode: multiply; border-radius: 0; }
/* iOS (Safari, and Chrome on iPhone) draws the swipe track as its own transparent layer, so the image found no grey
   behind it and its white showed. Each slide and frame carries the grey itself and blends inside its own group. */
.gallery__slide:has(img) { background: #f7f6f5; }
:is(.gallery__slide, .gallery__thumb, .cart-line__media, .product-card__media) { isolation: isolate; }
:root[data-theme="dark"] .gallery__thumb:not([aria-current]) { border-color: transparent; }
/* few thumbnails: centred under the photo; more than fit: the carousel scrolls from the start as before */
.gallery__thumbs li:first-child { margin-inline-start: auto; }
.gallery__thumbs li:last-child { margin-inline-end: auto; }
