  /* Уведомление о 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%);
}
@media screen and (max-width:600px){
    .cookie-notification {
        position: fixed;
        max-width: 100%;
        left: 0px;
        right: 10px;
   
        }
}
.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: 20%;
    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;
}
.checkboxForm {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
}

.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-checkbox + label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    user-select: none;
}

.custom-checkbox + label::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #666;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-checkbox:checked + label::before {
    background-color: #4CAF50;
    border-color: #4CAF50;
}

.custom-checkbox + label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: scale(0) rotate(45deg);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-checkbox:checked + label::after {
    transform: scale(1) rotate(45deg);
    opacity: 1;
}

.checkboxForm-text {
    color: #333;
}

.checkboxForm-text a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.2s;
}

.checkboxForm-text a:hover {
    text-decoration: underline;
    color: #0056b3;
}
