/* ===== PODLAHOVKA: callback modal (only phone) ===== */
.dm-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999999;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  }
  .dm-modal.is-open { display: block; }
  
  .dm-modal__backdrop{
    position: absolute; inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
  }
  
  .dm-modal__dialog{
    position: relative;
    width: min(520px, calc(100% - 32px));
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    overflow: hidden;
    animation: dmPop .22s ease-out;
  }
  
  @keyframes dmPop {
    from { transform: translateY(calc(-50% + 12px)); opacity: .6; }
    to   { transform: translateY(-50%); opacity: 1; }
  }
  
  .dm-modal__content{ padding: 22px 22px 18px; }
  
  .dm-modal__title{
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.15;
    color: #111827;
  }
  
  .dm-modal__text{
    margin: 0 0 16px;
    color: #374151;
    font-size: 15px;
    line-height: 1.5;
  }
  
  .dm-modal__phone{
    font-weight: 900;
    color: #b91c1c;
    text-decoration: none;
    white-space: nowrap;
  }
  .dm-modal__phone:hover{ text-decoration: underline; }
  
  .dm-modal__close{
    position: absolute;
    right: 12px;
    top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 0;
    background: rgba(17,24,39,.06);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    color: #111827;
  }
  .dm-modal__close:hover{ background: rgba(17,24,39,.10); }
  
  .dm-modal__label{
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
  }
  
  .dm-modal__input{
    width: 100%;
    margin-top: 6px;
    padding: 13px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    color: #111827;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  
  .dm-modal__input:focus{
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,.15);
  }
  
  .dm-modal__actions{
    display: flex;
    gap: 10px;
    margin-top: 14px;
  }
  
  .dm-modal__btn{
    flex: 1;
    padding: 12px 14px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-weight: 900;
    font-size: 14px;
    background: #dc2626;
    color: #fff;
    transition: transform .05s ease, filter .15s ease;
  }
  .dm-modal__btn:hover{ filter: brightness(1.05); }
  .dm-modal__btn:active{ transform: translateY(1px); }
  
  .dm-modal__btn--ghost{
    background: #f3f4f6;
    color: #111827;
  }
  
  .dm-modal__hint{
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #6b7280;
  }
  

.dm-modal__btn--ghost{
    background: #f3f4f6 !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
    opacity: 1 !important;
  }
  
  .dm-modal__btn--ghost:hover{
    background: #e5e7eb !important;
  }
  
  .dm-modal__btn--ghost:active{
    transform: translateY(1px);
  }
  