/* N19 (direktor 22. 11. 2026 – Q2 R4): stranica kuće / stana projekta na telefonu i tabletu (< 1280) – donja traka + donji prozor sa formom.
   Učitava se samo media (max-width: 1279.98px). Brend: bijela, tekst #161e2d, bronza #996a37 (dugme), linije #ece4d8, sporedni #5a6170,
   cigla #9c3d2e samo greška, maslinasta #5b6b4e samo potvrda. Plus Jakarta Sans. */
.n19-q { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
body:has(.n19-q) { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.n19-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 1px solid #ece4d8; box-shadow: 0 -6px 20px rgba(22, 30, 45, .06);
}
html.mdh-dlg .n19-bar, html.n19-open .n19-bar { display: none; }
.n19-bar__u { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.25; }
.n19-bar__u b { font-size: 14px; font-weight: 700; color: #161e2d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n19-bar__u em { font-style: normal; font-size: 13px; color: #5a6170; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n19-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px;
  background: #996a37; color: #fff; font: 700 15px/1.2 'Plus Jakarta Sans', system-ui, sans-serif; text-align: center; cursor: pointer;
  flex: 0 0 auto; max-width: 62%;
}
.n19-btn:hover { background: #85592c; }
.n19-btn:focus-visible, .n19-x:focus-visible { outline: 2px solid #996a37; outline-offset: 2px; }
.n19-btn--block { width: 100%; max-width: none; margin-top: 6px; }
.n19-btn--ol { background: #fff; color: #85592c; box-shadow: inset 0 0 0 1px #ad7c46; }
.n19-btn--ol:hover { background: #faf6f1; }
.n19-btn[aria-busy="true"] { opacity: .7; }

.n19-dlg { position: fixed; inset: 0; z-index: 1060; display: flex; align-items: flex-end; justify-content: center; }
.n19-dlg[hidden] { display: none; }
.n19-dlg__bg { position: absolute; inset: 0; background: rgba(22, 30, 45, .45); opacity: 0; transition: opacity .2s; }
.n19-dlg.is-open .n19-dlg__bg { opacity: 1; }
.n19-dlg__p {
  position: relative; width: 100%; max-width: 640px; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 20px 20px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 30px rgba(22, 30, 45, .12); transform: translateY(24px); transition: transform .22s ease-out; outline: none;
}
.n19-dlg.is-open .n19-dlg__p { transform: none; }
.n19-dlg__p::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 2px; background: #ece4d8; margin: -6px auto 12px; }
.n19-dlg__hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.n19-ey { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #85592c; }
.n19-h { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 700; color: #161e2d; }
.n19-x { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ece4d8; border-radius: 50%; background: #fff; color: #161e2d; cursor: pointer; }
.n19-u { margin: 12px 0 4px; padding: 10px 12px; border-radius: 10px; background: #faf6f1; font-size: 14px; color: #161e2d; }
.n19-p { margin: 8px 0 12px; font-size: 14px; line-height: 1.5; color: #5a6170; }
.n19-f p { margin: 0 0 12px; }
.n19-f label:not(.n19-consent) { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #161e2d; }
.n19-f input:not([type=checkbox]), .n19-f textarea {
  width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #ddd2c2; border-radius: 10px; background: #fff;
  font: 400 16px/1.4 'Plus Jakarta Sans', system-ui, sans-serif; color: #161e2d;
}
.n19-f textarea { min-height: 88px; resize: vertical; }
.n19-f input:focus, .n19-f textarea:focus { outline: none; border-color: #996a37; box-shadow: 0 0 0 3px rgba(153, 106, 55, .18); }
.n19-f [aria-invalid="true"] { border-color: #9c3d2e; }
.n19-consent { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: #5a6170; cursor: pointer; }
.n19-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #996a37; }
.n19-err { margin: 0 0 8px; font-size: 14px; color: #9c3d2e; }
.n19-ok { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 8px; text-align: center; outline: none; }
.n19-ok[hidden] { display: none; }
.n19-ok svg { color: #5b6b4e; }
.n19-ok p { margin: 0; font-size: 16px; line-height: 1.5; color: #161e2d; }
.n19-ok .n19-btn { min-width: 160px; }
@media (min-width: 768px) {
  .n19-dlg { align-items: center; }
  .n19-dlg__p { border-radius: 20px; padding: 24px; max-height: calc(100dvh - 48px); }
  .n19-dlg__p::before { display: none; }
  .n19-btn { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .n19-dlg__p, .n19-dlg__bg { transition: none; } }
