/* Mechanik Bytom: wyglad natywnego panelu CookieYes. */
.cky-overlay { background: rgba(17,24,39,.45) !important; opacity: 1 !important; backdrop-filter: blur(3px); }
body .cky-modal { width: min(560px, calc(100vw - 32px)) !important; max-width: none !important; }
body .cky-modal .cky-preference-center { border-radius: 16px; max-height: calc(100dvh - 32px); padding: 28px 32px 20px; font-family: Arial, sans-serif; box-sizing: border-box; }
body .cky-modal .cky-preference-header { padding: 0 0 12px; border-bottom: 0; }
body .cky-modal .cky-preference-title { font-size: 30px; line-height: 1.2; font-weight: 700; }
body .cky-modal .cky-preference-body-wrapper { padding: 0; }
body .cky-modal .cky-preference-content-wrapper { margin: 0 0 18px; font-size: 13px; line-height: 1.6; color: #6b7280 !important; }
body .cky-modal .cky-preference-content-wrapper p { font-size: inherit; line-height: inherit; }
body .cky-modal .cky-accordion-item { padding: 15px 18px; }
body .cky-modal .cky-accordion-header { margin: 0; }
body .cky-modal .cky-accordion-btn { font-size: 14px; font-weight: 600; line-height: 1.5; }
body .cky-modal .cky-always-active { font-size: 13px; color: #12784a; white-space: nowrap; }
body .cky-modal .cky-accordion:not(.cky-accordion-active) .cky-accordion-header-des { display: none; }
body .cky-modal .cky-accordion-header-des { padding-top: 10px; font-size: 13px; line-height: 1.6; }
body .cky-modal .cky-empty-cookies-text { margin: 0; font-size: 12px; }
body .cky-modal .cky-footer-wrapper { padding: 12px 0 0; }
body .cky-modal .cky-prefrence-btn-wrapper { padding: 0; gap: 8px; }
body .cky-modal .cky-btn { min-height: 44px; padding: 10px 12px; margin: 0; flex: 1 1 0; border-radius: 24px !important; font: 600 13px/1.4 Arial, sans-serif; text-transform: none; letter-spacing: normal; }
body .cky-modal .cky-footer-shadow { display: none; }
body .cky-modal .cky-btn:focus-visible, body .cky-modal button:focus-visible, body .cky-modal input:focus-visible { outline: 2px solid #12784a; outline-offset: 3px; }
body .cky-modal [data-cky-tag="detail-powered-by"] { margin-top: 12px; }
@media(max-width:480px) {
 body .cky-modal .cky-preference-center { padding: 22px 18px 16px; }
 body .cky-modal .cky-preference-title { font-size: 26px; }
 body .cky-modal .cky-prefrence-btn-wrapper { flex-direction: column; }
 body .cky-modal .cky-prefrence-btn-wrapper .cky-btn { width: 100%; margin: 0; }
 body .cky-modal .cky-accordion-item { padding: 14px 12px; }
}

body .cky-modal .cky-privacy-link { margin: 18px 0 0; text-align: center; font: 600 13px/1.5 Arial, sans-serif; }
body .cky-modal .cky-privacy-link a { color: #12784a; }
body .cky-modal .cky-preference-content-wrapper { border-bottom: 0; padding-bottom: 0; }

.cky-overlay { -webkit-backdrop-filter: blur(3px); }
body .cky-modal, body .cky-modal * { box-sizing: border-box; }
body .cky-modal .cky-preference-center { width: 100%; overflow: hidden; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
body .cky-modal .cky-preference-body-wrapper { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
body .cky-modal .cky-preference-header, body .cky-modal .cky-footer-wrapper { flex-shrink: 0; }
body .cky-modal .cky-accordion-header-wrapper { min-width: 0; }
body .cky-modal .cky-accordion-btn { text-transform: none; letter-spacing: normal; margin: 0; padding: 0; min-height: 0; }
body .cky-modal .cky-accordion-body { overflow-wrap: anywhere; }
body .cky-modal .cky-accordion-body table { max-width: 100%; table-layout: fixed; }
body .cky-modal .cky-accordion-body td { overflow-wrap: anywhere; }
body .cky-modal .cky-btn { color: #12784A !important; border: 1px solid #12784A !important; background: #fff !important; box-shadow: none; }
body .cky-modal .cky-btn-accept { color: #fff !important; background: #12784A !important; }
body .cky-modal .cky-switch input:checked { background-color: #12784A !important; }
body .cky-modal .cky-privacy-link a { text-decoration: underline; }
body .mb-cookieyes-reopen { position: fixed; bottom: 16px; left: 16px; z-index: 999998; margin: 0; padding: 9px 14px; border: 1px solid #12784A; border-radius: 24px; background: #fff; color: #12784A; font: 600 12px/1.5 Arial, sans-serif; text-transform: none; letter-spacing: normal; box-shadow: 0 2px 12px #0002; cursor: pointer; }
body .mb-cookieyes-reopen:focus-visible { outline: 2px solid #12784A; outline-offset: 3px; }
/* The native icon remains the fallback if this enhancement does not initialise. */
body.mb-cookieyes-ui-ready .cky-btn-revisit-wrapper { display: none !important; }
@media (max-width: 480px) {
 body .cky-modal { width: calc(100vw - 24px) !important; }
 body .cky-modal .cky-preference-center { padding: 20px 14px 14px; }
 body .cky-modal .cky-always-active { font-size: 11px; }
 body .cky-modal .cky-accordion-header { gap: 6px; }
 body .cky-modal .cky-accordion-item { padding: 12px 10px; }
 body .cky-modal .cky-accordion-btn { font-size: 13px; }
 body .cky-modal .cky-prefrence-btn-wrapper .cky-btn { flex: none; white-space: normal; }
 body .mb-cookieyes-reopen { bottom: 10px; left: 10px; }
}
@media (prefers-reduced-motion: reduce) { body .cky-modal, body .cky-modal * { transition: none !important; animation: none !important; } }
/* Category rows remain distinguishable in the local CookieYes template. */
.cky-modal .cky-accordion {background:#f3f4f4 !important;border:0 !important;border-radius:14px !important;margin:10px 0 !important;padding:0 16px !important;}
.cky-modal .cky-accordion-header {padding:14px 0 !important;}
.cky-modal .cky-accordion-body {padding-bottom:14px !important;}
body .cky-modal.cky-modal-open {top:50% !important;left:50% !important;bottom:auto !important;transform:translate(-50%,-50%) !important;}
body .cky-modal [data-cky-tag="detail-buttons"] .cky-btn {order:0 !important;}
