/* Lumarko UA - koszyk, kasa i przycisk "До кошика". 18.11.2026.
   Osobny plik, bo style.css / mobil.css / dodatki.css sa kopia 1:1 z e-lumarko.pl
   i nie wolno ich ruszac - inaczej nastepna synchronizacja wygladu to zadepcze.
   Uzywamy TYLKO zmiennych motywu, zeby sklep UA wygladal jak polski. */

/* przycisk na kafelku listy */
li.product { position: relative; }
li.product .ua-dk {
  display: block; width: calc(100% - 20px); margin: 8px 10px 12px;
  background: var(--czarny); color: #fff; border: 0; border-radius: 3px;
  height: 36px; font-weight: 600; letter-spacing: .04em; cursor: pointer;
}
li.product .ua-dk:hover { background: #000; }

/* dymek po dodaniu */
.ua-dymek {
  position: fixed; right: 16px; bottom: 16px; z-index: 9999;
  background: #fff; border: 1px solid var(--linia); border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,.18); padding: 14px 16px; max-width: 340px;
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: .18s;
}
.ua-dymek.widac { transform: none; opacity: 1; pointer-events: auto; }
.ua-dymek b { color: var(--zielony); display: block; margin-bottom: 4px; }
.ua-dymek-t { font-size: 14px; color: var(--t2); margin-bottom: 10px; }
.ua-dymek-p { display: flex; gap: 8px; }
.ua-dymek-p button, .ua-dymek-p a {
  flex: 1; text-align: center; border-radius: 3px; height: 34px; line-height: 34px;
  font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid var(--linia);
  background: #fff; color: var(--t);
}
.ua-dymek-p a { background: var(--czarny); color: #fff; border-color: var(--czarny); text-decoration: none; }

/* strona koszyka i kasy */
.ua-strona { display: grid; grid-template-columns: 1fr 360px; gap: 30px; margin: 24px 0 60px; }
.ua-strona h1 { font-size: 28px; margin: 18px 0 20px; }
.ua-poz { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--linia2); }
.ua-poz img { width: 90px; height: 90px; object-fit: contain; }
.ua-poz .n { font-size: 15px; line-height: 1.35; }
.ua-poz .c { font-weight: 600; white-space: nowrap; }
.ua-poz .usun { background: none; border: 0; color: var(--szary); cursor: pointer; font-size: 13px; padding: 4px 0; }
.ua-poz .usun:hover { color: var(--czerwony); }
.ua-ilosc { display: inline-flex; border: 1px solid var(--linia); border-radius: 3px; overflow: hidden; }
.ua-ilosc button { width: 32px; height: 32px; border: 0; background: #fafafa; cursor: pointer; }
.ua-ilosc input { width: 46px; height: 32px; border: 0; text-align: center; }
.ua-bok { background: #fafafa; border: 1px solid var(--linia2); border-radius: 4px; padding: 18px; height: fit-content; }
.ua-bok h2 { font-size: 18px; margin: 0 0 14px; }
.ua-wiersz { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 15px; }
.ua-wiersz.suma { border-top: 1px solid var(--linia); margin-top: 8px; padding-top: 12px;
  font-size: 19px; font-weight: 700; }
.ua-btn { display: block; width: 100%; text-align: center; background: var(--czarny); color: #fff;
  border: 0; border-radius: 3px; height: 46px; line-height: 46px; font-weight: 600;
  letter-spacing: .04em; cursor: pointer; margin-top: 14px; text-decoration: none; }
.ua-btn:hover { background: #000; text-decoration: none; color: #fff; }
.ua-btn[disabled] { background: var(--szary); cursor: default; }
.ua-pole { margin-bottom: 14px; }
.ua-pole label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.ua-pole input, .ua-pole select, .ua-pole textarea {
  width: 100%; height: 42px; border: 1px solid var(--linia); border-radius: 3px; padding: 0 11px; background: #fff; }
.ua-pole textarea { height: 80px; padding: 10px 11px; }
.ua-pole .pod { font-size: 13px; color: var(--t2); margin-top: 4px; }
.ua-opcje { display: grid; gap: 8px; margin-bottom: 14px; }
.ua-opcja { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--linia);
  border-radius: 3px; padding: 12px; cursor: pointer; background: #fff; }
.ua-opcja.wybrana { border-color: var(--czarny); box-shadow: inset 0 0 0 1px var(--czarny); }
.ua-opcja .o { font-size: 13px; color: var(--t2); }
.ua-uwaga { background: #fff6e5; border: 1px solid #f0d08a; border-radius: 3px; padding: 12px 14px;
  font-size: 14px; margin: 14px 0; }
.ua-blad { background: #fdeaed; border: 1px solid #f0a9b6; border-radius: 3px; padding: 12px 14px;
  font-size: 14px; margin: 14px 0; color: #8d1226; }
.ua-pusty { padding: 40px 0 60px; text-align: center; color: var(--t2); }
.ua-lista-punktow { max-height: 230px; overflow: auto; border: 1px solid var(--linia); border-radius: 3px; }
.ua-lista-punktow button { display: block; width: 100%; text-align: left; border: 0;
  border-bottom: 1px solid var(--linia2); background: #fff; padding: 9px 11px; cursor: pointer; font-size: 14px; }
.ua-lista-punktow button:hover { background: #f4f4f4; }
.ua-ok { text-align: center; padding: 50px 0 70px; }
.ua-ok .nr { font-size: 30px; font-weight: 700; margin: 10px 0; }

@media (max-width: 900px) {
  .ua-strona { grid-template-columns: 1fr; gap: 18px; }
  .ua-poz { grid-template-columns: 70px 1fr; }
  .ua-poz img { width: 70px; height: 70px; }
  .ua-poz .c { grid-column: 2; }
}
