/* Fonts, all served from our own domain (no request to Google before consent).
   - Foundry Sterling: the brand font. Only one file (regular) exists, so bold text is thickened
     by the browser. The old site worked the same way; do not add fake weight declarations.
   - Muli and Montserrat: open-licence Google fonts, downloaded once. They are "variable" fonts:
     one file holds every weight. "latin-ext" carries the Czech/Slovak accented letters. */
@font-face {
  font-family: "Foundry Sterling";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/FoundrySterling.woff2") format("woff2");
}
@font-face {
  font-family: "Muli";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/muli-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;
}
@font-face {
  font-family: "Muli";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/muli-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: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/montserrat-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;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/montserrat-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;
}

/* Look of the whole site: page frame, header, footer and the building blocks used by the pages.

   Shared by the Slovak and the Czech site. Everything that differs between them is a custom
   property in :root and can be overridden per language, e.g.  html:lang(cs) { --c-step2: ...; }

   Breakpoints (taken over from the old site, do not round them):
     up to 1023 px  hamburger menu instead of the menu row
     up to  767 px  columns stack, smaller headings, pictures and boxes reach the screen edges
   Between 768 and 1119 px the content keeps a 20 px margin on both sides (--gutter); the old site
   let it touch the window edges there.
   Sizes are px on purpose: they are measured values of the old site. */

:root {
  --font-brand: "Foundry Sterling", "Helvetica Neue", Arial, sans-serif;
  --font-base: Muli, "Helvetica Neue", Arial, sans-serif;

  --c-text: #6a6b6c;        /* default text, footer */
  --c-copy: #79787f;        /* paragraphs in the content */
  --c-brand: #913d94;       /* purple: links, default headings, "home" */
  --c-step1: #209942;       /* green of step 1 */
  --c-step2: #f09000;       /* orange of step 2 */
  --c-step3: #3fbfeb;       /* blue of step 3, FAQ and tips */
  --c-band: #23a455;        /* full-width green band (registration, myths) */
  --c-band-orange: #ef7a10; /* full-width orange band (step 2) */
  --c-band-blue: #00a9ed;   /* full-width blue band (step 3) */

  --container: 1080px;      /* width of the content column */
  --gutter: 20px;           /* smallest distance of the content from the window edge */
  --header-h: 143px;        /* height of the sticky header; site.js keeps it exact */
}
@media (max-width: 767px) {
  :root { --gutter: 0px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  /* Anchor links (#prihlaseni ...) stop below the sticky header, not under it. */
  scroll-padding-top: var(--header-h);
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font: 400 18px/27px var(--font-base);
  color: var(--c-text);
  background: #fff;
  /* Same text rendering as the old site (thinner letters on macOS / iOS). */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--c-brand); text-decoration: none; }
a:hover { color: #000; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */

/* Sticky (not fixed): it keeps its place in the page flow, so the content can never slide under it. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding-top: 10px;
  background: #fff;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}
.site-header__top,
.site-nav {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin: 0 auto;
}
.site-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 16px;
  border-bottom: 1px solid #e3e2e7;
}
/* The logo column is 27 % of the row on the old site; the formula reproduces its 15 px gutter. */
.site-header__logo { display: block; flex: 0 1 auto; max-width: calc((100% + 15px) * 0.27 - 15px); }
.site-header__logo img { display: block; width: 350px; }
.site-header__logo:hover { text-decoration: underline; }

.site-header__social { display: flex; gap: 7px; width: 198px; padding: 0; list-style: none; }
.site-header__social li { flex: 1 1 0; }
.site-header__social a {
  display: flex;
  align-items: flex-start;
  font: 400 14px/32.2px var(--font-brand);
  color: #247ea0;
}
.site-header__social svg { flex: none; width: 11px; height: 11px; margin: 10px 5px 10px 10px; fill: rgba(119, 119, 119, 0.85); }

.site-nav__toggle { display: none; }
.site-nav__list { display: flex; flex-wrap: wrap; padding: 0; list-style: none; }
.site-nav__list li { padding: 2px 10px; }
.site-nav__list a { display: block; font: 400 14px/28px var(--font-base); color: #636363; }

/* Each menu item has its own colour, used on hover and for the current page. */
[data-nav="home"] { --nav-color: var(--c-brand); }
[data-nav="step1"], [data-nav="signup"] { --nav-color: var(--c-step1); }
[data-nav="step2"] { --nav-color: var(--c-step2); }
[data-nav="step3"], [data-nav="faq"], [data-nav="tips"] { --nav-color: var(--c-step3); }

/* Current page: the page sets a class on <body> ("body_class" in the page metadata). */
.page-home [data-nav="home"],
.page-step1 [data-nav="step1"],
.page-step2 [data-nav="step2"],
.page-step3 [data-nav="step3"],
.page-faq [data-nav="faq"],
.page-tips [data-nav="tips"] { background: var(--nav-color); }
.page-home [data-nav="home"] a,
.page-step1 [data-nav="step1"] a,
.page-step2 [data-nav="step2"] a,
.page-step3 [data-nav="step3"] a,
.page-faq [data-nav="faq"] a,
.page-tips [data-nav="tips"] a { color: #fff; }

@media (hover: hover) {
  .site-nav__list li:hover { background: var(--nav-color); }
  .site-nav__list li:hover a { color: #fff; }
}

@media (max-width: 1023px) {
  :root { --header-h: 150px; }
  .site-header__top { padding: 0; }
  .site-header__logo { max-width: calc((100% + 15px) * 0.326 - 15px); }
  .site-nav { width: 100%; }

  .site-nav__toggle {
    display: block;
    width: 100%;
    padding: 9.9px 0;
    border: 0;
    background: none;
    color: #111;
    line-height: 0;
    cursor: pointer;
  }
  .site-nav__toggle svg { width: 33px; height: 33px; fill: currentColor; }
  .site-nav__icon-close,
  .site-nav__toggle[aria-expanded="true"] .site-nav__icon-open { display: none; }
  .site-nav__toggle[aria-expanded="true"] .site-nav__icon-close { display: inline; }

  /* Dropdown under the header; it lies over the page, nothing is pushed down. */
  .site-nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    text-align: center;
  }
  .site-nav__toggle[aria-expanded="true"] + .site-nav__list { display: block; }
  .site-nav__list li { padding: 0; }
  .site-nav__list a { padding: 10px 28px; }
  .page-home [data-nav="home"],
  .page-step1 [data-nav="step1"],
  .page-step2 [data-nav="step2"],
  .page-step3 [data-nav="step3"],
  .page-faq [data-nav="faq"],
  .page-tips [data-nav="tips"] { padding-top: 2px; }
}

@media (max-width: 767px) {
  :root { --header-h: 189px; }
  .site-header__top { flex-wrap: wrap; }
  .site-header__logo { flex: 1 0 100%; max-width: 100%; }
  .site-header__social { width: 100%; }
}

/* ---------- Footer ---------- */

.site-footer { padding: 40px 20px; background: #fff; text-align: center; }
.site-footer p { font: 300 14px/24.5px var(--font-brand); color: var(--c-text); }
@media (max-width: 1023px) { .site-footer { padding: 40px; } }
@media (max-width: 767px) { .site-footer { padding: 20px; } }

/* ---------- Page frame ---------- */

/* A section spans the whole window width; .container keeps its content in the 1080 px column. */
.section { margin-bottom: 40px; }
/* flow-root: margins of the first/last block inside stay inside the container. */
.container { display: flow-root; width: min(var(--container), 100% - 2 * var(--gutter)); margin: 0 auto; }

/* Full-width coloured band with white text (registration form, myths ...). */
.section--band { margin-bottom: 0; padding: 1px; background: var(--c-band); color: #fff; }
.section--band > .container { padding: 30px 0 62px; }
.section--band-orange { background: url("/assets/img/smartBack.jpg") center / cover no-repeat, var(--c-band-orange); }
.section--band-blue { background: var(--c-band-blue); }
.section--band-photo { background: url("/assets/img/smartBlueBack.jpg") center / cover no-repeat, var(--c-band-blue); }

/* ---------- Text ---------- */

/* .text wraps headings and paragraphs written in the brand font. */
.text { padding: 1px; }
.text p { padding-bottom: 24px; font: 400 20px/35px var(--font-brand); color: var(--c-copy); }
.text h1 { padding-bottom: 24px; font: 800 52px/1.3 var(--font-brand); color: var(--c-brand); }
.text h2 { padding-bottom: 24px; font: 800 37px/1.4 var(--font-brand); color: var(--c-brand); }
.text b { font-weight: 700; }
.text strong { font-weight: 800; }
.text .regular { font-weight: 400; }
.section--band .text :is(h1, h2, p) { color: #fff; }
@media (max-width: 1023px) {
  .text h1 { font-size: 36px; }
  .text h2 { font-size: 28px; }
}
@media (max-width: 767px) {
  .text { padding: 0 10px; }
  .text :is(h1, h2, p) { padding-bottom: 20px; }
  .text h1 { font-size: 28px; }
  .text h2 { font-size: 24px; }
}

/* Small helpers for single headings / paragraphs (they keep their size on every screen). */
.text .size-37 { font-size: 37px; }
.text .size-34 { font-size: 34px; }
.text .size-32 { font-size: 32px; }
.text .size-18 { font-size: 18px; }
.text .tight { padding-bottom: 0; }
/* Heading in the colour of the current page. */
.text .accent { color: var(--accent); }
.page-home { --accent: var(--c-brand); }
.page-step1 { --accent: var(--c-step1); }
.page-step2 { --accent: var(--c-step2); }
.page-step3, .page-faq, .page-tips { --accent: var(--c-step3); }

/* ---------- Hero banner ---------- */

/* Wide picture with the headline painted in it. On phones the old site shows it three times wider
   than the screen and cuts off everything but the left third, so the headline stays readable.
   --hero-shift moves the picture a little to the left (differs per page). */
.hero { margin-bottom: 20px; overflow: hidden; }
.hero img { display: block; width: 100%; }
@media (max-width: 767px) {
  /* 300 % on phones; capped at 1170 px so the banner does not grow huge on wider screens. */
  .hero img { width: min(300%, 1170px); max-width: none; margin-left: var(--hero-shift, 0); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 18px;
  background: var(--btn-color, var(--c-brand));
  color: #fff;
  font: 400 16px/1.2 var(--font-base);
  letter-spacing: 2px;
  text-align: center;
}
.btn:hover { color: #fff; }
.btn--small { padding: 8px 40px; font-size: 12px; line-height: 24px; text-transform: uppercase; }
.btn--step1 { --btn-color: var(--c-step1); }
.btn--step2 { --btn-color: #e87700; }
.btn--step3 { --btn-color: var(--c-band-blue); }
.btn--blue { --btn-color: #2f8ae4; }

/* Back / next buttons between the step pages: a row of equal cells, each button centred in its cell. */
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 15px;
  justify-items: center;
  align-items: start;
  max-width: 402px;
  min-height: 152px;
  margin: 0 auto;
  padding: 46px 21px 0;
}
.pager--4 { grid-template-columns: 143.75fr 104.38fr 183.12fr 143.75fr; max-width: 662px; }
/* Buttons with longer labels: cells as wide as their text. */
.pager--auto { grid-template-columns: auto auto; justify-content: center; max-width: none; }
@media (max-width: 767px) {
  .pager--4 { grid-template-columns: 1fr; row-gap: 10px; padding-bottom: 46px; }
}

/* ---------- Two columns: text + picture ---------- */

/* --split is the share of the first column. Stacks on phones. */
.split { display: flex; gap: 15px; margin: 10px 0; padding: 15px 0; --split: 63.7%; }
.split__main { flex: none; width: calc((100% + 15px) * var(--split) / 100% - 15px); }
.split__side { flex: 1 1 0; min-width: 0; }
.split__side img { display: block; margin: 20px 0; }
.split__badge { display: block; margin: 20px 0; }
.split--band { --split: 57.4%; margin-bottom: 0; }
.split--band .text { padding: 0; }
.split--band .split__side { display: flex; align-items: flex-end; }
.split--band .split__side img { width: 100%; }
@media (max-width: 767px) {
  .split { flex-direction: column; gap: 0; }
  .split__main { width: auto; }
  .split__side { flex: none; }
  .split__side img { margin-inline: auto; }
  .split__badge { padding: 0 10px; }
  .split--band .text { padding: 0 10px; }
}

/* ---------- Grey box ---------- */

.box { margin: 20px 0; padding: 20px; background: #eaeaea; }
.box .text { padding: 0; }
.box .text p { padding-bottom: 10px; }

/* ---------- Video (YouTube, loaded after a click) ---------- */

.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video__play img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Red play button drawn as an inline picture, so nothing is fetched from YouTube. */
.video__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Crect width='68' height='48' rx='11' fill='%23f00'/%3E%3Cpath d='M27 14v20l18-10z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Grid of videos, each in a grey card with a title. Three in a row; --2 = two wide ones (FAQ). */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 29px 30px; margin: 45px 0; }
.video-card { padding: 20px; background: #eaeaea; }
.video-card p { padding-bottom: 10px; font: 400 16px/28px var(--font-brand); color: var(--c-copy); }
.video-card strong { font-weight: 800; }
.video-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 55px; }
.video-grid--2 .video-card p { font-size: 20px; line-height: 35px; }
/* Videos in a section of their own (step 3). */
.section--videos { margin-bottom: 0; padding: 20px 0; }
@media (max-width: 767px) {
  .video-grid { grid-template-columns: 1fr; gap: 20px; }
  .video-grid--2 { gap: 40px; }
}

/* ---------- Accordion (questions and answers) ---------- */

/* Native <details>/<summary>: works without JavaScript, several items can be open at once. */
.accordion { display: flex; gap: 6px; margin-top: 20px; padding: 1px; }
.accordion__col { flex: 1 1 0; min-width: 0; }
.accordion details { margin-bottom: 5px; }
.accordion summary {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(3, 3, 3, 0.14);
  background: #fff;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { flex: none; width: 18px; height: 18px; margin-right: 8px; fill: var(--c-text); transition: transform 0.25s; }
.accordion summary h4 { font: 800 16px/32px var(--font-brand); color: #030303; }
/* Hover and open state: the border looks 2 px thick. Drawn as an inner shadow so the row does not jump. */
.accordion summary:hover,
.accordion details[open] > summary { box-shadow: inset 0 0 0 1px rgba(3, 3, 3, 0.14); }
.accordion summary:hover h4,
.accordion details[open] > summary h4 { color: #0c1115; }
.accordion summary:hover svg,
.accordion details[open] > summary svg { fill: #0c1115; }
.accordion details[open] > summary svg { transform: rotate(135deg); }
.accordion__body { padding: 20px; }
.accordion__body p { padding-bottom: 24px; font: 400 15px/1.75 var(--font-brand); color: var(--c-copy); }
.accordion__body b { font-weight: 700; }
/* A few answers on the old site are set in the base font; kept as they are. */
.accordion__body--base p { font-family: var(--font-base); color: #818181; }
@media (max-width: 767px) {
  .accordion { flex-direction: column; gap: 0; }
}

/* ---------- Cards with a picture, a short text and a button ---------- */

/* Home page: three step cards in a row. */
.cards { display: flex; gap: 15px; margin-top: 10px; padding: 15px 0; }
.cards > * { flex: 1 1 0; min-width: 0; }
.step-card { padding: 20px; }
.step-card img { display: block; width: 100%; margin-top: 20px; }
.step-card__body { margin-top: -2px; padding: 10px; background: #f2f2f2; }
.step-card__body p { padding-bottom: 24px; font: 400 18px/1.4 var(--font-brand); color: var(--card-color); }
.step-card__body .btn { display: flex; width: max-content; max-width: 100%; margin: 0 20px 0 auto; --btn-color: var(--card-color); }
.step-card--1 { --card-color: #00a010; }
.step-card--1 .btn { --btn-color: #05a300; }
.step-card--2 { --card-color: #f28500; }
.step-card--3 { --card-color: #1795d8; }
/* One wide card with a centred button (step 3). */
.section--card { margin-bottom: 0; padding: 16px 0 56px; }
.step-card--wide img { margin-top: 0; }
.step-card--wide .step-card__body .btn { margin: 0 auto; }
@media (max-width: 1023px) {
  /* Two cards in a row, the third one centred below them. */
  .cards { flex-wrap: wrap; justify-content: center; }
  .cards > * { flex: 0 1 calc(50% - 7.5px); }
  /* The middle card has the shortest text; the extra space keeps the three cards the same height. */
  .step-card--2 .step-card__body p { margin-bottom: 25px; }
}
@media (max-width: 767px) {
  .cards { gap: 0; }
  .cards > * { flex-basis: 100%; }
  .step-card__body p { padding-bottom: 20px; }
}

/* ---------- Registration / cashback form (iframe of the cashback app) ---------- */

.form-embed { margin-top: 20px; padding: 1px; }
.form-embed iframe { display: block; width: 100%; border: 0; }

@media (max-width: 767px) {
  /* Phones: text keeps 10 px from the screen edge, pictures inside a band may reach it. */
  .section--band .text,
  .section--band .split--band .text { padding: 0 10px; }
  .form-embed { margin-inline: 10px; }
}

/* Home page only: the old page sits 2 px under the header and leaves 15 px above the footer. */
.page-home main { margin: -2px 0 15px; }

/* ---------- Pages without a hero picture (cookie policy, "5 things") ---------- */

.section--text { padding-top: 30px; }
.section--plain { margin-bottom: 0; padding: 1px 0; }
.banner { display: block; width: 100%; margin-bottom: 20px; }

.text--center { text-align: center; }
.cta-row { margin: 20px 0; text-align: center; }
.btn--rounded { border-radius: 5px; font-size: 18px; }
.btn strong { font-weight: 800; }

/* ---------- Cashback page ---------- */

:root { --font-display: Montserrat, "Helvetica Neue", Arial, sans-serif; }

/* Intro: text and button on the left, photo on the right; stacked and centred on phones. */
.promo { display: flex; gap: 15px; margin-bottom: 10px; padding: 40px 0 15px; }
.promo__text { flex: none; width: calc((100% + 15px) * 0.433 - 15px); padding-left: 1px; }
.promo__photo { flex: 1 1 0; min-width: 0; }
.promo__photo img { display: block; width: 100%; }
.promo__logo { display: block; width: 120px; margin: 20px 0 21px -1px; }
.promo__title { margin-bottom: 2px; font: 400 44px/1.35 var(--font-display); color: var(--c-text); }
.promo__lead { padding-bottom: 19px; font: 400 32px/35.1px var(--font-brand); color: var(--c-text); }
.promo__amount { padding-bottom: 21px; font: 800 38px/17px var(--font-brand); color: #229537; }
.promo .btn { margin: 21px 0 20px -1px; }
.btn--cta { padding: 18px 80px; --btn-color: #229537; }

.text--center h3 { padding-bottom: 24px; font: 400 33px/1.4 var(--font-display); color: #0c1115; }
.text--tight p { line-height: 28px; }
.text .rules-link { font-size: 16px; }
.rules-link a { text-decoration: underline; }

/* Three steps: white cards with a soft shadow and a drawn picture. */
.how-cards { display: flex; gap: 15px; margin-top: 10px; padding: 15px 0; }
.how-card { flex: 1 1 0; min-width: 0; min-height: 320px; padding: 20px; box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); text-align: center; }
.how-card__icon { display: block; width: 100%; height: 138px; object-fit: contain; }
.how-card h4 { padding: 1px; font: 400 20px/29px var(--font-display); color: #0c1115; }
.how-card p { padding: 1px 1px 25px; font: 400 20px/28px var(--font-brand); color: var(--c-copy); }
.how-cards + .cta-row { margin-top: 60px; }
/* Band that ends right under the form (cashback page). */
.section--band-tight > .container { padding-bottom: 40px; }

@media (max-width: 1023px) {
  .how-card__icon { height: 117px; }
}
@media (max-width: 767px) {
  .promo { flex-direction: column; gap: 0; text-align: center; }
  .promo__text { width: auto; padding: 0 10px; }
  .promo__logo { margin-inline: auto; }
  .promo__title { font-size: 35px; font-weight: 500; }
  .promo__lead br { display: none; }
  .promo__amount { line-height: 19.6px; }
  .promo .btn { margin-inline: 0; }
  .text--center h3 { padding-bottom: 20px; }
  .how-cards { flex-direction: column; gap: 20px; }
  .how-card { flex: none; min-height: 0; }
  .how-card__icon { height: 173px; }
  .how-card p { padding-bottom: 21px; }
  .section--band-tight .form-embed { margin-inline: 0; }
}

/* ---------- Legal text (cookie policy) ---------- */

.legal { max-width: 800px; font-family: var(--font-brand); }
.legal p { padding-bottom: 24px; font-size: 14px; line-height: 24.5px; color: var(--c-copy); }
.legal h2, .legal h3 { margin: 15px 0 10px; padding-bottom: 10px; font-size: 22px; line-height: 1.4; }
.legal h2 { font-weight: 800; color: var(--c-brand); }
.legal h3 { font-weight: 400; color: #0c1115; }
.legal ul { padding: 0 0 0 21px; }
.legal li { padding-bottom: 16px; font-size: 14px; line-height: 1.4; }
.legal a { text-decoration: underline; }
/* A button that looks like a text link (opens the cookie settings). */
.link-button { padding: 0; border: 0; background: none; font: inherit; color: var(--c-brand); text-decoration: underline; cursor: pointer; }
.link-button:hover { color: #000; }
/* Wide tables scroll sideways inside their own box instead of widening the page. */
.table-scroll { overflow-x: auto; margin-bottom: 24px; }
.cookie-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 1.5; color: var(--c-copy); }
.cookie-table th, .cookie-table td { padding: 8px 10px; border: 1px solid #e3e2e7; text-align: left; vertical-align: top; }
.cookie-table thead th { color: #0c1115; font-weight: 800; }
.cookie-table tbody th { background: #f2f2f2; color: #0c1115; font-weight: 800; }
.cookie-table code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; white-space: nowrap; }
@media (max-width: 767px) {
  .legal { padding: 0 10px; }
}

/* Cashback intro on narrower windows (768-1119 px): headline shrinks with the window so it stays on two lines. */
@media (min-width: 768px) and (max-width: 1119px) {
  .promo__title { font-size: min(44px, 4vw); }
  .promo__lead { font-size: min(32px, 3vw); }
}

/* Cookie banner, "manage consent" tab and chat placeholder.
   Layout, colours and sizes follow the old Complianz banner: a bar across the bottom of the window
   (title, message, three buttons), dark page behind it until the visitor chooses. */

.cc { position: fixed; inset: auto 0 0 0; z-index: 99999; font-family: var(--font-base, sans-serif); color: #191e23; }
.cc--wall { inset: 0; display: flex; align-items: flex-end; background: rgba(0, 0, 0, 0.7); }

.cc__box {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 20px;
  box-sizing: border-box;
  width: calc(100% - 20px);
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  margin: 10px;
  padding: 15px 20px 35px;
  border: 1px solid #f9f9f9;
  background: #f9f9f9;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  outline: none;
}
.cc__title { flex: 0 0 100%; margin-bottom: 19px; font-size: 15px; font-weight: 500; line-height: 22.5px; text-align: center; }
.cc__close { position: absolute; top: 18px; right: 24px; padding: 4px 8px; border: 0; background: none; font-size: 22px; line-height: 1; color: #191e23; cursor: pointer; }
.cc__message { flex: 1 1 280px; margin: 0; font-size: 16px; line-height: 28px; color: rgba(10, 10, 10, 0.85); }

.cc__buttons { flex: 0 1 770px; display: flex; gap: 10px; }
.cc__btn { flex: 1 1 0; height: 48px; padding: 0 10px; border: 1px solid; border-radius: 5px; font: 500 15px/1 var(--font-base, sans-serif); cursor: pointer; }
.cc__btn[hidden] { display: none; }
.cc__btn--accept { border-color: #21759b; background: #21759b; color: #fff; }
.cc__btn--deny { border-color: #f1f1f1; background: #f1f1f1; color: #21759b; }
.cc__btn--prefs { border-color: #21759b; background: #f1f1f1; color: #21759b; }

/* Preferences view (after "Predvoľby"): message | categories | buttons in a column. */
.cc__box--prefs { align-items: flex-start; }
.cc__cats { flex: 0 1 548px; }
.cc__cats[hidden] { display: none; }
.cc__box--prefs .cc__message { flex-basis: 240px; }
.cc__box--prefs .cc__buttons { flex: 0 0 250px; flex-direction: column; }
.cc__box--prefs .cc__btn { flex: none; height: 45px; }

/* One category: name, switch (or "always active"), arrow that unfolds the description. */
.cc-cat { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; margin-bottom: 10px; padding: 10px; background: rgba(239, 239, 239, 0.5); }
.cc-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; line-height: 22px; cursor: pointer; }
.cc-cat__always { font-size: 12px; font-weight: 500; color: green; }
.cc-cat__toggle { position: relative; flex: none; width: 28px; height: 14px; margin: 0; border-radius: 7px; background: #f56e28; cursor: pointer; appearance: none; -webkit-appearance: none; transition: background 0.2s; }
.cc-cat__toggle::before { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: left 0.2s; }
.cc-cat__toggle:checked { background: #21759b; }
.cc-cat__toggle:checked::before { left: 16px; }
.cc-cat__toggle:focus-visible, .cc-cat__more:focus-visible, .cc__btn:focus-visible, .cc-tab:focus-visible { outline: 2px solid #21759b; outline-offset: 2px; }
.cc-cat__more { width: 24px; height: 22px; padding: 0; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z'/%3E%3C/svg%3E") center / 16px no-repeat; cursor: pointer; }
.cc-cat__more[aria-expanded="true"] { transform: rotate(180deg); }
.cc-cat__text { grid-column: 1 / -1; margin: 8px 0 0; font-size: 12px; line-height: 1.5; }
.cc-cat__text[hidden] { display: none; }

.cc__links { flex: 0 0 100%; display: flex; justify-content: center; gap: 20px; margin-top: 10px; font-size: 12px; }
.cc__links a { color: #191e23; text-decoration: underline; }

/* Tab that reopens the banner: only its top edge peeks out, it slides up on hover / keyboard focus.
   Not shown on phones (as before); the footer link "Nastavenia cookies" does the same job there.
   It sits 190 px from the right edge (old site: 40 px) so that it never covers the chat button. */
.cc-tab {
  position: fixed;
  right: 190px;
  bottom: -35px;
  z-index: 9998;
  min-width: 100px;
  height: 50px;
  padding: 15px;
  border: 1px solid #f9f9f9;
  background: #f9f9f9;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  font: 400 16px/1.15 var(--font-base, sans-serif);
  color: #191e23;
  cursor: pointer;
  transition: bottom 0.3s;
}
.cc-tab:hover, .cc-tab:focus-visible { bottom: 0; }

/* Narrower windows: the three buttons share less room so that the message stays beside them. */
@media (max-width: 1100px) {
  .cc__message { flex-basis: 180px; }
  .cc__buttons { flex-basis: 480px; }
  .cc__box--prefs .cc__message { flex: 0 0 100%; margin-bottom: 14px; }
  .cc__cats { flex: 1 1 300px; }
}

@media (max-width: 767px) {
  .cc__box { width: 100%; max-height: 100vh; margin: 0; padding: 44px 20px 26px; }
  .cc__title { display: none; }
  .cc__message, .cc__box--prefs .cc__message { flex: 0 0 100%; margin-bottom: 30px; }
  .cc__cats { flex: 0 0 100%; margin-bottom: 10px; }
  .cc__buttons, .cc__box--prefs .cc__buttons { flex: 0 0 100%; flex-direction: column; }
  .cc__btn { flex: none; height: 45px; }
  .cc-tab { display: none; }
}

/* Chat placeholder ("Máte otázku?") shown instead of the Smartsupp chat until the visitor allows it. */
.chat-ph { position: fixed; right: 24px; bottom: 24px; z-index: 9997; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font: 14px/1.5 var(--font-base, sans-serif); color: #191e23; }
.chat-ph__button { padding: 14px 20px; border: 0; border-radius: 28px; background: #b743bf; color: #fff; font: 15px/1.2 var(--font-base, sans-serif); cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); }
.chat-ph__panel { width: 260px; max-width: calc(100vw - 48px); padding: 14px; background: #fff; border-radius: 8px; box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25); }
.chat-ph__panel[hidden] { display: none; }
.chat-ph__panel p { margin: 0 0 10px; }
.chat-ph__start { padding: 8px 14px; border: 0; border-radius: 5px; background: #b743bf; color: #fff; font: inherit; cursor: pointer; }
