/* Consent controls follow the site's Noto Sans, Tefal red and 4px shape tokens. */
.tf-cookie-consent {
  color: var(--tf-ink, #232120);
  font: 400 14px/1.6 var(--tf-font, "Noto Sans", Arial, sans-serif);
}
.tf-cookie-consent *,
.tf-cookie-consent *::before,
.tf-cookie-consent *::after { box-sizing: border-box; }
.tf-cookie-consent [hidden] { display: none !important; }
.tf-cookie-consent button,
.tf-cookie-consent input { font: inherit; }
.tf-cookie-consent :focus-visible { outline: 2px solid var(--tf-focus, #1556a3); outline-offset: 4px; }
.tf-cookie-consent .tf-cookie-policy-link {
  color: var(--tf-red, #e50615);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
@media (hover:hover){
.tf-cookie-consent .tf-cookie-policy-link:hover { color: var(--tf-red-hover, #ce0714); }
}
.tf-cookie-consent .tf-cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid var(--tf-red, #e50615);
  border-radius: var(--tf-radius, 4px);
  background: var(--tf-red, #e50615);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
}
@media (hover:hover){
.tf-cookie-consent .tf-cookie-button:hover {
  background: var(--tf-red-hover, #ce0714);
  border-color: var(--tf-red-hover, #ce0714);
}
}
.tf-cookie-consent .tf-cookie-button--outline { background: #fff; color: var(--tf-red, #e50615); }
@media (hover:hover){
.tf-cookie-consent .tf-cookie-button--outline:hover { background: #fff3f4; color: var(--tf-red-hover, #ce0714); }
}
.tf-cookie-consent .tf-cookie-button:disabled { background: #e6e6e6; border-color: #e6e6e6; color: #646568; cursor: wait; }
.tf-cookie-consent .tf-cookie-banner {
  position: fixed;
  z-index: 400;
  inset-inline: 24px;
  bottom: calc(var(--tf-bottom-height, 0px) + 20px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  max-width: 1312px;
  max-height: calc(100dvh - var(--tf-bottom-height, 0px) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-inline: auto;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--tf-border, #d4d4d4);
  border-radius: var(--tf-radius, 4px);
  box-shadow: 0 6px 28px #0002;
}
.tf-cookie-consent .tf-cookie-banner-copy { flex: 1 1 440px; min-width: 0; }
.tf-cookie-consent .tf-cookie-banner h2 { margin: 0 0 7px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.tf-cookie-consent .tf-cookie-banner p { margin: 0 0 8px; color: var(--tf-muted, #646568); font-size: 13px; line-height: 1.6; }
.tf-cookie-consent .tf-cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tf-cookie-consent .tf-cookie-banner > .tf-cookie-error { flex: 1 0 100%; margin: 0; }
.tf-cookie-consent .tf-cookie-settings {
  width: min(760px, calc(100% - 40px));
  max-width: 760px;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--tf-ink, #232120);
  font: inherit;
  overflow: hidden;
  box-shadow: 0 16px 48px #0003;
}
.tf-cookie-consent .tf-cookie-settings[open] { display: flex; flex-direction: column; }
.tf-cookie-settings::backdrop { background: rgba(0, 0, 0, .46); }
.tf-cookie-consent .tf-cookie-settings-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px 12px;
}
.tf-cookie-consent .tf-cookie-settings-heading h2 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.4; }
.tf-cookie-consent .tf-cookie-settings-heading h2:focus { outline: none; }
.tf-cookie-consent .tf-cookie-close {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--tf-muted, #646568);
  cursor: pointer;
}
@media (hover:hover){
.tf-cookie-consent .tf-cookie-close:hover { color: var(--tf-ink, #232120); background: var(--tf-surface, #f5f5f5); }
}
.tf-cookie-consent .tf-cookie-settings-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 28px 24px;
  scrollbar-gutter: stable;
}
.tf-cookie-consent .tf-cookie-settings-description { margin: 0 0 20px; font-size: 15px; line-height: 1.65; }
.tf-cookie-consent .tf-cookie-categories { border: 1px solid var(--tf-border, #d4d4d4); border-radius: 6px; overflow: hidden; }
.tf-cookie-consent .tf-cookie-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 20px;
  padding: 18px 20px;
  background: #fff;
}
.tf-cookie-consent .tf-cookie-category + .tf-cookie-category { border-top: 1px solid #e8e8e8; }
.tf-cookie-consent .tf-cookie-category--required { background: #fafafa; }
.tf-cookie-consent .tf-cookie-category h3 { margin: 0 0 5px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.tf-cookie-consent .tf-cookie-category h3 label { cursor: pointer; }
.tf-cookie-consent .tf-cookie-category--required h3 label { cursor: default; }
.tf-cookie-consent .tf-cookie-category p { margin: 0; color: #515153; font-size: 14px; line-height: 1.65; }
.tf-cookie-consent .tf-cookie-required-note { display: block; margin: -1px 0 6px; color: var(--tf-muted, #646568); font-size: 12px; }
.tf-cookie-consent .tf-cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 56px;
  height: 44px;
  margin-top: -4px;
  cursor: pointer;
}
.tf-cookie-consent .tf-cookie-switch input {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}
.tf-cookie-consent .tf-cookie-switch-track { position: relative; display: block; width: 56px; height: 30px; background: #76777a; border-radius: 16px; }
.tf-cookie-consent .tf-cookie-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  transition: transform .16s ease;
}
.tf-cookie-consent .tf-cookie-switch input:checked + .tf-cookie-switch-track { background: var(--tf-red, #e50615); }
.tf-cookie-consent .tf-cookie-switch input:checked + .tf-cookie-switch-track::after { transform: translateX(26px); }
.tf-cookie-consent .tf-cookie-switch input:focus-visible + .tf-cookie-switch-track { outline: 2px solid var(--tf-focus, #1556a3); outline-offset: 4px; }
.tf-cookie-consent .tf-cookie-switch--locked { cursor: not-allowed; }
.tf-cookie-consent .tf-cookie-settings-footer { flex: 0 0 auto; margin: 0 28px; padding: 16px 0 24px; border-top: 1px solid #e8e8e8; }
.tf-cookie-consent .tf-cookie-settings-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.tf-cookie-consent .tf-cookie-error { margin: 0 0 12px; color: #a00b18; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.tf-cookie-consent .tf-cookie-noscript { max-width: 1360px; margin: 0 auto; padding: 16px 24px; color: var(--tf-muted, #646568); font-size: 13px; }
.tf-cookie-consent .tf-cookie-noscript a { color: var(--tf-red, #e50615); text-decoration: underline; }
@media (max-width: 767px) {
  .tf-cookie-consent .tf-cookie-banner { inset-inline: 12px; bottom: calc(var(--tf-bottom-height, 64px) + 12px); max-height: calc(100dvh - var(--tf-bottom-height, 64px) - 24px); padding: 20px; gap: 16px; }
  .tf-cookie-consent .tf-cookie-banner-copy { flex-basis: 100%; }
  .tf-cookie-consent .tf-cookie-banner h2 { font-size: 16px; }
  .tf-cookie-consent .tf-cookie-banner-actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 8px; }
  .tf-cookie-consent .tf-cookie-settings { width: calc(100% - 24px); max-height: calc(100dvh - 24px - env(safe-area-inset-bottom)); }
  .tf-cookie-consent .tf-cookie-settings-heading { padding: 14px 20px 10px; gap: 10px; }
  .tf-cookie-consent .tf-cookie-settings-heading h2 { font-size: 18px; }
  .tf-cookie-consent .tf-cookie-settings-body { padding: 0 20px 20px; scrollbar-gutter: auto; }
  .tf-cookie-consent .tf-cookie-settings-description { font-size: 14px; margin-bottom: 16px; }
  .tf-cookie-consent .tf-cookie-category { grid-template-columns: minmax(0, 1fr) 56px; padding: 16px; gap: 12px; }
  .tf-cookie-consent .tf-cookie-category h3 { font-size: 15px; }
  .tf-cookie-consent .tf-cookie-category p { font-size: 13px; }
  .tf-cookie-consent .tf-cookie-settings-footer { margin-inline: 20px; padding: 14px 0 20px; }
  .tf-cookie-consent .tf-cookie-settings-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tf-cookie-consent .tf-cookie-switch-track::after { transition: none; }
}
@media (forced-colors: active) {
  .tf-cookie-consent .tf-cookie-switch-track { border: 1px solid ButtonText; background: Canvas; }
  .tf-cookie-consent .tf-cookie-switch-track::after { background: ButtonText; }
  .tf-cookie-consent .tf-cookie-switch input:checked + .tf-cookie-switch-track { background: Highlight; }
  .tf-cookie-consent .tf-cookie-switch input:checked + .tf-cookie-switch-track::after { background: HighlightText; }
}
