  /* Уведомление о cookie */
.cookie-notification {
  position: fixed;
    bottom: 20px;
    max-width: 30%;
    right: 25px;
    background: #f5f5f5;
    padding: 15px;
    border: 3px solid #6c757d;
    z-index: 1000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 66%);
}

.cookie-content p {
  margin: 0 0 10px;
  color: #333;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}



.cookie-button-outline {
      background: #f0f0f0;
          cursor: pointer;
    color: #333;
    border: 1px solid #ccc;
    font-size: 16px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    box-sizing: border-box;
    padding: 5px 28px;
    min-width: 170px;
    max-width: 300px;
    display: block;
    border-radius: 6px;
}

/* Модальное окно */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-modal.hidden {
  display: none;
}

.cookie-modal-content {
    width: 30%;
    bottom: 20px;
    max-width: 90%;
    right: 25px;
    background: #f5f5f5;
    padding: 15px;
    border: 3px solid #6c757d;
    z-index: 1000;
    border-radius: 10px;
    box-shadow: 0 4px 8px #000;
}

.cookie-modal-content h2 {
  margin-top: 0;
  color: #212529;
}

.cookie-modal-content label {
  display: block;
  margin: 10px 0;
  color: #333;
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.cookie-option {
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-toggle label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-title {
  font-weight: 600;
  color: #333;
}

.toggle-desc {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #0066cc;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cookie-desc {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.cookie-option.open .cookie-desc {
  max-height: 300px;
  opacity: 1;
}

.cookie-option.open .toggle-desc {
  content: "-";
}
.cookie-option.open .hidden{
    display:block;
}

.btn{
        cursor: pointer;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    box-sizing: border-box;
    padding: 14px 28px;
    min-width: 170px;
    max-width: 300px;
    display: block;
    background: #ffda44;
}

.checboxForm {
    color: rgb(48, 48, 48);
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 500;
    line-height: 140%;
    margin: 10px 0px;
    width: 100%;
    display: flex;
    align-items: flex-start;

}
.custom-checkbox{
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.custom-checkbox+label {
  display: inline-flex;
  align-items: center;
  user-select: none;
    display: flex;
    align-items: flex-start;
}
.custom-checkbox+label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #adb5bd;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}
.custom-checkbox:checked+label::before {
  border-color: #F3F3F3;
  background-color: #F3F3F3;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23000' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}
/* стили при наведении курсора на checkbox */
.custom-checkbox:not(:disabled):not(:checked)+label:hover::before {
  border-color: #b3d7ff;
}
/* стили для активного состояния чекбокса (при нажатии на него) */
.custom-checkbox:not(:disabled):active+label::before {
  background-color: #b3d7ff;
  border-color: #b3d7ff;
}
/* стили для чекбокса, находящегося в фокусе */
.custom-checkbox:focus+label::before {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
/* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
.custom-checkbox:focus:not(:checked)+label::before {
  border-color: #80bdff;
}
/* стили для чекбокса, находящегося в состоянии disabled */
.custom-checkbox:disabled+label::before {
  background-color:#F3F3F3;
}
@media screen and (max-width:1480px){
  .cookie-modal-content {
    width: 40%;
  }
  .cookie-notification {
    max-width: 50%;
  }
}
@media screen and (max-width:1280px){
  .cookie-modal-content {
    width: 40%;
  }
  .cookie-notification {
    max-width: 50%;
  }
}
@media screen and (max-width:780px){
  .cookie-modal-content {
    width: 70%;
  }
}
@media screen and (max-width:600px){
    .cookie-notification {
      position: fixed;
      max-width: 100%;
      left: 0px;
      right: 10px;   
    } 
    .cookie-button-outline {
      background: #f0f0f0;
      cursor: pointer;
      color: #333;
      border: 1px solid #ccc;
      font-size: 16px;
      font-weight: 600;
      line-height: 30px;
      text-align: center;
      box-sizing: border-box;
      padding: 5px 28px;
      min-width: 120px;
      max-width: 300px;
      display: block;
      border-radius: 6px;
  }
  .cookie-modal-content {
    width: 100%;
  }
}