/* prvi.dodir — plaćanje karticom (sajt-3-0): strane /plati i /placanje (potvrda) i traka sa logotipima
   (banka, kartice, 3-D Secure) koja ide i na početnu, porudžbine, nalog i Uslove.
   Pravila banke (Prilog 1): logo banke vodi na raiffeisenbank.rs; logotipi kartica (Visa, Mastercard, Maestro, DinaCard)
   najmanje 37×23 px, najviše 180×113 px; logotipi 3-D Secure (Visa Secure, Mastercard ID Check) odvojeni od kartica,
   širine 60–155 px, sa linkovima ka stranama kartičarskih kuća. Logotipi su iz paketa banke, neizmenjeni. */

.paylogos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.paylogos__bank { display: inline-flex; align-items: center; }
.paylogos__bank img { display: block; width: 150px; height: auto; }
.paylogos__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.paylogos__cards span, .paylogos__secure a {
  display: grid; place-items: center; box-sizing: border-box; background: #FFFFFF; border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .1);
}
.paylogos__cards span { width: 74px; height: 46px; padding: 6px 8px; }
.paylogos__cards img { display: block; max-width: 58px; max-height: 30px; width: auto; height: auto; }
.paylogos__secure a { height: 68px; padding: 4px 8px; }
.paylogos__secure img { display: block; width: 60px; height: 60px; }
.paylogos__secure a.is-mc img { width: 140px; height: auto; }
.paylogos__note { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.5; color: var(--grafit, #6E6D68); }
.paylogos--sm .paylogos__bank img { width: 120px; }

/* ---------- Strane plaćanja ---------- */
.pay-page { min-height: calc(100vh / var(--z, 1)); display: flex; flex-direction: column; background: var(--papir, #F3F2ED); }
.ppg { flex: 1; padding: clamp(28px, 6vh, 64px) 0 56px; }
.ppg__in { max-width: 640px; margin: 0 auto; padding: 0 var(--gutter, 20px); }
.ppg .label { margin: 0; font-family: var(--mono, monospace); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grafit, #6E6D68); }
.ppg__title { margin: 14px 0 0; font-size: clamp(34px, 6vw, 52px); font-weight: 600; letter-spacing: -0.05em; line-height: .98; text-wrap: balance; }
.ppg__title .muted { display: block; color: var(--grafit, #6E6D68); }
.ppg__lead { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: var(--grafit-tamni, #46453F); max-width: 52ch; }
.ppg__box { margin-top: 26px; padding: 22px 24px; border-radius: 22px; background: #FBFAF7; box-shadow: 0 24px 48px -36px rgba(11, 11, 11, .45), inset 0 0 0 1px rgba(11, 11, 11, .06); }
.ppg__sum { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.ppg__what { font-size: 15px; color: var(--grafit-tamni, #46453F); }
.ppg__amount { font-size: 34px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ppg__eur { font-size: 14px; color: var(--grafit, #6E6D68); }
.ppg__rows { width: 100%; margin: 0; border-collapse: collapse; font-size: 14.5px; }
.ppg__rows th, .ppg__rows td { padding: 10px 0; border-top: 1px solid var(--linija, #DCDAD2); vertical-align: top; }
.ppg__rows th { padding-right: 16px; font-weight: 400; text-align: left; color: var(--grafit, #6E6D68); }
.ppg__rows td { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ppg__rows tr:first-child th, .ppg__rows tr:first-child td { border-top: 0; }
.ppg__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ppg__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.ppg__status.is-ok { color: #1F7A46; }
.ppg__status.is-no { color: #A8321E; }
.ppg__status.is-wait { color: var(--grafit-tamni, #46453F); }
.ppg__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.ppg__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0;
  border-radius: 999px; background: #0B0B0B; color: #F3F2ED; font: inherit; font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 26px -14px rgba(11, 11, 11, .6);
}
.ppg__btn:hover { background: #262624; }
.ppg__btn:focus-visible { outline: 2px solid #0B0B0B; outline-offset: 3px; }
.ppg__btn[disabled] { opacity: .6; cursor: progress; }
.ppg__link { color: inherit; font-size: 15px; }
.ppg__small { margin: 14px 0 0; font-size: 13px; line-height: 1.55; color: var(--grafit, #6E6D68); }
.ppg__small a { color: inherit; }
.ppg__test { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: #0B0B0B; color: #F3F2ED; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .1em; }
.ppg__logos { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--linija, #DCDAD2); }
.ppg__firm { margin: 18px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--grafit, #6E6D68); }
.ppg__spin { display: inline-block; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: pay-spin .8s linear infinite; vertical-align: -3px; }
@keyframes pay-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ppg__spin { animation: none; } }
@media (max-width: 520px) {
  .ppg__box { padding: 18px; border-radius: 18px; }
  .ppg__amount { font-size: 28px; }
  .ppg__btn { width: 100%; }
  .ppg__rows th { width: 44%; }
}

/* ---------- Porudžbina: logotipi u koraku 4 i „Još samo plaćanje“ na potvrdi (porudzbina.html, svoj-dizajn.html) ---------- */
.pay + .paylogos { margin-top: 14px; }
.done-pay { margin-top: 22px; padding: 18px 22px; border-radius: 22px; background: #FBFAF7; box-shadow: 0 24px 48px -36px rgba(11, 11, 11, .45), inset 0 0 0 1px rgba(11, 11, 11, .08); }
.done-pay .label { display: inline-flex; align-items: center; gap: 8px; }
.done-pay .label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2FA36B; }
.done-pay__link { display: inline-block; margin-top: 10px; font-size: 14px; }
.done-pay .label { margin: 0; }
.done-pay__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 8px 0 0; }
.done-pay__sum b { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.done-pay__sum small { font-size: 14px; color: var(--grafit, #6E6D68); }
.done-pay__note { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--grafit, #6E6D68); }

/* ---------- Tamna podloga (podnožje početne): logo banke na beloj pločici, da se vidi ---------- */
.paylogos--dark .paylogos__bank { padding: 8px 12px; border-radius: 8px; background: #FFFFFF; }
.paylogos--dark .paylogos__bank img { width: 120px; }
/* Podnožje početne: logotipi levo, linkovi i podaci o firmi desno; na telefonu jedno ispod drugog */
.pd-legal { flex-basis: 100%; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 16px; border-top: 1px solid #262624; }
.pd-legal__txt { display: grid; gap: 2px; justify-items: end; text-align: right; }
.pd-legal__firm { margin: 0; font-size: 12.5px; line-height: 1.5; color: #8D8C86; }
.pd-legal__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 18px; }
@media (max-width: 899px) {
  .pd-legal__txt { justify-items: start; text-align: left; }
  .pd-legal__links { justify-content: flex-start; }
}
.pd-legal__links a { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; color: #A9A8A1; text-decoration: none; }
.pd-legal__links a:hover { color: #F3F2ED; text-decoration: underline; }
.footer__pay { margin-top: 14px; }
