/* CookieYes banner in Fitart colours (#faf9f5 beige, #bab1ae taupe, #887c77 suede, #544b45 ink).
   CookieYes writes its colours inline, so every rule needs !important. */
.cky-consent-container, .cky-preference-center, .cky-modal, .cky-consent-bar,
.cky-consent-container *, .cky-preference-center * { font-family: inherit !important; }

/* Floating "cookie settings" button (bottom left) */
.cky-btn-revisit-wrapper { background-color: #544b45 !important; box-shadow: 0 10px 30px -12px rgba(84, 75, 69, .6) !important; }
.cky-btn-revisit-wrapper:hover { background-color: #887c77 !important; }

/* Banner + preference centre */
.cky-consent-bar, .cky-preference-center, .cky-modal .cky-preference-center {
  background-color: #faf9f5 !important; border: 1px solid #bab1ae !important; border-radius: 22px !important;
  box-shadow: 0 30px 60px -30px rgba(84, 75, 69, .45) !important;
}
.cky-title, .cky-notice-des, .cky-notice-des p, .cky-preference-title, .cky-preference-content-wrapper,
.cky-preference-content-wrapper p, .cky-accordion-btn, .cky-accordion-header-des, .cky-accordion-header-des p,
.cky-always-active, .cky-audit-table, .cky-dma-content-wrapper, .cky-footer-wrapper { color: #544b45 !important; }
.cky-notice-des a, .cky-preference-content-wrapper a, .cky-show-desc-btn, .cky-show-desc-btn:hover,
.cky-accordion-header .cky-always-active, .cky-policy { color: #544b45 !important; text-decoration-color: #bab1ae !important; }
.cky-preference-header, .cky-accordion, .cky-footer-wrapper, .cky-prefrence-btn-wrapper { border-color: #e4dfdb !important; }
.cky-accordion-chevron i::before, .cky-accordion-chevron-inner::before { border-color: #544b45 !important; }
.cky-btn-close img { filter: brightness(.45) sepia(.3) !important; }
.cky-footer-shadow { background: linear-gradient(180deg, rgba(250, 249, 245, 0) 0%, #faf9f5 100%) !important; }
.cky-audit-table { background-color: #f1eeea !important; border-color: #e4dfdb !important; }
.cky-cookie-des-table, .cky-cookie-des-table li, .cky-empty-cookies-text { color: #544b45 !important; }

/* Buttons: pill shape like the site's buttons */
.cky-btn { border-radius: 999px !important; font-weight: 500 !important; transition: background-color .2s, color .2s, border-color .2s !important; }
.cky-btn-accept { background-color: #544b45 !important; border-color: #544b45 !important; color: #faf9f5 !important; }
.cky-btn-accept:hover { background-color: #3d3631 !important; border-color: #3d3631 !important; opacity: 1 !important; }
.cky-btn-reject, .cky-btn-customize, .cky-btn-preferences {
  background-color: transparent !important; border-color: #544b45 !important; color: #544b45 !important;
}
.cky-btn-reject:hover, .cky-btn-customize:hover, .cky-btn-preferences:hover {
  background-color: #544b45 !important; color: #faf9f5 !important; opacity: 1 !important;
}

/* Category switches */
.cky-switch input[type="checkbox"] { background-color: #d9d3cf !important; }
.cky-switch input[type="checkbox"]:checked { background-color: #544b45 !important; }

/* Overlay behind the preference centre */
.cky-overlay { background-color: rgba(52, 46, 42, .45) !important; }

/* Phones: compact banner at the bottom so the page (and quiz question 1) stays visible.
   Same text and the same three choices; "Odrzuć" is as easy to reach as "Akceptuj" (GDPR). */
@media (max-width: 640px) {
  .cky-consent-container { left: 8px !important; right: 8px !important; bottom: 8px !important; width: auto !important; max-width: none !important; }
  .cky-consent-bar { padding: 14px 16px 6px !important; border-radius: 18px !important; }
  .cky-notice .cky-title { font-size: 14px !important; line-height: 1.3 !important; margin: 0 0 4px !important; }
  .cky-notice-des, .cky-notice-des p { font-size: 12px !important; line-height: 1.4 !important; margin: 0 !important; }
  .cky-notice-des p { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
  .cky-notice-btn-wrapper { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; margin-top: 10px !important; padding: 0 !important; }
  .cky-notice-btn-wrapper .cky-btn { width: 100% !important; margin: 0 !important; padding: 9px 8px !important; font-size: 13px !important; line-height: 1.2 !important; min-height: 0 !important; }
  .cky-notice-btn-wrapper .cky-btn-accept { order: 2 !important; }
  .cky-notice-btn-wrapper .cky-btn-reject { order: 1 !important; }
  .cky-notice-btn-wrapper .cky-btn-customize {
    order: 3 !important; grid-column: 1 / -1 !important; border: 0 !important; background: none !important; padding: 4px 0 0 !important;
    text-decoration: underline !important; text-underline-offset: 3px !important; color: #544b45 !important; font-size: 12px !important;
  }
  .cky-notice-btn-wrapper .cky-btn-customize:hover { background: none !important; color: #3d3631 !important; }
  .cky-consent-bar > div:last-child { padding: 2px 0 0 !important; }
  .cky-consent-bar > div:last-child * { margin-top: 0 !important; margin-bottom: 0 !important; }
}
