/* Oglas – dijelovi zajednički za telefon i računar (direktor 15. 11. 2026 – brief OGLAS-IZDAVANJE-RACUNAR, tačke 2, 5, P8, P10).
   Red poređenja cijene (.mdh-cmp, u „Mjesečno plaćate“ / „Troškovi kupovine“), „Istorija cijene“, „Brza pitanja agentu“ (.mdh-qq) i prozor
   pitanja (.mdh-qd), „Samo gotovinska kupovina“ (.mdh-q-cash). Sve se prikazuje samo kad postoje podaci. Brend: bronza #996a37 (dugmad/sitan
   tekst), #ad7c46 (linije), tekst #161e2d, sporedni #5a6170, linije #ece4d8, topla #faf6f1, šampanj #f8efe3 → #e9d4b8; hover #85592c + sjenka. */
.mdh-cmp { margin: 14px 0 0; padding: 12px 14px; border: 1px dashed #e9d4b8; border-radius: 14px; background: #fdf9f3; font-size: 14px; line-height: 1.5; color: #161e2d; }
.mdh-cmp__t { margin: 0; }
.mdh-cmp__t b { font-weight: 800; white-space: nowrap; }
.mdh-cmp__h { display: inline-flex; align-items: center; min-height: 44px; margin: 2px 0 -8px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: #85592c; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mdh-cmp__h:hover { color: #85592c; }
.mdh-cmp__h:focus-visible { outline: 3px solid #ad7c46; outline-offset: 2px; border-radius: 6px; }
.mdh-cmp__list { list-style: none; margin: 8px 0 0; padding: 0; }
.mdh-cmp__list[hidden] { display: none; }
.mdh-cmp__list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid #ece4d8; font-size: 13.5px; color: #5a6170; }
.mdh-cmp__list del { color: #5a6170; }
.mdh-cmp__list b { color: #161e2d; }
.mdh-q-cash { flex: 0 0 100%; order: 5; margin: 6px 0 0; font-size: 14px; font-weight: 700; color: #5a6170; }   /* siva, ne maslinasta (direktor 15. 11. 2026, 18:33) */
/* red cijene se prelama i kad je „Samo gotovinska kupovina“ jedina dodatna linija (bez „Provjereno“) – isto pravilo kao rata i „Provjereno“ */
@media (max-width: 991.98px) { .mdh-n--detail .mdh-otop .box-price:has(.mdh-q-cash) { flex-wrap: wrap !important; } }
/* „Pošaljite partneru“ u meniju Podijeli samo na računaru ≥ 1280 (direktor 18:33); B3: računarski oglas od 992 */
@media (max-width: 991.98px) { .share-row[data-mdh-partner] { display: none !important; } }

/* „Brza pitanja agentu“ – pilule ispod forme */
.mdh-qq { margin: 14px 0 0; }
/* telefon i tablet (< 1280 px) bez brzih pitanja – kao prije b1cf58a (direktor 15. 11. 2026, 18:07); kolona desno samo na računaru */
@media (max-width: 991.98px) { .mdh-qq--d { display: none !important; } }
.mdh-qq__h { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #5a6170; }
.mdh-qq ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.mdh-qq__b { min-height: 44px; padding: 9px 14px; border: 1px solid #e9d4b8; border-radius: 999px; background: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; color: #161e2d; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.mdh-qq__b:hover { border-color: #ad7c46; background: #faf6f1; box-shadow: 0 4px 12px rgba(133, 89, 44, .12); }
.mdh-qq__b:focus-visible { outline: 3px solid #ad7c46; outline-offset: 2px; }

/* prozor „Pitanje agentu“ */
.mdh-qd { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(22, 30, 45, .45); }
.mdh-qd[hidden] { display: none; }
.mdh-qd__box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px 22px 22px; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(22, 30, 45, .25); color: #161e2d; font-family: 'Plus Jakarta Sans', sans-serif; }
.mdh-qd h2 { margin: 0 40px 14px 0; font-size: 20px; line-height: 1.3; font-weight: 800; color: #161e2d; }
.mdh-qd__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #faf6f1; color: #161e2d; cursor: pointer; }
.mdh-qd__x:hover { background: #f1e6d6; }
.mdh-qd__x:focus-visible, .mdh-qd__send:focus-visible { outline: 3px solid #ad7c46; outline-offset: 2px; }
.mdh-qd__q { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #f8efe3, #e9d4b8); border-left: 3px solid #ad7c46; }
.mdh-qd__q span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5a6170; }
.mdh-qd__q b { font-size: 16px; font-weight: 700; }
.mdh-qd__f { display: block; margin: 0 0 12px; }
.mdh-qd__f span { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.mdh-qd__f input, .mdh-qd__f textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #ece4d8; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: #161e2d; }
.mdh-qd__f textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.mdh-qd__f span small { font-weight: 500; color: #5a6170; }
.mdh-qd__f[hidden] { display: none; }
.mdh-qd__f input:focus, .mdh-qd__f textarea:focus { outline: none; border-color: #ad7c46; box-shadow: 0 0 0 3px rgba(173, 124, 70, .18); }
.mdh-qd__f input[aria-invalid="true"] { border-color: #9c3d2e; }
.mdh-qd__hint { margin: -6px 0 10px; font-size: 13px; color: #5a6170; }
.mdh-qd__err { margin: 0 0 10px; font-size: 14px; color: #9c3d2e; }
.mdh-qd__err:empty { display: none; }
.mdh-qd__send { width: 100%; min-height: 52px; border: 0; border-radius: 14px; background: #996a37; color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s, box-shadow .15s; }
.mdh-qd__send:hover { background: #85592c; box-shadow: 0 8px 20px rgba(133, 89, 44, .28); }
.mdh-qd__send[disabled] { opacity: .7; cursor: progress; }
.mdh-qd__ok { margin: 0; padding: 14px; border-radius: 14px; background: #e7ebdf; color: #4a5840; font-weight: 600; }
.mdh-qd__ok[hidden] { display: none; }
.mdh-qd__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.mdh-qd-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mdh-qq__b, .mdh-qd__send { transition: none; } }

/* K8 (17. 11. 2026, R2 S11): strelice galerije su pravi <button> – bez podrazumijevanog okvira / unutrašnje margine (izgled isti kao <div>) */
.box-navigation button.navigation { border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; line-height: inherit; -webkit-appearance: none; appearance: none; }
