/* Cookies lišta – vzhled podle www.wellnessclubplzen.cz
   Barvy a písma upravte v proměnných podle www (DevTools → Computed). */
#wcp-cc {
  --wcp-accent: #d4137f;          /* růžová tlačítek a odkazů */
  --wcp-ink: #111111;             /* nadpisy, popisky kategorií */
  --wcp-text: #5a5a5a;            /* běžný text */
  --wcp-line: #e6e6e6;
  --wcp-bg: #ffffff;
  --wcp-font-head: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --wcp-font-body: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;

  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  display: none;
  padding: 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  pointer-events: none;
  box-sizing: border-box;
}
#wcp-cc.wcp-cc--open { display: block; }
#wcp-cc *, #wcp-cc *::before, #wcp-cc *::after { box-sizing: border-box; }
#wcp-cc [hidden] { display: none !important; }

#wcp-cc .wcp-card {
  position: relative;
  max-width: 980px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: 0 auto;
  padding: 36px 44px 34px;
  background: var(--wcp-bg);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  pointer-events: auto;
  font-family: var(--wcp-font-body);
  text-align: left;
  animation: wcp-in .25s ease-out;
}
@keyframes wcp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #wcp-cc .wcp-card { animation: none; } }

#wcp-cc .wcp-title {
  margin: 0 40px 14px 0;
  padding: 0;
  font-family: var(--wcp-font-head);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--wcp-ink);
}

#wcp-cc .wcp-text {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--wcp-text);
}
#wcp-cc .wcp-text a {
  color: var(--wcp-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#wcp-cc .wcp-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin: 0;
  border: 0;
  background: none;
  color: var(--wcp-ink);
  cursor: pointer;
  line-height: 0;
}

/* Nastavení */
#wcp-cc .wcp-settings {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--wcp-line);
}
#wcp-cc .wcp-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 20px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.75;
  color: var(--wcp-text);
}
#wcp-cc .wcp-row--locked { cursor: default; }
#wcp-cc .wcp-row input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: var(--wcp-accent);
  cursor: inherit;
}
#wcp-cc .wcp-row strong { font-weight: 600; color: var(--wcp-ink); }
#wcp-cc .wcp-row small {
  display: block;
  font-size: 17px;
  line-height: 1.75;
  color: var(--wcp-text);
}

/* Tlačítka */
#wcp-cc .wcp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: 28px;
}
#wcp-cc .wcp-btn,
#wcp-cc .wcp-link {
  margin: 0;
  font-family: var(--wcp-font-head);
  font-size: 22px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
#wcp-cc .wcp-btn {
  min-height: 58px;
  padding: 0 32px;
  border: 2px solid var(--wcp-accent);
  border-radius: 22px;
  transition: background-color .15s, color .15s;
}
#wcp-cc .wcp-btn--primary { background: var(--wcp-accent); color: #fff; }
#wcp-cc .wcp-btn--primary:hover { filter: brightness(.92); }
#wcp-cc .wcp-btn--outline { background: #fff; color: var(--wcp-accent); }
#wcp-cc .wcp-btn--outline:hover { background: var(--wcp-accent); color: #fff; }
#wcp-cc .wcp-link {
  padding: 8px 4px;
  margin-left: 8px;
  border: 0;
  background: none;
  color: var(--wcp-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
#wcp-cc button:focus-visible,
#wcp-cc input:focus-visible,
#wcp-cc a:focus-visible {
  outline: 3px solid var(--wcp-accent);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  #wcp-cc { padding: 8px; }
  #wcp-cc .wcp-card { padding: 26px 22px 24px; border-radius: 18px; max-height: calc(100vh - 16px); }
  #wcp-cc .wcp-title { font-size: 26px; }
  #wcp-cc .wcp-text, #wcp-cc .wcp-row, #wcp-cc .wcp-row small { font-size: 15px; line-height: 1.65; }
  #wcp-cc .wcp-close { top: 16px; right: 14px; }
  #wcp-cc .wcp-btn { flex: 1 1 100%; min-height: 52px; font-size: 20px; }
  #wcp-cc .wcp-link { margin: 0 auto; }
}
