/* Кнопка и окно обратного звонка (сервис музея Envybox, скрипт cdn.envybox.io/widget/cbk.js) в оформлении сайта.
   Здесь только вид: цвета, шрифты, размер и место. Разметку виджета, его поля, кнопки и отправку номера не трогаем - это работа
   сервиса. Стили сервиса подгружаются позже наших и написаны с !important, поэтому и здесь !important и селекторы от html body.
   Подпись «Сделано в Envybox» оставлена как есть (условие сервиса). */

/* --- кнопка: квадрат в цвет золота сайта, стоит над нижней панелью телефона и под кнопкой «наверх»; значок - наш (img/icons.svg, i-phone) --- */
html body a.callbackkiller.cbk-phone,html body a.callbackkiller.cbk-phone:hover{
  width:52px!important;height:52px!important;border-radius:0!important;-webkit-border-radius:0!important;
  right:8px!important;left:auto!important;top:auto!important;bottom:calc(var(--bbar) + env(safe-area-inset-bottom) + 14px)!important;
  position:fixed!important;margin:0!important;overflow:visible!important;z-index:46!important;transform:none!important;zoom:1!important;   /* на телефоне сервис сам ставит кнопке масштаб */
  box-shadow:0 8px 22px rgba(0,0,0,.55)}
html body a.callbackkiller.cbk-phone .cbk-phone-bgr{background:var(--gold)!important;box-shadow:inset 0 0 0 1px #1a1206;border-radius:0!important;-webkit-border-radius:0!important;opacity:1!important;transition:background .3s}
html body a.callbackkiller.cbk-phone:hover .cbk-phone-bgr{background:#f7d089!important}
html body a.callbackkiller.cbk-phone .cbk-phone-bgr::after{content:"";position:absolute;inset:4px;border:1px solid rgba(26,18,6,.38);pointer-events:none}
html body a.callbackkiller.cbk-phone .cbk-phone-phone{width:28px!important;height:28px!important;margin:12px!important;opacity:1!important;transform:none!important;animation:none!important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1206' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.2 3.5h3l1.6 4.2-2.1 1.5a12 12 0 0 0 6.1 6.1l1.5-2.1 4.2 1.6v3a1.8 1.8 0 0 1-1.9 1.8C10.9 19.1 4.9 13.1 4.4 5.4A1.8 1.8 0 0 1 6.2 3.5Z'/%3E%3C/svg%3E") center/28px 28px no-repeat!important}
html body a.callbackkiller.cbk-phone .cbk-phone-phone .ws-icon-phone{display:none!important}
html body a.callbackkiller.cbk-phone .cbk-phone-text,html body a.callbackkiller.cbk-phone .cbk-phone-text span{font-family:var(--text)!important;font-size:10px!important;color:#1a1206!important}
/* зелёные «волны» сервиса убраны; вместо них - одна спокойная золотая рамка */
html body a.callbackkiller.cbk-phone .cbk-phone-second_circle,html body a.callbackkiller.cbk-phone .cbk-phone-third_circle{display:none!important}
html body a.callbackkiller.cbk-phone .cbk-phone-circle{left:0!important;top:0!important;width:100%!important;height:100%!important;margin:0!important;border-radius:0!important;-webkit-border-radius:0!important;
  background:none!important;border:1px solid var(--gold)!important;box-sizing:border-box;opacity:0;transform:none;animation:rfm-zvonok 3.2s ease-out infinite!important}
@keyframes rfm-zvonok{0%{opacity:.75;transform:scale(1)}70%,100%{opacity:0;transform:scale(1.42)}}
@media not all{html body a.callbackkiller.cbk-phone .cbk-phone-circle{animation:none!important;display:none!important}}
/* на большом экране кнопка «наверх» стоит в углу - кнопка звонка встаёт над ней, по одной оси */
@media (min-width:900px){html body a.callbackkiller.cbk-phone,html body a.callbackkiller.cbk-phone:hover{bottom:68px!important}}
/* на телефоне и планшете, пока открыто уведомление о cookie, кнопка не лежит поверх его кнопок */
@media (max-width:899px){html body:has(.ck.open) a.callbackkiller.cbk-phone{visibility:hidden!important}}

/* --- окно: лист бумаги сайта вместо серой панели --- */
html body .cbk-window-bgr{background:rgba(8,6,4,.86)!important}
html body .callbackkiller.cbk-window{background:var(--paper-bg)!important;color:var(--ink)!important;box-shadow:-18px 0 44px rgba(0,0,0,.6);border-left:1px solid #c59a4a}
html body .callbackkiller.cbk-window .cbk-form,html body .callbackkiller.cbk-window .cbk-form .cbk-form-field,html body .callbackkiller.cbk-window .cbk-form .cbk-form-field span{font-family:var(--text)!important;color:var(--ink2)!important}
html body .callbackkiller.cbk-window .cbk-form-title,html body .callbackkiller.cbk-window .cbk-form-title *{font-family:var(--serif)!important;font-weight:500!important;font-size:1.55rem!important;line-height:1.16!important;color:#160d04!important}
html body .callbackkiller.cbk-window .cbk-form-title small{font-family:var(--text)!important;font-size:.94rem!important;font-weight:400!important;color:var(--ink2)!important}
html body .callbackkiller.cbk-window .cbk-form .cbk-input,html body .callbackkiller.cbk-window .cbk-form .cbk-input:hover,html body .callbackkiller.cbk-window .cbk-form .cbk-input:focus,html body .callbackkiller.cbk-window .cbk-form .cbk-select{
  font-family:var(--text)!important;font-size:1.05rem!important;color:#160d04!important;background:rgba(255,250,235,.55)!important;
  border:1px solid #5a3a1e!important;border-radius:0!important;-webkit-border-radius:0!important;box-shadow:none!important}
html body .callbackkiller.cbk-window .cbk-form .cbk-input::placeholder{color:rgba(74,47,20,.75)!important}
html body .callbackkiller.cbk-window .cbk-form .cbk-input:focus,html body .callbackkiller.cbk-window .cbk-form .cbk-select:focus{border-color:#2a1a08!important;outline:2px solid rgba(197,154,74,.75)!important;outline-offset:1px}
html body .callbackkiller.cbk-window .cbk-form .cbk-input.cbk-error{border-color:#7a1c10!important}
html body .callbackkiller.cbk-window .cbk-form .cbk-button,html body .callbackkiller.cbk-window .cbk-form .cbk-button.cbk-button-lg{
  font-family:var(--text)!important;font-size:.86rem!important;font-weight:400!important;letter-spacing:.14em!important;text-transform:uppercase!important;line-height:1.3!important;
  color:#f1e8d2!important;background:#2a1a08!important;border:1px solid #2a1a08!important;border-radius:0!important;-webkit-border-radius:0!important;box-shadow:none!important;text-shadow:none!important;transition:background .3s}
html body .callbackkiller.cbk-window .cbk-form .cbk-button.cbk-button-lg{padding:14px 10px!important}
html body .callbackkiller.cbk-window .cbk-form .cbk-button:hover,html body .callbackkiller.cbk-window .cbk-form .cbk-button:active{background:#4a2f14!important;border-color:#4a2f14!important}
html body .callbackkiller.cbk-window .cbk-form .cbk-button.cbk-button-no{color:#2a1a08!important;background:none!important;border-color:#5a3a1e!important}
html body .callbackkiller.cbk-window .cbk-label,html body .callbackkiller.cbk-window .cbk-label *,html body .callbackkiller.cbk-window .cbk-agreements-container *{font-family:var(--text)!important;color:var(--ink2)!important}
html body .callbackkiller.cbk-window a.cbk-agreement-link{color:#4a1a0c!important;border-bottom:1px solid currentColor;text-decoration:none!important}
html body .callbackkiller.cbk-window .cbk-timer,html body .callbackkiller.cbk-window .cbk-timer span{font-family:var(--serif)!important;font-weight:500!important;color:#2a1a08!important}
html body .callbackkiller.cbk-window a.cbk-button-no{font-family:var(--text)!important;color:var(--ink2)!important;border-bottom:1px dashed rgba(74,47,20,.7)!important;text-decoration:none!important}
html body .callbackkiller.cbk-window a.cbk-button-no:hover{color:#160d04!important}
html body .callbackkiller.cbk-window .cbk-close-window,html body .callbackkiller.cbk-window .cbk-close-window *{font-family:var(--text)!important;color:#2a1a08!important;opacity:1!important}
html body .callbackkiller.cbk-window .cbk-text-after-call,html body .callbackkiller.cbk-window .cbk-deferred,html body .callbackkiller.cbk-window .error-box{font-family:var(--text)!important;color:var(--ink)!important}
html body .callbackkiller.cbk-window .error-box{color:#7a1c10!important}
