/* ==========================================================================
   Clyroco, consent.css
   Cookie banner built by /consent.js, plus the "Nastavenia cookies" footer
   link. Shared by the homepage (style.css) and the landing pages
   (objednavky.css), so it uses brand colours directly and inherits the
   page's own font.
   ========================================================================== */

.cc {
  position: fixed; z-index: 60;
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  max-width: 440px; padding: 20px;
  border-radius: 20px; background: #ffffff; color: #0a1a2f;
  box-shadow: 0 0 0 1px rgba(10, 26, 47, 0.08), 0 24px 60px -18px rgba(10, 26, 47, 0.45);
  font-family: inherit; font-size: 0.9375rem; line-height: 1.5;
  animation: cc-in 0.35s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}
.cc[hidden] { display: none; }
.cc__title { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.015em; line-height: 1.3; }
.cc__text { margin: 0 0 16px; color: rgba(10, 26, 47, 0.75); }
.cc__text a { color: #2f6bff; font-weight: 650; text-underline-offset: 2px; white-space: nowrap; }

/* Both choices look exactly the same: same size, same colour, same weight. */
.cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc__btn {
  min-height: 48px; padding: 12px 16px; border: 0; border-radius: 12px;
  background: #2f6bff; color: #ffffff;
  font: inherit; font-weight: 750; font-size: 1rem; letter-spacing: -0.01em; line-height: 1.2;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}
.cc__btn:hover { background: #1f56e6; }
.cc :focus-visible { outline: 3px solid #2f6bff; outline-offset: 3px; border-radius: 12px; }

@media (min-width: 640px) {
  .cc { left: max(24px, env(safe-area-inset-left, 0px)); bottom: max(24px, env(safe-area-inset-bottom, 0px)); right: auto; padding: 24px; }
}

@keyframes cc-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cc { animation: none; } }

/* "Nastavenia cookies" footer link: a button that looks like its neighbours.
   It only works with JavaScript, so it is hidden without it. */
.cc-open {
  -webkit-appearance: none; appearance: none; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
html:not(.js) .cc-open { display: none; }
/* homepage footer (style.css) */
.footer-col .cc-open { transition: color 0.2s ease; }
.footer-col .cc-open:hover { color: #2f6bff; }
/* landing page footer (objednavky.css) */
.footer__links .cc-open { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.footer__links .cc-open:hover { color: #ffffff; }
