/*
 * AI Product Importer: presentation page and brand page (demo123.gr).
 * Identity: "the print shop". Process inks (cyan, magenta, yellow) on cool paper, press-ink navy
 * as the key colour; crop marks frame things instead of boxes everywhere. One typeface: Commissioner.
 */

@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/commissioner-greek-standard-normal.woff2') format('woff2-variations');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Commissioner';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/commissioner-latin-standard-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #e9edf2;
  --ink: #0f1b2d;
  --ink-2: #44526a;
  --line: #d3dae4;
  --cyan: #00a6e0;
  --cyan-ink: #006e99;
  --magenta: #e0307f;
  --magenta-ink: #b01d62;
  --yellow: #f5be0b;
  --btn-bg: #006e99;
  --btn-fg: #ffffff;
  --band: #0f1b2d;
  --band-ink: #e8eef5;
  --band-ink-2: #a9b8cc;
  --shadow: 0 18px 50px -24px rgb(15 27 45 / 0.35);
  --tile: #0f1b2d;
  --paper-2: #e6ebf2;
  --line-strong: #c3ccd8;
  --radius: 14px;
  --font: 'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #0a111c;
  --surface: #111b2a;
  --surface-2: #17243a;
  --ink: #e8eef5;
  --ink-2: #a3b3c8;
  --line: #24344d;
  --cyan: #38c2f2;
  --cyan-ink: #5fcff5;
  --magenta: #ff5fa8;
  --magenta-ink: #ff86bd;
  --yellow: #ffc53d;
  --btn-bg: #38c2f2;
  --btn-fg: #06121f;
  --band: #060c15;
  --band-ink: #e8eef5;
  --band-ink-2: #9fb0c6;
  --shadow: 0 18px 50px -24px rgb(0 0 0 / 0.7);
  --tile: #1b2b44;
  --paper-2: #0f1828;
  --line-strong: #2b3d58;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--cyan-ink);
  text-underline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--ink);
}

.skip:focus {
  left: 16px;
}

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- type ---------- */

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 1.3rem + 2.9vw, 3.5rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  max-width: 66ch;
}

.lead {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.mono {
  font-family: var(--mono);
  font-size: 0.92em;
}

/* ---------- header ---------- */

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.top.scrolled {
  border-bottom-color: var(--line);
}

.top-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-words {
  display: grid;
  line-height: 1.05;
}

/* «by cj-web.gr» sits under the name, to the right */
.brand-by {
  justify-self: end;
  color: var(--ink-2);
  font-size: 0.7rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.brand svg {
  flex: none;
  width: 34px;
  height: 34px;
}

/* the logo tile: press ink on paper, a lighter ink on the dark theme (brand rule) */
.tile {
  fill: var(--tile);
}

figure {
  margin: 0;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 550;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.menu-btn {
  display: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 650 1rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

/* «Είσοδος» + « στην εφαρμογή» (hidden on phones) read as one label */
.btn-login {
  gap: 0;
  white-space: pre;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
}

/* ---------- sections ---------- */

main > section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.sec-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* sections take turns: paper, then a deeper tone with a rule above and below, so each reads as its own sheet */
main > section.alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

main > section.alt .chart,
main > section.alt .faq details {
  background: var(--surface);
}

main > section.alt .features {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

/* crop marks: the identity's frame (print shop) */
.crop {
  position: relative;
}

.crop::before,
.crop::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  border-color: var(--ink-2);
  opacity: 0.55;
}

.crop::before {
  top: -12px;
  left: -12px;
  border-top: 1.5px solid;
  border-left: 1.5px solid;
}

.crop::after {
  right: -12px;
  bottom: -12px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
}

/* ---------- hero ---------- */

.hero {
  padding-top: calc(68px + clamp(48px, 8vw, 104px)) !important;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.hero-for {
  color: var(--ink-2);
  font-weight: 550;
}

.hero-for strong {
  color: var(--ink);
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.inks {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.inks i {
  width: 34px;
  height: 8px;
  border-radius: 2px;
}

/* the live demo card */
.demo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 16px;
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 600;
}

.demo-bar span:first-child {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
}

.demo-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 1.05rem;
}

.demo-input .caret {
  width: 2px;
  height: 1.2em;
  background: var(--cyan);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.demo-product {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
}

.demo-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, transparent 46%, rgb(255 255 255 / 0.5) 47%, transparent 60%),
    var(--magenta);
}

.demo-name {
  font-weight: 700;
}

.demo-meta {
  color: var(--ink-2);
  font-size: 0.9rem;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.swatches i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
}

:root[data-theme='dark'] .swatches i {
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.chip b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.demo-done {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cyan) 14%, var(--surface));
  font-weight: 650;
}

.demo-done svg {
  width: 20px;
  height: 20px;
  color: var(--cyan-ink);
  flex: none;
}

/* the demo builds itself step by step (site.js adds .on), or shows all at once */
.step-in {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.step-in.on {
  opacity: 1;
  transform: none;
}

/* ---------- facts / charts ---------- */

.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
}

.chart {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chart figcaption {
  color: var(--ink-2);
  font-size: 0.92rem;
}

.bars {
  display: grid;
  gap: 14px;
}

.bar {
  display: grid;
  grid-template-columns: 9.5rem 1fr 3.4rem;
  gap: 12px;
  align-items: center;
  font-size: 0.95rem;
}

.bar-track {
  display: block;
  height: 14px;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 4px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.in .bar-fill {
  transform: scaleX(1);
}

.bar-val {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.split-bar {
  display: flex;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
}

.split-bar span {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.in .split-bar span {
  transform: scaleX(1);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
}

.fact {
  padding: 18px 0 0;
  border-top: 2px solid var(--ink);
}

.fact strong {
  display: block;
  font-size: 1.05rem;
}

.fact p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ---------- steps (a real sequence: numbered) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 58px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 760;
}

.steps li::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 52px;
  right: -10px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}

.steps li:last-child::after {
  display: none;
}

.steps p {
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature svg {
  width: 30px;
  height: 30px;
  color: var(--ink);
}

.feature svg .ink-c {
  color: var(--cyan);
}

.feature p {
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* ---------- security band ---------- */

.band {
  background: var(--band);
  color: var(--band-ink);
}

.band h2,
.band h3 {
  color: var(--band-ink);
}

.band .lead,
.band p {
  color: var(--band-ink-2);
}

.band .crop::before,
.band .crop::after {
  border-color: var(--band-ink-2);
}

.sec-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.checks {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
}

.checks svg {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--cyan);
}

.checks strong {
  display: block;
  color: var(--band-ink);
}

/* ---------- works with ---------- */

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-list .chip {
  padding: 8px 14px;
  font-size: 0.95rem;
  background: var(--surface);
}

.soon {
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(225deg) translateY(-3px);
}

.faq .answer {
  padding: 0 22px 20px;
  color: var(--ink-2);
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.contact-side {
  display: grid;
  gap: 18px;
}

form.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 25%, transparent);
}

.consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--cyan-ink);
}

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-end {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.err {
  color: var(--magenta-ink);
  font-size: 0.88rem;
  font-weight: 550;
}

.form-msg {
  font-weight: 600;
}

.form-msg.ok {
  color: var(--cyan-ink);
}

.reveal-mail {
  padding: 0;
  border: 0;
  background: none;
  color: var(--cyan-ink);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- footer ---------- */

/* Upper footer on a grid (brand, sections, legal, contact), then a bottom bar (company, language)
   and the centred credits. The four process inks run along the top edge like a press colour bar. */
.foot {
  position: relative;
  padding: 64px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 0.94rem;
}

.foot::before {
  content: '';
  position: absolute;
  inset: -1px 0 auto;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--cyan) 0 25%,
    var(--magenta) 25% 50%,
    var(--yellow) 50% 75%,
    var(--ink) 75% 100%
  );
}

.foot a {
  color: var(--ink-2);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.25fr);
  gap: 40px;
  align-items: start;
}

.foot-brand .brand {
  display: inline-flex;
  color: var(--ink);
}

.foot-brand .brand:hover {
  text-decoration: none;
}

.foot-brand p {
  margin-top: 16px;
  max-width: 34ch;
  line-height: 1.6;
}

.foot-brand .inks {
  margin-top: 18px;
}

.foot-brand .inks i {
  width: 22px;
  height: 5px;
}

.foot-h {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 10px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* a short ink tick under each heading: cyan, magenta, yellow */
.foot-h::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan);
}

.foot-grid > :nth-child(3) .foot-h::after {
  background: var(--magenta);
}

.foot-grid > :nth-child(4) .foot-h::after {
  background: var(--yellow);
}

.foot-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-col .link-btn {
  text-decoration: none;
  text-align: left;
}

.foot-col .link-btn:hover {
  color: var(--ink);
  text-decoration: underline;
}

.foot address {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.foot-line {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  line-height: 1.5;
}

.foot-line svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--cyan-ink);
}

.foot .reveal-mail {
  color: var(--cyan-ink);
  font-weight: 600;
}

.foot-line a[href^='mailto'],
.foot-line a[href^='tel'] {
  color: var(--ink);
  font-weight: 600;
}

.foot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.88rem;
}

.foot-bar p {
  max-width: none;
}

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- language switch (header and footer) ---------- */

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.lang-switch a,
.lang-switch .lang-current {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 32px;
  padding: 0 8px;
  border-radius: 7px;
  color: var(--ink-2);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--ink);
  background: var(--surface-2);
  text-decoration: none;
}

.lang-switch .lang-current {
  background: var(--ink);
  color: var(--paper);
}

.lang-foot a,
.lang-foot .lang-current {
  height: 28px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .sec-grid,
  .contact-grid,
  .charts {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .steps li::after {
    display: none;
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1020px) {
  .menu-btn {
    display: inline-grid;
  }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 14px 8px;
    font-size: 1rem;
  }
  .tools {
    margin-left: auto;
  }
}

@media (max-width: 620px) {
  .features,
  .facts,
  .steps {
    grid-template-columns: 1fr;
  }
  form.contact {
    grid-template-columns: 1fr;
  }
  .bar {
    grid-template-columns: 6.5rem 1fr 3rem;
  }
  .tools .btn-sm span {
    display: none;
  }
  .brand .brand-name {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .step-in,
  .bar-fill,
  .split-bar span {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .demo-input .caret {
    animation: none;
  }
}

/* ---------- one team, three brands ---------- */

.brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.brand-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.15s,
    transform 0.15s;
}

.brand-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.brand-card svg {
  width: 30px;
  height: 30px;
  color: var(--cyan-ink);
}

.brand-card p {
  color: var(--ink-2);
  font-size: 0.97rem;
}

.brand-url {
  color: var(--cyan-ink);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- footer credits, centred ---------- */

.foot-credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.85rem;
  text-align: center;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.form-note {
  grid-column: 1 / -1;
  color: var(--ink-2);
  font-size: 0.8rem;
}

.form-note a {
  color: var(--ink-2);
}

/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  max-width: 980px;
  margin-inline: auto;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  flex: 1 1 420px;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.cookie-banner strong {
  color: var(--ink);
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 980px) {
  .brands {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
}

/* ---------- other CJ web tools ---------- */

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

.tool {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tool img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.tool h3 {
  font-size: 1.05rem;
}

.tool p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 0.93rem;
}

.tools-cta {
  margin-top: 28px;
}

main > section.alt .brand-card {
  background: var(--surface);
}

/* ---------- legal pages ---------- */

.legal {
  padding: calc(68px + 48px) 0 72px;
}

.legal .wrap {
  max-width: 820px;
}

.crumbs {
  margin-bottom: 18px;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.crumbs a {
  color: var(--ink-2);
}

.legal h1 {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem);
}

.legal .lead {
  margin-top: 14px;
}

.legal-updated {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 0.88rem;
}

.legal-body {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}

.legal-body h2 {
  margin-top: 26px;
  font-size: 1.45rem;
}

.legal-body h3 {
  margin-top: 12px;
  font-size: 1.08rem;
}

.legal-body ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  max-width: 66ch;
}

.legal-body li,
.legal-body p {
  color: var(--ink-2);
}

.table-scroll {
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--ink);
  font-weight: 650;
}

.legal-table td {
  color: var(--ink-2);
}

/* the English legal pages: a translation, the Greek text prevails */
.legal-note {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--yellow);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.92rem;
}

/* ---------- footer and language switch on smaller screens ---------- */

@media (max-width: 980px) {
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 32px;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .foot-brand p {
    max-width: 56ch;
  }
}

@media (max-width: 620px) {
  .foot {
    padding-top: 48px;
  }
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .foot-bar {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 36px;
  }
  /* the header keeps only the link to the other language */
  .lang-top {
    padding: 0;
    border: 0;
    background: none;
  }
  .lang-top .lang-current {
    display: none;
  }
  .lang-top a {
    min-width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    color: var(--ink);
  }
  .top-in {
    gap: 12px;
  }
  .tools {
    gap: 6px;
  }
}

/* on narrow phones the header keeps the logo mark (its name is in the aria-label) so the language,
   theme, sign-in and menu buttons fit without spilling over the edge */
@media (max-width: 460px) {
  .top .brand-words {
    display: none;
  }
}

/* between the mobile menu and wide screens: the sign-in button keeps its short label */
@media (min-width: 1021px) and (max-width: 1480px) {
  .tools .btn-login span {
    display: none;
  }
  .nav a {
    padding: 8px 9px;
    white-space: nowrap;
  }
  .top-in {
    gap: 16px;
  }
}

/* ---------- pricing (/times, /en/pricing): sliders, the press sheet, the proof ---------- */

.nav a[aria-current='page'] {
  color: var(--ink);
  background: var(--surface-2);
}

main > section.pr-top {
  padding-top: calc(68px + clamp(28px, 5vw, 64px));
}

.pr-head {
  max-width: 760px;
}

.pr-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 48px);
}

.pr-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'stores sheet'
    'suppliers sheet'
    'billing sheet';
  gap: 18px clamp(20px, 3vw, 36px);
  align-items: start;
}

.pr-controls > .pr-cyan {
  grid-area: stores;
}

.pr-controls > .pr-magenta {
  grid-area: suppliers;
}

.pr-billing {
  grid-area: billing;
}

.pr-sheet-wrap {
  grid-area: sheet;
}

.pr-cyan {
  --ink-c: var(--cyan-ink);
  --ink-soft: var(--cyan);
}

.pr-magenta {
  --ink-c: var(--magenta-ink);
  --ink-soft: var(--magenta);
}

.pr-slider {
  padding: 18px 20px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pr-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pr-slider-head label {
  font-weight: 700;
  font-size: 1.05rem;
}

.pr-slider output {
  min-width: 2.2ch;
  text-align: right;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-c);
  font-variant-numeric: tabular-nums;
}

.pr-slider output.bump {
  animation: pr-bump 0.32s ease-out;
}

@keyframes pr-bump {
  40% {
    transform: translateY(-4px) scale(1.08);
  }
}

.pr-slider input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 30px;
  margin: 10px 0 2px;
  background: transparent;
  cursor: pointer;
}

.pr-slider input[type='range']::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--ink-soft) var(--fill), var(--surface-2) var(--fill));
}

.pr-slider input[type='range']::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--ink-soft) var(--fill), var(--surface-2) var(--fill));
}

.pr-slider input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -9px;
  border: 4px solid var(--ink-soft);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 4px 14px -4px rgb(15 27 45 / 0.45);
  transition: transform 0.15s;
}

.pr-slider input[type='range']::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 4px solid var(--ink-soft);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 4px 14px -4px rgb(15 27 45 / 0.45);
}

.pr-slider input[type='range']:active::-webkit-slider-thumb {
  transform: scale(1.15);
}

.pr-slider input[type='range']:focus-visible {
  outline: 3px solid var(--ink-soft);
  outline-offset: 4px;
  border-radius: 999px;
}

.pr-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pr-ticks span {
  display: flex;
  justify-content: center;
  width: 0;
}

.pr-hint {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 0.88rem;
}

.pr-billing {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.pr-billing legend {
  margin-bottom: 8px;
  padding: 0;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 650;
}

.pr-billing label {
  position: relative;
  display: inline-block;
}

.pr-billing input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.pr-billing span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
  font-weight: 650;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.pr-billing input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.pr-billing input:focus-visible + span {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.pr-billing b {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--yellow);
  color: #0f1b2d;
  font-size: 0.74rem;
  font-weight: 750;
}

/* The press sheet: rows are stores (cyan), columns suppliers (magenta); the plan is where the two inks overprint. */
.pr-sheet {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n), 1fr);
  gap: 6px;
  width: clamp(220px, 24vw, 290px);
  padding: 26px 0 0 26px;
}

.pr-axis {
  position: absolute;
  font-size: 0.74rem;
  font-weight: 650;
  white-space: nowrap;
}

.pr-axis-x {
  top: 2px;
  left: 26px;
  color: var(--magenta-ink);
}

.pr-axis-y {
  top: 26px;
  left: 2px;
  writing-mode: vertical-rl;
  color: var(--cyan-ink);
}

.pr-cell {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  cursor: pointer;
  transition:
    background 0.3s ease calc(var(--d) * 32ms),
    border-color 0.3s ease calc(var(--d) * 32ms),
    transform 0.15s;
}

.pr-cell.is-s {
  border-color: transparent;
  background: color-mix(in srgb, var(--cyan) 22%, var(--surface));
}

.pr-cell.is-p {
  border-color: transparent;
  background: color-mix(in srgb, var(--magenta) 20%, var(--surface));
}

.pr-cell.is-in {
  border-color: transparent;
  background: color-mix(in srgb, var(--cyan) 52%, var(--magenta));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
}

.pr-cell.is-pick {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.pr-cell:hover {
  transform: scale(1.08);
}

.pr-cell:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.pr-sheet.is-over::after {
  content: '+';
  position: absolute;
  right: -10px;
  bottom: -10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  color: #0f1b2d;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.pr-sheet-wrap .pr-hint {
  max-width: 290px;
  padding-left: 26px;
}

/* The proof: the price, on press-ink navy with the process inks along the top. */
.pr-proof {
  position: sticky;
  top: 92px;
  padding: 34px clamp(22px, 3vw, 34px) 28px;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(90deg, var(--cyan) 0 33.3%, var(--magenta) 0 66.6%, var(--yellow) 0) top / 100% 6px no-repeat,
    var(--band);
  color: var(--band-ink);
  box-shadow: var(--shadow);
}

.pr-plan {
  margin: 0 0 6px;
  color: var(--band-ink-2);
  font-weight: 650;
}

.pr-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
}

.pr-amount {
  font-size: clamp(3rem, 2.2rem + 2.6vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pr-per {
  color: var(--band-ink-2);
  font-weight: 600;
}

.pr-note {
  margin: 8px 0 0;
  color: var(--yellow);
  font-size: 0.92rem;
  font-weight: 600;
}

.pr-lines {
  margin: 22px 0;
}

.pr-lines div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.pr-lines dt {
  color: var(--band-ink-2);
  font-size: 0.95rem;
}

.pr-lines dd {
  margin: 0;
  font-weight: 750;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.pr-ai {
  margin: -10px 0 22px;
  padding: 0 0 0 18px;
  color: var(--band-ink-2);
  font-size: 0.86rem;
  line-height: 1.5;
}

.pr-ai li + li {
  margin-top: 6px;
}

.pr-ai strong {
  color: inherit;
  font-weight: 700;
}

.pr-ai-note {
  margin: -12px 0 20px;
  color: var(--band-ink-2);
  font-size: 0.82rem;
}

.pr-cta {
  width: 100%;
}

.pr-vat {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 0.85rem;
}

.pr-proof .pr-vat {
  color: var(--band-ink-2);
  text-align: center;
}

.pr-over h2 {
  color: var(--band-ink);
  font-size: 1.6rem;
}

.pr-over p {
  color: var(--band-ink-2);
}

.pr-over-mark {
  margin: 0;
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--yellow) !important;
}

.pr-quote,
.pr-over {
  animation: pr-in 0.35s ease-out;
}

@keyframes pr-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.pr-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 32px);
}

.pr-inc {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pr-inc-yellow {
  --ink-c: var(--yellow);
  --tick: #a37800;
}

.pr-inc-cyan {
  --ink-c: var(--cyan);
  --tick: var(--cyan-ink);
}

:root[data-theme='dark'] .pr-inc {
  --tick: var(--ink-c);
}

.pr-inc h3::before {
  content: '';
  display: block;
  width: 44px;
  height: 6px;
  margin-bottom: 14px;
  border-radius: 3px;
  background: var(--ink-c);
}

.pr-inc h3 {
  margin-bottom: 18px;
}

.pr-inc .checks {
  gap: 14px;
}

.pr-inc .checks svg {
  color: var(--tick);
}

.pr-inc .checks p {
  margin: 0;
}

.pr-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.pr-table th,
.pr-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.pr-table thead th {
  color: var(--magenta-ink);
  font-weight: 750;
}

.pr-table tbody th {
  text-align: left;
  color: var(--cyan-ink);
  font-weight: 750;
}

.pr-table thead th:first-child {
  text-align: left;
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 650;
}

.pr-table td strong {
  display: block;
  font-size: 1.1rem;
}

.pr-table td span {
  display: block;
  color: var(--ink-2);
  font-size: 0.8rem;
}

.pr-table td {
  transition: background 0.25s;
}

.pr-table td.is-current {
  border-radius: 8px;
  background: color-mix(in srgb, var(--yellow) 26%, var(--surface));
  box-shadow: inset 0 0 0 2px var(--yellow);
}

.pr-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pr-band > div {
  max-width: 680px;
}

@media (max-width: 1020px) {
  .pr-calc {
    grid-template-columns: 1fr;
  }
  .pr-proof {
    position: static;
  }
}

@media (max-width: 980px) {
  .pr-includes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .pr-controls {
    grid-template-columns: 1fr;
    grid-template-areas: 'stores' 'suppliers' 'sheet' 'billing';
  }
  .pr-sheet {
    width: min(100%, 300px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pr-cell,
  .pr-table td {
    transition: none;
  }
  .pr-slider output.bump,
  .pr-quote,
  .pr-over {
    animation: none;
  }
}

.nav a {
  white-space: nowrap;
}

.pr-band h2 {
  margin-bottom: 12px;
}

/* An option not offered yet: shown, not selectable. */
.pr-billing label.is-soon span {
  opacity: 0.55;
  border-style: dashed;
}

.pr-billing label.is-soon input {
  cursor: not-allowed;
}

/* The header is wider than the content: logo, menu and tools get room to breathe. */
.wrap.top-in {
  width: min(1440px, 100% - 48px);
  gap: 40px;
}

@media (min-width: 1021px) and (max-width: 1480px) {
  .wrap.top-in {
    gap: 24px;
  }
}

@media (max-width: 1020px) {
  .wrap.top-in {
    width: min(1160px, 100% - 32px);
    gap: 16px;
  }
}

/* «Κουπόνι» in the price proof */
.pr-coupon {
  margin: 6px 0 14px;
}
.pr-coupon label {
  display: block;
  margin-bottom: 6px;
  color: var(--band-ink-2);
  font-size: 0.95rem;
}
.pr-coupon-row {
  display: flex;
  gap: 8px;
}
.pr-coupon-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.06);
  color: inherit;
  font: inherit;
  text-transform: uppercase;
}
.pr-coupon-msg {
  margin: 8px 0 0;
  color: #ff9ec9;
  font-size: 0.92rem;
}
.pr-coupon-sum {
  margin-bottom: 14px;
}
.pr-coupon-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}
.pr-coupon-remove {
  border: 0;
  background: none;
  color: var(--band-ink-2);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.pr-coupon-sum .pr-lines {
  margin: 8px 0 0;
}
.pr-coupon-sum dd s {
  opacity: 0.6;
  font-weight: 500;
}
.pr-coupon-sum dt small {
  display: block;
  font-size: 0.82rem;
}

/* «Πληρωμή με την παραγγελία» / «Μετά»: the parts under the label; the first year smaller, as information */
.pr-lines dt small {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  opacity: 0.8;
}

.pr-lines div[hidden] {
  display: none;
}

.pr-lines .pr-minor dt,
.pr-lines .pr-minor dd {
  font-size: 0.85rem;
  font-weight: 500;
}

#pr-after,
#pr-coupon-lines dd {
  white-space: normal;
  text-align: right;
}

/* the amount with VAT under an amount without it */
.pr-lines dd .pr-withvat {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.8;
}
