.gallery h3 {
  color: #ffffff !important;
}
.button_send_dedmoroz {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;

  background: linear-gradient(180deg, #c7252c 0%, #8b0f16 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all .25s ease;
  box-shadow: 0 6px 18px rgba(139, 15, 22, .35);
  width: 100%;
}

/* Мягкий блеск */
.button_send_dedmoroz::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -50%;
  width: 45%;
  height: 180%;
  background: linear-gradient(120deg,
      rgba(255,255,255,0.18),
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.18)
  );
  transform: rotate(-25deg);
  transition: left .6s cubic-bezier(.2,.9,.3,1);
  pointer-events: none;
  mix-blend-mode: overlay;
}
#wjcallback-modal .wjcallbackform {
    border-radius: 50px;
}
/* Нежная анимация «снежинок» */
.button_send_dedmoroz::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  opacity: .92;
  filter: blur(.2px);
  box-shadow:
    -12px 7px 0 rgba(255,255,255,0.85),
    -22px -5px 0 rgba(255,255,255,0.7);
  animation: snowdance 3.8s ease-in-out infinite;
  pointer-events: none;
}

/* Hover */
.button_send_dedmoroz:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(139, 15, 22, .45);
}

.button_send_dedmoroz:hover::after {
  left: 130%;
}

/* Active */
.button_send_dedmoroz:active {
  transform: translateY(-1px) scale(.98);
}

/* Focus */
.button_send_dedmoroz:focus-visible {
  outline: 3px solid rgba(255, 204, 51, .45);
  outline-offset: 4px;
}

/* Анимация снежинок */
@keyframes snowdance {
  0%   { transform: translateY(0) scale(1); opacity: .95; }
  50%  { transform: translateY(-3px) scale(1.05); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: .95; }
}

/* =============================== */
/*     Модальное окно – фон        */
/* =============================== */
#wjcallback-modal.show {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn .35s ease;
}

/* Диалог */
#WJCForm112 .modal-dialog {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

/* Контент */
#WJCForm112 .modal-content {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.30);
  animation: popup .35s ease;
  border: none;
  width: 350px;
}

/* ===================================== */
/*          ШАПКА ФОРМЫ                   */
/* ===================================== */
#WJCForm112 .modal-header {
  background: linear-gradient(135deg, #e53935, #b3141b);
  padding: 20px 26px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#WJCForm112 .modal-header .modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

#WJCForm112 .modal-header .close {
  font-size: 28px;
  cursor: pointer;
  opacity: 0.85;
  transition: .2s;
  position: absolute;
  right: 10px;
  top: 10px;
  background-color: #ffffff;
  color: red;
  padding: 10px 10px 12px 10px;
  border-radius: 50px;
}

#WJCForm112 .modal-header .close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ===================================== */
/*              ТЕЛО ФОРМЫ               */
/* ===================================== */
#WJCForm112 .modal-body {
  padding: 26px 28px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='white' opacity='0.05'><text x='20' y='40' font-size='40'>❄</text></svg>") repeat;
}

/* Лейблы */
#WJCForm112 label.form-label {
  font-weight: 600;
  color: #b3141b;
  margin-bottom: 6px;
  display: block;
  font-size: 0.95rem;
}

/* Поля */
#WJCForm112 .form-control {
  border-radius: 12px;
  border: 2px solid #ececec;
  padding: 12px 14px;
  font-size: 1rem;
  transition: .25s;
  background: #fff;
}

#WJCForm112 .form-control:focus {
  border-color: #e53935;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.18);
}

/* Текстовая область */
#WJCForm112 textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Отступы между полями */
#WJCForm112 .control-group {
  margin-bottom: 20px;
}

/* ===================================== */
/*              НИЗ ФОРМЫ                */
/* ===================================== */
#WJCForm112 .modal-footer {
  background: #fafafa;
  padding: 20px 28px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
}

/* Кнопка отправки */
#WJCForm112 .modal-footer .btn {
  background: linear-gradient(135deg, #e53935, #b3141b);
  padding: 12px 32px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(179, 20, 27, 0.35);
  transition: .25s;
}

#WJCForm112 .modal-footer .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(179, 20, 27, 0.45);
}

#WJCForm112 .modal-footer .btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===================================== */
/*           АНИМАЦИИ                    */
/* ===================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes popup {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}


