
:root{ --accent:#1e90ff; }

.order-modal{ position:fixed; inset:0; display:none; z-index:9999; }
.order-modal.is-open{ display:block; }
.order-modal__backdrop{ position:absolute; inset:0; background:rgba(8,18,35,.55); }
.order-modal__dialog{
  position:relative;
  max-width:980px;
  margin:48px auto;
  background:#fff;
  border-radius:22px;
  box-shadow:0 24px 60px rgba(0,0,0,.25);
  padding:22px 26px 20px 26px;
}
.order-modal__close{
  position:absolute; right:18px; top:14px;
  width:38px; height:38px;
  border:1px solid #dbeafe;
  border-radius:12px;
  background:#f8fbff;
  font-size:22px;
  line-height:36px;
  cursor:pointer;
}
.order-modal__header{ text-align:center; margin-bottom:14px; }
.order-modal__title{ font-size:22px; font-weight:900; color:var(--accent); }

.order-form__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 18px;
  margin:10px 0 12px 0;
}
.order-field__label{ display:block; font-weight:800; margin:0 0 6px 0; color:#0b4f7a; }
.order-field__input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid #e5eef8;
  background:#fbfdff;
  outline:none;
}
.order-field__input:focus{ border-color:#93c5fd; box-shadow:0 0 0 3px rgba(30,144,255,.15); }

.order-consent{ display:flex; gap:10px; align-items:center; margin:10px 0 14px 0; font-weight:700; }

.order-form__actions{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.order-form__summary{
  text-align:right;
  font-size:18px;
  font-weight:800;
  color:var(--accent);
}
.order-form__summary-line{ margin-top:4px; }
.order-form__summary strong{ color:var(--accent); font-weight:900; }

@media (max-width: 860px){
  .order-modal__dialog{ margin:18px 12px; }
  .order-form__grid{ grid-template-columns:1fr; }
  .order-form__actions{ flex-direction:column; align-items:stretch; }
  .order-form__summary{ text-align:left; }
}
#digexThanksModal{ position: fixed; inset: 0; display: none; z-index: 99999; }
#digexThanksModal.is-open{ display: block; }

.digex-thanks__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.45);
}

.digex-thanks__card{
  position:absolute; left:50%; top:50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 32px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: 22px 22px 18px;
  border: 1px solid rgba(30,144,255,.18);
  text-align: center;
}

.digex-thanks__close{
  position:absolute; right:12px; top:10px;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(30,144,255,.25);
  background:#fff;
  font-size: 22px;
  line-height: 1;
}

.digex-thanks__icon{
  width: 54px; height: 54px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(30,144,255,.12);
  color:#1e90ff;
  font-weight: 800;
  font-size: 28px;
  margin: 0 auto 12px;
}
.digex-thanks__card--error .digex-thanks__icon{
  background: rgba(230,126,34,.15);
  color: #e67e22;
}

.digex-thanks__title{
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.digex-thanks__text{
  color: #2b2f38;
  line-height: 1.45;
  margin-bottom: 14px;
}

.digex-thanks__btn{
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #1e90ff;
  color: #fff;
  font-weight: 700;
}
.digex-thanks__btn:hover{ filter: brightness(0.95); }


