.o-cookies {
  bottom: 0;
  left: 0;
  position: fixed;
  transition: bottom 0.3s;
  width: 100%;
  z-index: 9;
  /*@media (min-width: 36em) {
  // @media (min-width: breakpoint-min(sm))

      &__header {

          text-align: left;

      }

      &__description {

          flex-basis: auto;
          max-width: none;

      }

      &__settings {

          margin-top: 0;

      }

      &__button {

          flex-basis: auto;
          width: auto;

      }

  }*/
  /*@media (min-width: 48em) {
  // @media (min-width: breakpoint-min(md))*/
}
.o-cookies--dark {
  --cookies-bar-background: #121212;
  --cookies-bar-color: #fff;
  --cookies-bar-option-background: #262626;
  --cookies-switch-color: #121212;
  --cookies-switch-highlight: #61aaff;
}
.o-cookies--animate {
  -webkit-animation: revealCookiesBar 0.8s ease-out 3s forwards;
  animation: revealCookiesBar 0.8s ease-out 3s forwards;
  transform: translateY(120%);
}
@-webkit-keyframes revealCookiesBar {
  0% {
    transform: translateY(120%);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes revealCookiesBar {
  0% {
    transform: translateY(120%);
  }
  100% {
    transform: translateY(0);
  }
}
.o-cookies__container {
  padding-bottom: var(--cookies-bar-spacing, 24px);
  padding-top: var(--cookies-bar-spacing, 24px);
}
.o-cookies__bar {
  background: var(--cookies-bar-background, #fff);
  border-radius: var(--cookies-bar-radius, 8px);
  box-shadow: var(--cookies-bar-shadow, 0px 24px 40px rgba(26, 26, 26, 0.16));
  color: var(--cookies-bar-color, #121212);
  padding: var(--cookies-bar-spacing, 24px);
  position: relative;
}
.o-cookies__header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--cookies-bar-spacing, 24px);
  text-align: center;
}
.o-cookies__description {
  flex: 1 0 100%;
  line-height: 1.2;
  max-width: 100%;
}
.o-cookies__description a {
  text-decoration: underline;
}
.o-cookies__description a:focus, .o-cookies__description a:hover {
  text-decoration: none;
}
.o-cookies__settings {
  margin-top: var(--cookies-bar-spacing, 24px);
}
.o-cookies__options {
  -webkit-animation: setOverflowNone 0.1s forwards;
  animation: setOverflowNone 0.1s forwards;
  max-height: 0;
  overflow: hidden;
  scrollbar-color: transparent var(--cookies-bar-scrollbar-color, #2c4e4c);
  scrollbar-width: thin;
  transition: max-height 0.3s linear 0.1s, margin 0.3s linear 0.1s;
}
.o-cookies__options::-webkit-scrollbar {
  width: 16px;
}
.o-cookies__options::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: var(--cookies-bar-radius, 8px);
}
.o-cookies__options::-webkit-scrollbar-thumb {
  background-clip: content-box;
  background-color: var(--cookies-bar-scrollbar-color, #2c4e4c);
  border: 5px solid transparent;
  border-radius: var(--cookies-bar-radius, 8px);
}
.o-cookies__option {
  align-items: center;
  background: var(--cookies-bar-option-background, #f5f5f5);
  border-radius: var(--cookies-bar-radius, 4px);
  display: grid;
  grid-template-columns: 20px 8px 1fr 8px 60px;
  grid-template-rows: auto auto auto;
  padding: 16px;
}
.o-cookies__option:not(:first-child) {
  margin-top: 8px;
}
.o-cookies__option__toggle {
  display: none;
}
.o-cookies__option__toggle:checked ~ .o-cookies__option__expand {
  transform: rotate(180deg);
}
.o-cookies__option__toggle:checked ~ .o-cookies__option__panel {
  max-height: var(--cookies-bar-option-max-height, 120px);
}
.o-cookies__option__expand, .o-cookies__option__label {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.o-cookies__option__expand {
  grid-column: 1;
  grid-row: span 2;
  height: 20px;
  line-height: 20px;
  transition: transform 0.3s;
  width: 20px;
}
.o-cookies__option__expand svg {
  fill: var(--cookies-bar-options-expand, #969696);
  height: inherit;
  width: inherit;
}
.o-cookies__option__label {
  grid-column: 3;
  grid-row: 1;
}
.o-cookies__option__note {
  font-size: 10px;
  grid-column: 3;
  grid-row: 2;
  line-height: 12px;
  margin-top: 4px;
  text-transform: uppercase;
}
.o-cookies__option__note:empty {
  margin: 0;
}
.o-cookies__option__state {
  grid-column: 5;
  grid-row: span 2;
}
.o-cookies__option__note, .o-cookies__option__panel {
  color: var(--cookies-bar-option-color, #595959);
}
.o-cookies__option__panel {
  grid-column: span 5;
  grid-row: 3;
  line-height: 1.2;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
.o-cookies__option__panel:not(:empty):before {
  content: "";
  display: block;
  height: 16px;
}
.o-cookies__edit {
  background-color: var(--cookies-bar-button-background, #595959);
  border-color: var(--cookies-bar-button-background, #595959);
}
.o-cookies .o-cookies__save {
  display: none;
}
.o-cookies:target {
  bottom: 0;
  z-index: 99;
}
.o-cookies:target .o-cookies__close {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s linear;
}
.o-cookies:target .o-cookies__options {
  -webkit-animation: setOverflowAuto 0.1s linear 0.4s forwards;
  animation: setOverflowAuto 0.1s linear 0.4s forwards;
  margin: var(--cookies-bar-spacing, 24px) 0;
  max-height: var(--cookies-bar-options-max-height-mobile, 40vh);
  transition: max-height 0.3s linear 0.1s, margin 0.3s linear 0.1s;
}
.o-cookies:target .o-cookies__edit {
  display: none;
}
.o-cookies:target .o-cookies__save {
  display: block;
}
.o-cookies__icon {
  fill: none;
  margin-left: auto;
  margin-right: auto;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 40px;
}
.o-cookies__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
  position: relative;
}
.o-cookies__button {
  box-sizing: border-box;
  flex-basis: 100%;
  text-align: center;
  width: 100%;
}
.o-cookies__close {
  box-sizing: border-box;
  color: #969696;
  height: 40px;
  opacity: 0;
  padding: 10px;
  position: absolute;
  right: var(--cookies-bar-spacing, 24px);
  visibility: hidden;
  top: var(--cookies-bar-spacing, 24px);
  transition: visibility 0s 0.3s, opacity 0.3s linear;
  width: 40px;
  z-index: 2;
}
@media (min-width: 36em) {
  .o-cookies {
    /*@media (max-width: 55em) {

        &--fix-tablet {

            --cookies-bar-buttons-width: 0;
            --cookies-bar-button-height: 0;

        }

    }*/
  }
  .o-cookies__header {
    gap: 8px var(--cookies-bar-spacing, 24px);
    text-align: left;
  }
  .o-cookies__header:after {
    content: "";
    flex: 0 0 var(--cookies-bar-buttons-width, 300px);
    height: 80px;
    max-height: var(--cookies-bar-button-height, 40px);
    max-width: 100%;
    transition: max-height 0.15s linear 0.15s;
    width: var(--cookies-bar-buttons-width, 300px);
  }
  .o-cookies__description {
    flex-basis: auto;
    max-width: none;
    position: relative;
    z-index: 1;
  }
  .o-cookies__settings {
    margin-top: 0;
  }
  .o-cookies__controls {
    margin-top: calc( var(--cookies-bar-button-height, 40px) * -1 );
    transition: margin-top 0.3s;
  }
  .o-cookies__button {
    flex-basis: auto;
    width: auto;
  }
  .o-cookies__option {
    align-items: center;
    display: grid;
    gap: 4px 16px;
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto auto;
    padding: 24px;
  }
  .o-cookies__option__label {
    cursor: auto;
    grid-column: 1;
    grid-row: 1;
  }
  .o-cookies__option__panel {
    grid-column: 1;
    grid-row: 2;
    max-height: none;
    transition: none;
  }
  .o-cookies__option__panel:not(:empty):before {
    display: none;
  }
  .o-cookies__option__note {
    grid-column: 2;
    grid-row: span 2;
    margin: 0;
  }
  .o-cookies__option__state {
    grid-column: 3;
    grid-row: span 2;
  }
  .o-cookies__option__expand {
    display: none;
  }
  .o-cookies:target .o-cookies__header:after {
    max-height: 0;
    transition: max-height 0.3s;
  }
  .o-cookies:target .o-cookies__controls {
    margin-top: var(--cookies-bar-spacing, 24px);
  }
  .o-cookies:target .o-cookies__options {
    max-height: var(--cookies-bar-options-max-height-desktop, 50vh);
  }
}
@media (min-width: 62em) {
  .o-cookies {
    bottom: 0;
  }
}
.o-cookies-switch {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}
.o-cookies-switch__control {
  -webkit-tap-highlight-color: transparent;
  background: var(--cookies-switch-background, #969696);
  border-radius: 24px;
  box-sizing: border-box;
  color: var(--cookies-switch-color, #fff);
  cursor: pointer;
  display: block;
  font-size: 10px;
  font-weight: 700;
  height: 24px;
  line-height: 12px;
  position: relative;
  text-transform: uppercase;
  transition: background 0.3s;
  width: 60px;
  z-index: 0;
}
.o-cookies-switch__control:before, .o-cookies-switch__control:after {
  transition: left 0.3s;
  z-index: 0;
}
.o-cookies-switch__control:before {
  -webkit-animation: switchOff 0.6s ease-in-out forwards;
  animation: switchOff 0.6s ease-in-out forwards;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='var(--cookies-switch-highlight, %231872d8)' d='M5 10a.997.997 0 0 1-.707-.292l-2-2a.999.999 0 1 1 1.414-1.414l1.138 1.138 3.323-4.986a.999.999 0 1 1 1.664 1.11l-4 6A1 1 0 0 1 5 10Z'/%3E%3C/svg%3E") center/0 0 no-repeat, url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='var(--cookies-switch-background, %23969696)' d='m7.414 6 2.293-2.293a.999.999 0 1 0-1.414-1.414L6 4.586 3.707 2.293a.999.999 0 1 0-1.414 1.414L4.586 6 2.293 8.293a.999.999 0 1 0 1.414 1.414L6 7.414l2.293 2.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414L7.414 6Z'/%3E%3C/svg%3E") center no-repeat;
  background-color: var(--cookies-switch-color, #fff);
  border-radius: 10px;
  content: "";
  height: 20px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: left 0.3s;
  width: 20px;
}
.o-cookies-switch__control:after {
  content: var(--cookies-switch-off, "OFF");
  left: 30px;
  position: absolute;
  top: 6px;
  width: 20px;
}
[lang=cs] .o-cookies-switch__control, [lang=sk] .o-cookies-switch__control {
  --cookies-switch-on: "ZAP";
  --cookies-switch-off: "VYP";
}
[lang=de] .o-cookies-switch__control {
  --cookies-switch-on: "EIN";
  --cookies-switch-off: "AUS";
}
[lang=pl] .o-cookies-switch__control {
  --cookies-switch-on: "WŁ.";
  --cookies-switch-off: "WYŁ.";
}
[lang=ru] .o-cookies-switch__control {
  --cookies-switch-on: "ВКЛ";
  --cookies-switch-off: "ВЫКЛ";
}
.o-cookies-switch:checked + .o-cookies-switch__control {
  background: var(--cookies-switch-highlight, #1872d8);
}
.o-cookies-switch:checked + .o-cookies-switch__control:before {
  -webkit-animation-name: switchOn;
  animation-name: switchOn;
  left: 38px;
}
.o-cookies-switch:checked + .o-cookies-switch__control:after {
  content: var(--cookies-switch-on, "ON");
  left: 10px;
}
.o-cookies-switch[disabled=disabled] + .o-cookies-switch__control {
  background: var(--cookies-switch-color, #fff) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='var(--cookies-switch-highlight, %231872d8)' d='M8 2a3 3 0 0 1 2.995 2.824L11 5v2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1V5a3 3 0 0 1 3-3Zm0 2a1 1 0 0 0-.993.883L7 5v2h2V5a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E") center/16px 16px no-repeat;
  border: 2px solid var(--cookies-switch-highlight, #1872d8);
  cursor: auto;
}
.o-cookies-switch[disabled=disabled] + .o-cookies-switch__control:before, .o-cookies-switch[disabled=disabled] + .o-cookies-switch__control:after {
  display: none;
}

@-webkit-keyframes setOverflowAuto {
  100% {
    overflow: auto;
  }
}

@keyframes setOverflowAuto {
  100% {
    overflow: auto;
  }
}
@-webkit-keyframes setOverflowNone {
  100% {
    overflow: hidden;
  }
}
@keyframes setOverflowNone {
  100% {
    overflow: hidden;
  }
}
@-webkit-keyframes switchOff {
  0% {
    background-size: 12px 12px, 0 0;
  }
  50% {
    background-size: 0 0, 0 0;
  }
  100% {
    background-size: 0 0, 12px 12px;
  }
}
@keyframes switchOff {
  0% {
    background-size: 12px 12px, 0 0;
  }
  50% {
    background-size: 0 0, 0 0;
  }
  100% {
    background-size: 0 0, 12px 12px;
  }
}
@-webkit-keyframes switchOn {
  0% {
    background-size: 0 0, 12px 12px;
  }
  50% {
    background-size: 0 0, 0 0;
  }
  100% {
    background-size: 12px 12px, 0 0;
  }
}
@keyframes switchOn {
  0% {
    background-size: 0 0, 12px 12px;
  }
  50% {
    background-size: 0 0, 0 0;
  }
  100% {
    background-size: 12px 12px, 0 0;
  }
}
