/* Объемные глянцевые кнопки в стиле anoumitc.ru. Подключается после style.css и style_qw.css. */
.button,
.button--primary,
.button--orange,
.button--grey,
.button--white {
  border-radius: 999px;
  letter-spacing: .005em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease, color .1s linear, border-color .1s linear;
}
.button--icon { padding: 0; }

/* обычная кнопка: светлый глянец */
.button {
  color: #1e1f1d;
  border: 1px solid #d3d3d6;
  background-color: #f6f6f7;
  background-image: linear-gradient(180deg, #ffffff 0%, #f6f6f7 52%, #ececee 100%);
  box-shadow: 0 1px 0 #fff inset, 0 -1px 2px rgba(30,31,29,.08) inset, 0 2px 3px rgba(30,31,29,.10), 0 10px 18px -8px rgba(30,31,29,.22);
}
.button:hover {
  color: #1e1f1d;
  border-color: #e0521a;
  background-color: #ff6a2a;
  background-image: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.16) 48%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #ff8a50 0%, #ff6a2a 55%, #f0561a 100%);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -2px 4px rgba(150,40,0,.28) inset, 0 4px 6px rgba(232,85,26,.32), 0 16px 26px -10px rgba(232,85,26,.6);
}
.button:hover svg path { fill: #1e1f1d; }
.button:active {
  transform: translateY(0);
  filter: brightness(.97);
  box-shadow: 0 2px 5px rgba(150,40,0,.35) inset, 0 4px 8px -4px rgba(232,85,26,.5);
}

/* главная кнопка: оранжевый глянец */
.button--primary,
.button--orange {
  color: #1e1f1d;
  border: 1px solid #e0521a;
  background-color: #ff6a2a;
  background-image: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.16) 48%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #ff8a50 0%, #ff6a2a 55%, #f0561a 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -2px 4px rgba(150,40,0,.28) inset, 0 2px 3px rgba(232,85,26,.30), 0 12px 22px -8px rgba(232,85,26,.55);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.button--primary svg path,
.button--orange svg path { fill: #1e1f1d; }
.button--orange:hover {
  color: #1e1f1d;
  border-color: #e0521a;
  background-color: #ff7236;
  filter: brightness(1.05) saturate(1.05);
}
/* при наведении главная кнопка становится темной, как и раньше */
.button--primary:hover {
  color: #fff;
  border-color: #0f100f;
  background-color: #2a2b28;
  background-image: linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.08) 48%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #4d4e47 0%, #31322e 55%, #1c1d1a 100%);
  text-shadow: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 -2px 4px rgba(0,0,0,.45) inset, 0 4px 6px rgba(30,31,29,.32), 0 16px 26px -10px rgba(30,31,29,.55);
}
.button--primary:hover svg path { fill: #fff; }

/* серая кнопка */
.button--grey {
  color: #3f403d;
  border-color: #c4c4c6;
}
.button--grey:hover { color: #1e1f1d; }

/* кнопка на темном фоне */
.button--white {
  color: #fbfcf7;
  border: 1px solid rgba(255,255,255,.28);
  background-color: #2a2b28;
  background-image: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 48%, rgba(255,255,255,0) 50%), linear-gradient(180deg, #44453f 0%, #2a2b28 55%, #161715 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 -2px 4px rgba(0,0,0,.45) inset, 0 8px 16px -8px rgba(0,0,0,.6);
}
.button--white svg path { fill: #fbfcf7; }
.button--white:hover { color: #1e1f1d; }
.button--white:hover svg path { fill: #1e1f1d; }

button[disabled].button,
.button[disabled] { opacity: .6; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .button, .button--primary, .button--orange, .button--grey, .button--white { transition: none; }
  .button:hover, .button:active { transform: none; }
}

/* ===== компактные кнопки, белый текст на оранжевом (правка 2026-11-22) ===== */
.button { height: 40px; padding: 0 18px; font-size: 15px; font-weight: 600; }
.button--icon { width: 40px; padding: 0; }
.button svg { width: 18px; }
.button--primary, .button--orange, .button--primary:hover, .button--orange:hover, .button:hover { color: #fff; }
.button--primary, .button--orange, .button:hover { text-shadow: 0 1px 1px rgba(150,40,0,.5); }
.button--primary svg path, .button--orange svg path, .button:hover svg path { fill: #fff; }
.button--primary:hover { text-shadow: 0 1px 1px rgba(0,0,0,.4); }
.button--white:hover { color: #1e1f1d; text-shadow: none; }
.button--white:hover svg path { fill: #1e1f1d; }
