@charset "UTF-8";
/*
  Cookie-баннер и окно настроек cookie — art-holod.com
  Файл: /extore/frontend/themes/artholod/css/cookie-consent.css
  Подключение: <link rel="stylesheet" href="/extore/frontend/themes/artholod/css/cookie-consent.css">
*/

.cc_banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  padding: 0 20px 20px;
  font-family: 'Euclid Circular A', Arial, sans-serif;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.cc_banner.cc_is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.cc_banner_inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 24px 30px;
  border-radius: 24px;
  background: #1B2429;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 18px 50px rgba(20, 28, 32, .35);
}
.cc_banner_text {
  max-width: 700px;
}
.cc_banner_title {
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 7px;
}
.cc_banner_desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
}
.cc_banner_desc a,
.cc_link {
  color: #FDDF42;
  border-bottom: 1px solid rgba(253, 223, 66, .45);
}
.cc_banner_desc a:hover {
  border-bottom-color: #FDDF42;
}
.cc_banner_actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ---------- Кнопки ---------- */
.cc_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border: none;
  border-radius: 66px;
  font-family: 'Euclid Circular A', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
}
.cc_btn:hover {
  transform: translateY(-1px);
}
.cc_btn_main {
  background: linear-gradient(136.67deg, #FDDF42 -13.72%, #FE8756 97.75%);
  color: #253238;
}
.cc_btn_main:hover {
  box-shadow: 0 8px 20px rgba(254, 135, 86, .32);
}
.cc_btn_ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .32);
  color: #FFFFFF;
}
.cc_btn_ghost:hover {
  border-color: #FFFFFF;
}
.cc_btn_text {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .72);
  text-decoration: underline;
  padding: 0;
  height: auto;
  font-size: 14px;
}

/* ---------- Окно настроек ---------- */
.cc_modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: 'Euclid Circular A', Arial, sans-serif;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.cc_modal.cc_is-open {
  opacity: 1;
  visibility: visible;
}
.cc_modal_overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 36, 41, .62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.cc_modal_win {
  position: relative;
  width: 100%;
  max-width: 700px;
  max-height: 88vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 40px 42px 34px;
  box-shadow: 0 24px 70px rgba(20, 28, 32, .35);
  transform: translateY(16px);
  transition: transform .25s ease;
}
.cc_modal.cc_is-open .cc_modal_win {
  transform: translateY(0);
}
.cc_modal_close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #F1F5F4;
  color: #253238;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s;
}
.cc_modal_close:hover {
  background: #E3EBE9;
}
.cc_modal_title {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  color: #253238;
  padding-right: 50px;
  margin-bottom: 10px;
}
.cc_modal_desc {
  font-size: 15px;
  line-height: 1.6;
  color: #5A6A70;
  margin-bottom: 24px;
}
.cc_cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cc_cat {
  display: block;
  padding: 15px 0;
  border-top: 1px solid #EEF2F1;
  cursor: pointer;
}
.cc_cat:first-child {
  border-top: none;
}
.cc_cat_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cc_cat_name {
  font-weight: 500;
  font-size: 17px;
  color: #253238;
}
.cc_cat_desc {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #7B898E;
  margin-top: 6px;
  padding-right: 70px;
}
.cc_cat.cc_is_locked .cc_cat_name::after {
  content: 'всегда включены';
  display: inline-block;
  margin-left: 10px;
  font-weight: 400;
  font-size: 12px;
  color: #0F8F86;
  background: #E6F5F3;
  border-radius: 66px;
  padding: 3px 10px;
  vertical-align: middle;
}

/* ---------- Переключатель ---------- */
.cc_switch {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 32px;
  display: inline-block;
}
.cc_switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.cc_switch_track {
  position: absolute;
  inset: 0;
  border-radius: 66px;
  background: #D7E0DE;
  transition: background .25s;
  pointer-events: none;
}
.cc_switch_track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(37, 50, 56, .25);
  transition: transform .25s;
}
.cc_switch input:checked + .cc_switch_track {
  background: linear-gradient(103.21deg, #4CEAAD 28.04%, #2FBECD 70.82%);
}
.cc_switch input:checked + .cc_switch_track::after {
  transform: translateX(24px);
}
.cc_switch input:disabled {
  cursor: default;
}
.cc_switch input:disabled + .cc_switch_track {
  background: #E7EDEB;
  opacity: .75;
}
.cc_switch input:disabled:checked + .cc_switch_track {
  background: linear-gradient(103.21deg, #4CEAAD 28.04%, #2FBECD 70.82%);
  opacity: .5;
}
.cc_switch input:focus-visible + .cc_switch_track {
  box-shadow: 0 0 0 3px rgba(47, 190, 205, .35);
}

/* ---------- Найденные cookie ---------- */
.cc_found {
  margin-top: 22px;
  border-top: 1px solid #EEF2F1;
  padding-top: 18px;
}
.cc_found summary {
  font-size: 15px;
  font-weight: 500;
  color: #253238;
  cursor: pointer;
  list-style: none;
}
.cc_found summary::-webkit-details-marker {
  display: none;
}
.cc_found summary::before {
  content: '+';
  display: inline-block;
  width: 22px;
  font-weight: 500;
  color: #0F8F86;
}
.cc_found[open] summary::before {
  content: '–';
}
.cc_found_list {
  margin-top: 14px;
  font-size: 14px;
  color: #5A6A70;
}
.cc_found_row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
}
.cc_found_tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #0F8F86;
  background: #E6F5F3;
  border-radius: 66px;
  padding: 3px 10px;
}
.cc_found_name {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #3D4C52;
  word-break: break-all;
}

/* ---------- Подвал окна ---------- */
.cc_modal_note {
  font-size: 13px;
  line-height: 1.5;
  color: #8B999D;
  margin: 20px 0 0;
}
.cc_modal_foot {
  position: sticky;
  bottom: -34px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 14px -42px -34px;
  padding: 18px 42px 26px;
  background: #FFFFFF;
  border-top: 1px solid #EEF2F1;
}
.cc_modal_foot .cc_btn_ghost {
  border-color: #D3DCDA;
  color: #253238;
}
.cc_modal_foot .cc_btn_ghost:hover {
  border-color: #253238;
}

/* ---------- Кнопка-ссылка в подвале сайта ---------- */
footer .f_menu button.f_a_big {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
footer .f_menu button.f_a_big:hover {
  color: #FDDF42;
}

/* ---------- Адаптив ---------- */
@media screen and (max-width: 992px) {
  .cc_banner_inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
  }
  .cc_banner_actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .cc_banner_actions .cc_btn {
    flex: 1 1 auto;
  }
  .cc_modal_win {
    padding: 32px 24px 26px;
    border-radius: 22px;
  }
  .cc_modal_title {
    font-size: 23px;
  }
  .cc_cat_desc {
    padding-right: 0;
  }
}
@media screen and (max-width: 576px) {
  .cc_banner {
    padding: 0 12px 12px;
  }
  .cc_banner_inner {
    border-radius: 20px;
    padding: 18px 18px;
  }
  .cc_banner_title {
    font-size: 18px;
  }
  .cc_banner_desc {
    font-size: 14px;
  }
  .cc_banner_actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cc_banner_actions .cc_btn {
    width: 100%;
  }
  .cc_modal {
    padding: 12px;
  }
  .cc_modal_win {
    padding: 28px 18px 22px;
  }
  .cc_modal_foot {
    flex-direction: column;
    bottom: -22px;
    margin: 14px -18px -22px;
    padding: 16px 18px 22px;
  }
  .cc_modal_foot .cc_btn {
    width: 100%;
  }
}
