.kncc-banner {
position: fixed;
z-index: 999999;
box-sizing: border-box;
}
.kncc-banner *, .kncc-banner *::before, .kncc-banner *::after {
box-sizing: border-box;
}
.kncc-typography--plugin {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 14px !important;
line-height: 1.5 !important;
color: #1f2937 !important;
letter-spacing: normal !important;
word-spacing: normal !important;
text-transform: none !important;
font-style: normal !important;
text-indent: 0 !important;
}
.kncc-banner.kncc-typography--plugin *,
.kncc-policy.kncc-typography--plugin * {
letter-spacing: normal !important;
word-spacing: normal !important;
text-transform: none !important;
font-style: normal !important;
text-indent: 0 !important;
}
.kncc-banner.kncc-typography--plugin .kncc-heading {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-weight: 600 !important;
letter-spacing: normal !important;
text-transform: none !important;
line-height: 1.3 !important;
color: #1f2937 !important;
margin: 0 0 0.25rem 0 !important;
padding: 0 !important;
}
.kncc-banner.kncc-typography--plugin .kncc-desc {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 14px !important;
font-weight: 400 !important;
letter-spacing: normal !important;
line-height: 1.5 !important;
color: #4b5563 !important;
margin: 0 0 0.5rem 0 !important;
padding: 0 !important;
}
.kncc-banner.kncc-typography--plugin .kncc-btn {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 14px !important;
font-weight: 600 !important;
letter-spacing: normal !important;
line-height: 1.5 !important;
text-transform: none !important;
padding: 0.55rem 1.25rem !important;
margin: 0 !important;
}
.kncc-banner.kncc-typography--plugin .kncc-btn--link {
padding: 0.55rem 0.5rem !important;
}
.kncc-banner.kncc-typography--plugin .kncc-policy-link {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 14px !important;
letter-spacing: normal !important;
}
.kncc-banner.kncc-typography--plugin .kncc-category__label {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 14px !important;
font-weight: 600 !important;
letter-spacing: normal !important;
color: #1f2937 !important;
}
.kncc-banner.kncc-typography--plugin .kncc-category__desc {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 13px !important;
font-weight: 400 !important;
letter-spacing: normal !important;
color: #6b7280 !important;
}
.kncc-typography--theme {
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: inherit;
} .kncc-banner--bar {
bottom: 0;
left: 0;
right: 0;
background: #fff;
box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
padding: 1.25rem 2rem;
}
.kncc-banner--bar .kncc-main {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 1.5rem;
flex-wrap: wrap;
}
.kncc-banner--bar .kncc-heading {
font-size: 16px;
font-weight: 600;
margin: 0;
flex-shrink: 0;
}
.kncc-banner--bar.kncc-typography--plugin .kncc-heading {
font-size: 16px !important;
margin: 0 !important;
}
.kncc-banner--bar .kncc-desc {
margin: 0;
flex: 1;
min-width: 200px;
color: #4b5563;
}
.kncc-banner--bar.kncc-typography--plugin .kncc-desc {
margin: 0 !important;
}
.kncc-banner--bar .kncc-actions {
display: flex;
gap: 0.5rem;
flex-shrink: 0;
flex-wrap: wrap;
}
.kncc-banner--bar .kncc-details {
max-width: 1200px;
margin: 1rem auto 0;
} .kncc-banner--modal {
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
}
.kncc-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 0;
}
.kncc-banner--modal .kncc-inner {
position: relative;
z-index: 1;
background: #fff;
border-radius: 16px;
padding: 2rem;
max-width: 560px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.kncc-banner--modal .kncc-heading {
font-size: 20px;
font-weight: 700;
margin: 0 0 0.5rem;
}
.kncc-banner--modal.kncc-typography--plugin .kncc-heading {
font-size: 20px !important;
font-weight: 700 !important;
margin: 0 0 0.5rem !important;
}
.kncc-banner--modal .kncc-desc {
margin: 0 0 1.25rem;
color: #4b5563;
}
.kncc-banner--modal.kncc-typography--plugin .kncc-desc {
margin: 0 0 1.25rem !important;
}
.kncc-banner--modal .kncc-actions {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
} .kncc-banner--corner {
bottom: 1rem;
left: 1rem;
max-width: 400px;
width: calc(100% - 2rem);
}
.kncc-banner--corner .kncc-inner {
background: #fff;
border-radius: 16px;
padding: 1.5rem;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.kncc-banner--corner .kncc-heading {
font-size: 17px;
font-weight: 700;
margin: 0 0 0.4rem;
}
.kncc-banner--corner.kncc-typography--plugin .kncc-heading {
font-size: 17px !important;
font-weight: 700 !important;
margin: 0 0 0.4rem !important;
}
.kncc-banner--corner .kncc-desc {
margin: 0 0 1rem;
color: #4b5563;
font-size: 13px;
}
.kncc-banner--corner.kncc-typography--plugin .kncc-desc {
font-size: 13px !important;
margin: 0 0 1rem !important;
}
.kncc-banner--corner .kncc-actions {
display: flex;
gap: 0.25rem;
flex-wrap: wrap;
align-items: center;
}
.kncc-banner--corner .kncc-btn {
padding: 0.45rem 0.75rem;
font-size: 13px;
}
.kncc-banner--corner .kncc-btn--link {
padding: 0.45rem 0.4rem;
} .kncc-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.55rem 1.25rem;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
border: none;
transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
white-space: nowrap;
}
.kncc-btn--primary {
background: var(--kncc-primary, #3D4872);
color: var(--kncc-primary-text, #fff);
}
.kncc-btn--primary:hover {
background: var(--kncc-primary-hover, #2d3656);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.kncc-btn--secondary {
background: #f3f4f6;
color: #374151;
}
.kncc-btn--secondary:hover {
background: #e5e7eb;
}
.kncc-btn--link {
background: none;
color: var(--kncc-primary, #3D4872);
padding: 0.55rem 0.5rem;
text-decoration: underline;
text-underline-offset: 2px;
}
.kncc-btn--link:hover {
color: var(--kncc-primary-hover, #2d3656);
}
.kncc-policy-link {
color: var(--kncc-primary, #3D4872);
text-decoration: underline;
text-underline-offset: 2px;
} .kncc-details {
border-top: 1px solid #e5e7eb;
padding-top: 1rem;
margin-top: 1rem;
}
.kncc-category {
display: flex;
flex-direction: column;
padding: 0.6rem 0;
}
.kncc-category__label {
display: flex;
align-items: center;
gap: 0.6rem;
cursor: pointer;
font-weight: 600;
font-size: 14px;
}
.kncc-category__check {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.kncc-category__toggle {
position: relative;
display: inline-block;
width: 40px;
height: 22px;
background: #d1d5db;
border-radius: 11px;
transition: background 0.2s ease;
flex-shrink: 0;
}
.kncc-category__toggle::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 18px;
height: 18px;
background: #fff;
border-radius: 50%;
transition: transform 0.2s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.kncc-category__check:checked + .kncc-category__toggle {
background: var(--kncc-primary, #3D4872);
}
.kncc-category__check:checked + .kncc-category__toggle::after {
transform: translateX(18px);
}
.kncc-category__check:disabled + .kncc-category__toggle {
opacity: 0.5;
cursor: not-allowed;
}
.kncc-category__desc {
margin: 0.2rem 0 0 0;
padding-left: 46px;
color: #6b7280;
font-size: 13px;
}
.kncc-details-actions {
padding-top: 0.75rem;
} .kncc-floating-btn {
position: fixed;
bottom: 1rem;
left: 1rem;
z-index: 999998;
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
border: 2px solid rgba(255, 255, 255, 0.8);
border-radius: 50%;
background: var(--kncc-primary, #3D4872);
color: #fff;
cursor: pointer;
box-shadow: 0 3px 14px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.kncc-floating-btn svg {
color: #fff !important;
stroke: #fff !important;
}
.kncc-floating-btn svg circle[fill="currentColor"] {
fill: #fff !important;
}
.kncc-floating-btn:hover {
background: var(--kncc-primary-hover, #2d3656);
transform: scale(1.1);
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
} .kncc-policy {
max-width: 100%;
overflow-x: hidden;
}
.kncc-policy__section {
margin-bottom: 2rem;
}
.kncc-policy__section h3 {
margin: 0 0 0.25rem;
font-size: 18px;
}
.kncc-policy__cat-desc {
margin: 0 0 0.75rem;
color: #6b7280;
font-size: 14px;
}
.kncc-policy__table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
table-layout: fixed;
word-wrap: break-word;
}
.kncc-policy__table th,
.kncc-policy__table td {
text-align: left;
padding: 0.6rem 0.75rem;
border-bottom: 1px solid #e5e7eb;
}
.kncc-policy__table th {
background: #f9fafb;
font-weight: 600;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.03em;
color: #374151;
}
.kncc-policy__table code {
background: #f3f4f6;
padding: 2px 6px;
border-radius: 3px;
font-size: 13px;
}
.kncc-policy.kncc-typography--plugin {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
color: #1f2937 !important;
letter-spacing: normal !important;
word-spacing: normal !important;
text-transform: none !important;
}
.kncc-policy.kncc-typography--plugin .kncc-policy__section h3 {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 18px !important;
font-weight: 600 !important;
letter-spacing: normal !important;
text-transform: none !important;
color: #1f2937 !important;
margin: 0 0 0.25rem !important;
}
.kncc-policy.kncc-typography--plugin .kncc-policy__cat-desc {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 14px !important;
letter-spacing: normal !important;
color: #6b7280 !important;
}
.kncc-policy.kncc-typography--plugin .kncc-policy__table,
.kncc-policy.kncc-typography--plugin .kncc-policy__table th,
.kncc-policy.kncc-typography--plugin .kncc-policy__table td {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
font-size: 14px !important;
letter-spacing: normal !important;
color: #1f2937 !important;
}
.kncc-policy.kncc-typography--plugin .kncc-policy__table th {
font-size: 13px !important;
font-weight: 600 !important;
text-transform: uppercase !important;
letter-spacing: 0.03em !important;
color: #374151 !important;
background: #f9fafb !important;
}
.kncc-banner.kncc-typography--theme .kncc-heading,
.kncc-banner.kncc-typography--theme .kncc-desc,
.kncc-banner.kncc-typography--theme .kncc-category__label,
.kncc-banner.kncc-typography--theme .kncc-category__desc {
color: inherit;
font-family: inherit;
}
.kncc-banner.kncc-typography--theme .kncc-heading,
.kncc-banner.kncc-typography--theme .kncc-desc,
.kncc-banner.kncc-typography--theme .kncc-category__label,
.kncc-banner.kncc-typography--theme .kncc-category__desc,
.kncc-banner.kncc-typography--theme .kncc-btn {
font-size: inherit;
}
.kncc-policy.kncc-typography--theme {
font-family: inherit;
color: inherit;
}
.kncc-policy.kncc-typography--theme .kncc-policy__section h3,
.kncc-policy.kncc-typography--theme .kncc-policy__cat-desc,
.kncc-policy.kncc-typography--theme .kncc-policy__table,
.kncc-policy.kncc-typography--theme .kncc-policy__table th,
.kncc-policy.kncc-typography--theme .kncc-policy__table td,
.kncc-policy.kncc-typography--theme .kncc-policy__table code {
font-family: inherit;
font-size: inherit;
color: inherit;
}
.kncc-policy.kncc-typography--theme .kncc-policy__cat-desc {
color: inherit;
opacity: 0.7;
}
.kncc-policy.kncc-typography--theme .kncc-policy__table th {
background: transparent;
text-transform: none;
letter-spacing: normal;
}
.kncc-policy.kncc-typography--theme .kncc-policy__table th,
.kncc-policy.kncc-typography--theme .kncc-policy__table td {
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}
.kncc-policy.kncc-typography--theme .kncc-policy__table code {
background: rgba(128, 128, 128, 0.15);
} .kncc-blocked-iframe {
display: none !important;
} .kncc-iframe-placeholder {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.75rem;
min-height: 200px;
max-width: 100%;
padding: 2rem;
background: #f3f4f6;
border: 1px solid #e5e7eb;
border-radius: 8px;
text-align: center;
box-sizing: border-box;
overflow: hidden;
word-break: break-word;
} .wp-block-embed__wrapper:has(.kncc-blocked-iframe)::before {
display: none;
}
.wp-has-aspect-ratio:has(.kncc-blocked-iframe) .wp-block-embed__wrapper::before {
display: none;
}
.wp-block-embed:has(.kncc-blocked-iframe) {
max-width: 100%;
overflow: hidden;
}
.wp-block-embed__wrapper > .kncc-iframe-placeholder {
border-radius: 0;
}
.kncc-iframe-placeholder p {
margin: 0;
color: #4b5563;
font-size: 14px;
}
.kncc-iframe-placeholder .kncc-iframe-accept {
font-size: 14px;
} .kncc-policy__edit-consent {
margin-bottom: 2.5rem;
}
.kncc-edit-consent-btn {
cursor: pointer;
} @media (max-width: 600px) {
.kncc-banner--bar {
padding: 1rem;
}
.kncc-banner--bar .kncc-main {
flex-direction: column;
align-items: stretch;
gap: 0.75rem;
}
.kncc-banner--bar .kncc-actions {
flex-direction: column;
}
.kncc-banner--bar .kncc-btn {
width: 100%;
}
.kncc-banner--corner {
left: 0.5rem;
right: 0.5rem;
bottom: 0.5rem;
max-width: none;
width: auto;
}
.kncc-banner--modal .kncc-inner {
padding: 1.25rem;
border-radius: 12px;
}
.kncc-banner--modal .kncc-actions {
flex-direction: column;
}
.kncc-banner--modal .kncc-btn {
width: 100%;
}
.kncc-category__desc {
padding-left: 0;
margin-top: 0.3rem;
} .kncc-policy__table,
.kncc-policy__table thead,
.kncc-policy__table tbody,
.kncc-policy__table tr,
.kncc-policy__table th,
.kncc-policy__table td {
display: block;
width: 100%;
box-sizing: border-box;
}
.kncc-policy__table thead {
display: none;
}
.kncc-policy__table tr {
margin-bottom: 1rem;
border: 1px solid #e5e7eb;
border-radius: 6px;
overflow: hidden;
}
.kncc-policy__table td {
padding: 0.5rem 0.75rem;
border-bottom: 1px solid #f3f4f6;
text-align: left;
}
.kncc-policy__table td:last-child {
border-bottom: none;
}
.kncc-policy__table td::before {
content: attr(data-label);
display: block;
font-weight: 600;
font-size: 11px;
text-transform: uppercase;
color: #6b7280;
margin-bottom: 0.15rem;
}
}