/* Panel "Dodano do koszyka" */
.tpi-side-shade { position: fixed; inset: 0; z-index: 100000; background: rgba(13, 17, 20, .55); opacity: 0; transition: opacity .25s; }
.tpi-side { position: fixed; inset: 0 0 0 auto; z-index: 100001; width: min(460px, 100%); display: flex; flex-direction: column; background: #fff; color: var(--tpi-ink); font-size: 16px; line-height: 1.45; transform: translateX(102%); transition: transform .28s; box-shadow: -10px 0 40px rgba(13, 17, 20, .2); }
.tpi-side-open .tpi-side-shade { opacity: 1; }
.tpi-side-open .tpi-side { transform: none; }
.tpi-side[hidden], .tpi-side-shade[hidden] { display: none !important; }
.tpi-side *, .tpi-side *::before { box-sizing: border-box; color: inherit; }
.tpi-side a, .tpi-side a:hover { text-decoration: none !important; color: inherit !important; }
.tpi-side :focus-visible { outline: 3px solid var(--tpi-orange); outline-offset: 2px; }
.tpi-side :is(h2, h3, p) { margin: 0 !important; }
.tpi-side__h { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 24px; border-bottom: 1px solid var(--tpi-line); }
.tpi-side__h svg { width: 24px; height: 24px; flex: none; fill: none; stroke: #1f8f4d; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tpi-side .tpi-side__h h2 { flex: 1; font-size: 20px; font-weight: 700; }
.tpi-side button.tpi-side__x { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: none; font-size: 28px; font-weight: 300; line-height: 1; cursor: pointer; }
.tpi-side button.tpi-side__x:hover { background: var(--tpi-fog); }
.tpi-side__scroll { flex: 1; overflow-y: auto; padding: 22px 24px; overscroll-behavior: contain; }
.tpi-side__it { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; }
.tpi-side__it > span { height: 92px; display: block; }
.tpi-side img { width: 100% !important; height: 100% !important; max-width: none; object-fit: contain; }
.tpi-side .tpi-side__it h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.tpi-side__it p { margin-top: 6px !important; color: var(--tpi-ink-2); }
.tpi-side__it b { color: var(--tpi-ink); font-size: 18px; }
.tpi-side .tpi-side__lab { margin: 26px 0 6px !important; font-weight: 700; }
.tpi-side__add { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--tpi-line); font-size: 15px; }
.tpi-side__add > a:first-child { height: 64px; display: block; }
.tpi-side__add b { display: block; }
.tpi-side a.tpi-side__plus { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--tpi-ink); border-radius: var(--tpi-r-btn); font-size: 24px; line-height: 1; }
.tpi-side a.tpi-side__plus:hover { background: var(--tpi-orange); border-color: var(--tpi-orange); }
.tpi-side a.tpi-side__plus.is-ok { background: #1f8f4d; border-color: #1f8f4d; color: #fff !important; font-size: 18px; }
.tpi-side a.tpi-side__plus.loading { opacity: .5; }
.tpi-side a.tpi-side__plus + .added_to_cart { display: none; }
.tpi-side__f { display: grid; gap: 10px; padding: 18px 24px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--tpi-line); }
.tpi-side__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tpi-side__sum b { font-size: 22px; }
.tpi-side .tpi-side__btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin: 0; padding: 0 20px; border: 0; border-radius: var(--tpi-r-btn); background: var(--tpi-orange); color: #14181c !important; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.tpi-side a.tpi-side__btn:hover { background: #ff9240; }
.tpi-side .tpi-side__btn.is-ghost { min-height: 50px; background: #fff; border: 2px solid var(--tpi-ink); font-size: 16px; }
.tpi-side-open, .tpi-side-open body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .tpi-side, .tpi-side-shade { transition: none; } }
.tpi-pp form.cart ~ a.added_to_cart, .tpi-pp .tpi-pp__mini a.added_to_cart { display: none !important; }
