/* Pełna wersja (kup.html): księga z ceną po lewej i stanem zakupu po prawej. */
.kup-ksiega { max-width: 1120px; margin: 0 auto; }
.kup-kadr { margin: 0 0 14px; border: 3px solid #6a4428; border-radius: 4px; box-shadow: 0 6px 12px #0006; overflow: hidden; }
.kup-kadr img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 385; object-fit: cover; image-rendering: pixelated; }
.kup-cena { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 16px !important; }
.kup-cena b { font: 400 40px/1 var(--piksel); color: #8e2a1e; }
.kup-cena span { color: var(--brazowy); font-size: 16px; }
.kup-stan { display: grid; gap: 12px; justify-items: start; margin-bottom: 18px; padding: 16px 18px; border: 2px dashed #b89a6a; border-radius: 6px; background: #fff4d633; }
.kup-stan p { margin: 0; }
.kup-ok { font-size: 22px; font-weight: 700; color: var(--ziel) !important; }
.kup-wkrotce { font-weight: 700; color: #5a1c10; }
.kup-test { padding: 6px 10px; border-radius: 4px; background: #2f5fae22; color: #1f3f7a; font-size: 15px; }
.kup-sposoby { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.kup-sposoby li { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px dotted #b89a6a; font-size: 15.5px; }
.kup-sposoby b { color: #5a1c10; }
@media (max-width: 760px) { .kup-cena b { font-size: 34px; } .kup-stan { padding: 12px; } .kup-stan .prz { justify-self: stretch; text-align: center; } }
.kup-ksiega > .str:last-child { padding-bottom: 28px; }
.kup-stan .link { color: #8e2a1e; font-weight: 700; }
.kup-stan .pas .prz { flex: 1 1 auto; }
@media (max-width: 760px) { .kup-ksiega > .str:last-child { padding-bottom: 40px !important; } .kup-ksiega { margin-bottom: 24px; } }
.kup-test { background: #f6e3b0 !important; color: #5a3a10 !important; border: 1px dashed #a07a44; }
.kup-stan { border: 0; border-style: solid; border-width: 12px; border-image: url(/ui/k/wiersz.webp) 30 fill / 12px stretch; background: none; padding: 12px 14px; }
.kup-dev { font-size: 13.5px; color: var(--brazowy); }
.kup-dev button { font: inherit; color: #1f3f7a; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.kup-cena b { font: 700 40px/1 var(--szeryf) !important; color: #7a2216 !important; }
.kup-od { text-align: center; margin: -8px 0 14px !important; font-weight: 700; color: #5a1c10; }
.kup-stan { padding: 16px 20px !important; }
@media (max-width: 760px) { .kup-stan { padding: 14px 18px !important; } }
.kup-stan { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
.kup-stan > * { min-width: 0; }
.kup-stan .pas { display: flex; flex-wrap: wrap; gap: 8px; }
.kup-stan .prz { white-space: normal; text-align: center; max-width: 100%; }
@media (min-width: 761px) { .kup-stan .pas .prz { flex: 0 1 auto; } }
@media (max-width: 760px) { .kup-stan .pas .prz { flex: 1 1 100%; } }
@media (max-width: 760px) {
  /* telefon: najpierw co zrobić (zagraj, powiadom), potem opis pełnej wersji */
  .kup-ksiega { display: flex; flex-direction: column; }
  .kup-ksiega > .str:last-child { order: -1; }
  .kup-ksiega > .str:first-child { padding-bottom: 32px !important; }
}
