/* TOP-PC: strona główna, kontakt, nagłówek i stopka. Kolory jak w logo. */
:root { --tp-accent: #008186; --tp-accent-dark: #00686c; --tp-soft: #e6f4f4; --tp-ink: #14171a; --tp-muted: #5f6b76; --tp-line: #e3e7ea; --tp-bg2: #f4f6f7; }

.toppc-ico { width: 28px; height: 28px; flex: none; color: var(--tp-accent); }

/* Nagłówek */
.toppc-header { border-bottom: 1px solid var(--tp-line); padding-top: 14px; padding-bottom: 14px; background: #fff; }
/* Nagłówek przyklejony do góry przy przewijaniu (przyklejamy cały element motywu). */
header.wp-block-template-part:has(.toppc-header) { position: sticky; top: 0; z-index: 50; }
.admin-bar header.wp-block-template-part:has(.toppc-header) { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part:has(.toppc-header) { top: 0; position: relative; } }
.toppc-header .wp-block-navigation { font-weight: 600; font-size: 15px; gap: 26px; }
.toppc-header .wp-block-navigation a:hover { color: var(--tp-accent); }

/* Stopka */
.toppc-footer { background: var(--tp-bg2); border-top: 1px solid var(--tp-line); padding-top: 56px; padding-bottom: 28px; margin-top: 0; font-size: 14px; }
.toppc-footer .toppc-logo img { height: 36px !important; }
.toppc-footer__about { color: var(--tp-muted); max-width: 340px; margin-top: 16px; line-height: 1.6; }
.toppc-footer__h { font-size: 13px !important; text-transform: uppercase; letter-spacing: .08em; color: var(--tp-ink); margin: 6px 0 14px; font-weight: 700; }
.toppc-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.toppc-footer__list a, .toppc-footer__company a { color: var(--tp-ink); text-decoration: none; }
.toppc-footer__list a:hover, .toppc-footer__company a:hover { color: var(--tp-accent); text-decoration: underline; }
.toppc-footer__company { color: var(--tp-muted); line-height: 1.6; margin: 0 0 8px; }
.toppc-footer__bottom { border-top: 1px solid var(--tp-line); padding-top: 20px; margin-top: 36px !important; color: var(--tp-muted); font-size: 13px; }

/* Strona główna */
.toppc-home { color: var(--tp-ink); margin-top: 0 !important; }
.toppc-home h1, .toppc-home h2 { letter-spacing: -.02em; line-height: 1.12; margin: 0 0 16px; }
.toppc-home h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.toppc-home h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.toppc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.toppc-narrow { max-width: 820px; }
.toppc-eyebrow { color: var(--tp-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin: 0 0 14px; }
.toppc-lead { font-size: 18px; color: var(--tp-muted); line-height: 1.6; margin: 0 0 28px; max-width: 560px; }

.toppc-btn { display: inline-block; background: var(--tp-accent); color: #fff !important; padding: 15px 26px; border-radius: 10px; font-weight: 700; text-decoration: none !important; border: 2px solid var(--tp-accent); transition: background .15s, transform .15s; }
.toppc-btn:hover { background: var(--tp-accent-dark); border-color: var(--tp-accent-dark); transform: translateY(-1px); }
.toppc-btn--ghost { background: transparent; color: var(--tp-ink) !important; border-color: var(--tp-line); }
.toppc-btn--ghost:hover { background: var(--tp-bg2); border-color: var(--tp-ink); }
.toppc-btn--light { background: #fff; color: var(--tp-accent) !important; border-color: #fff; }
.toppc-btn--light:hover { background: var(--tp-soft); border-color: var(--tp-soft); }
.toppc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.toppc-hero { padding: 64px 0 56px; background: linear-gradient(180deg, #fff 0%, #f7fbfb 100%); }
.toppc-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.toppc-hero__art img { width: 100%; height: auto; max-width: 480px; display: block; margin-left: auto; }
.toppc-ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; }
.toppc-ticks li { display: flex; align-items: center; gap: 6px; }
.toppc-ticks .toppc-ico { width: 18px; height: 18px; stroke-width: 2.5; }

.toppc-trust { border-top: 1px solid var(--tp-line); border-bottom: 1px solid var(--tp-line); background: #fff; }
.toppc-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.toppc-trust__grid > * { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; padding: 26px 20px; color: inherit; text-decoration: none; border-left: 1px solid var(--tp-line); }
.toppc-trust__grid > *:first-child { border-left: 0; }
.toppc-trust__grid .toppc-ico { grid-row: span 2; width: 32px; height: 32px; }
.toppc-trust__grid strong { font-size: 15px; }
.toppc-trust__grid span { font-size: 13px; color: var(--tp-muted); line-height: 1.45; }
.toppc-trust__grid a:hover strong { color: var(--tp-accent); }

.toppc-section { padding: 80px 0; }
.toppc-section--soft { background: var(--tp-bg2); }
.toppc-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.toppc-steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--tp-line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.toppc-steps li::before { content: counter(step); position: absolute; top: 22px; right: 24px; font-size: 44px; font-weight: 800; color: var(--tp-soft); line-height: 1; }
.toppc-steps__ico { width: 56px; height: 56px; border-radius: 14px; background: var(--tp-soft); display: grid; place-items: center; margin-bottom: 8px; }
.toppc-steps strong { font-size: 18px; }
.toppc-steps span { color: var(--tp-muted); line-height: 1.55; font-size: 15px; }

.toppc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.toppc-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.toppc-features li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--tp-line); border-radius: 14px; padding: 20px; }
.toppc-features div { display: flex; flex-direction: column; gap: 3px; }
.toppc-features span { color: var(--tp-muted); font-size: 14px; line-height: 1.5; }

.toppc-faq { margin-top: 28px; border-top: 1px solid var(--tp-line); }
.toppc-faq details { border-bottom: 1px solid var(--tp-line); }
.toppc-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.toppc-faq summary::-webkit-details-marker { display: none; }
.toppc-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--tp-accent); }
.toppc-faq details[open] summary::after { content: "–"; }
.toppc-faq p { font-size: 16px; margin: 0 0 20px; color: var(--tp-muted); line-height: 1.65; }

.toppc-cta { background: var(--tp-accent); color: #fff; text-align: center; padding: 72px 0; background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,.12) 0 2px, transparent 3px), radial-gradient(circle at 85% 80%, rgba(255,255,255,.12) 0 2px, transparent 3px); background-size: 28px 28px; }
.toppc-cta h2 { color: #fff; }
.toppc-cta p { margin: 0 0 28px; opacity: .9; font-size: 17px; }

/* Kontakt */
.toppc-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.toppc-contact__item { display: flex; gap: 14px; border: 1px solid var(--tp-line); border-radius: 14px; padding: 20px; }
.toppc-contact__item div { display: flex; flex-direction: column; gap: 4px; }
.toppc-contact__item span { color: var(--tp-muted); line-height: 1.5; font-size: 16px; }
.toppc-contact__legal { font-size: 14px; color: var(--tp-muted); }

@media (max-width: 900px) {
  .toppc-hero { padding: 36px 0 40px; }
  .toppc-hero__grid, .toppc-split { grid-template-columns: 1fr; gap: 28px; }
  .toppc-hero__art { order: -1; }
  .toppc-hero__art img { max-width: 260px; margin: 0 auto; }
  .toppc-trust__grid { grid-template-columns: 1fr 1fr; }
  .toppc-trust__grid > * { border-left: 0; border-top: 1px solid var(--tp-line); padding: 18px 8px; }
  .toppc-trust__grid > *:nth-child(-n+2) { border-top: 0; }
  .toppc-steps { grid-template-columns: 1fr; }
  .toppc-section { padding: 56px 0; }
}
@media (max-width: 520px) {
  .toppc-wrap { padding: 0 16px; }
  .toppc-trust__grid { grid-template-columns: 1fr; }
  .toppc-trust__grid > *:nth-child(2) { border-top: 1px solid var(--tp-line); }
  .toppc-actions .toppc-btn { width: 100%; text-align: center; }
}

.toppc-home strong, .toppc-contact strong { font-weight: 700; }
.toppc-trust__grid strong, .toppc-steps strong, .toppc-features strong { display: block; color: var(--tp-ink); }

/* Trzy ścieżki zakupu na stronie głównej */
.toppc-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.toppc-path { display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid var(--tp-line); border-radius: 16px; color: inherit !important; text-decoration: none !important; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.toppc-path:hover { border-color: var(--tp-accent); box-shadow: 0 10px 30px rgba(0,129,134,.10); transform: translateY(-2px); }
.toppc-path strong { font-size: 20px; }
.toppc-path span:not(.toppc-steps__ico) { color: var(--tp-muted); line-height: 1.55; font-size: 15px; flex: 1; }
.toppc-path em { font-style: normal; font-weight: 700; color: var(--tp-accent); margin-top: 6px; }
.toppc-path--main { border-color: var(--tp-accent); box-shadow: inset 0 0 0 1px var(--tp-accent); }

/* Katalog konfiguracji i polecane zestawy */
.toppc-offers__bar { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 10px; margin: 8px 0 14px; }
.toppc-offers__bar input, .toppc-offers__bar select, .toppc-offer select { font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--tp-line); border-radius: 10px; background: #fff; color: var(--tp-ink); min-width: 0; width: 100%; }
.toppc-offers__bar input:focus, .toppc-offers__bar select:focus, .toppc-offer select:focus { outline: 2px solid var(--tp-accent); outline-offset: 1px; border-color: transparent; }
.toppc-offers__count { color: var(--tp-muted); font-size: 14px; margin: 0 0 16px; }
.toppc-offers__grid, .toppc-rec__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.toppc-offers__more { text-align: center; margin: 28px 0 8px; }
.toppc-offers__empty { grid-column: 1 / -1; color: var(--tp-muted); }
.toppc-offer { display: flex; flex-direction: column; border: 1px solid var(--tp-line); border-radius: 16px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.toppc-offer:hover { border-color: #c7d3d6; box-shadow: 0 8px 24px rgba(20,23,26,.06); }
.toppc-offer__img { position: relative; aspect-ratio: 4 / 3; background: var(--tp-bg2); display: grid; place-items: center; overflow: hidden; }
.toppc-offer__img { aspect-ratio: 1 / 1; background: #fff; }
.toppc-offer__img img { position: absolute; inset: 0; box-sizing: border-box; width: 100% !important; height: 100% !important; max-width: none; object-fit: contain; padding: 14px; }
.toppc-offer__badge { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--tp-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--tp-line); }
.toppc-offer__badge--used { left: auto; right: 10px; background: #fff7e6; border-color: #f3d9a4; color: #8a5a00; }
.toppc-offer__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.toppc-offer__name { font-size: 18px !important; font-weight: 800; margin: 0; line-height: 1.25; letter-spacing: -.01em; }
.toppc-offer__name a { color: inherit; text-decoration: none; }
.toppc-offer__specs { margin: 0; display: grid; gap: 4px; font-size: 13px; }
.toppc-offer__specs div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
.toppc-offer__specs dt { color: var(--tp-muted); }
.toppc-offer__specs dd { margin: 0; font-weight: 600; }
.toppc-offer__pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toppc-offer__pick label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--tp-muted); font-weight: 600; }
.toppc-offer__pick select { padding: 8px 10px; font-size: 13px; }
.toppc-offer__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--tp-line); }
.toppc-offer__price { display: flex; flex-direction: column; }
.toppc-offer__price strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.toppc-offer__price span { font-size: 12px; color: var(--tp-muted); }
.toppc-offer__price .toppc-offer__eta { color: var(--tp-accent); font-weight: 600; }
.toppc-offer__buy .toppc-btn { padding: 11px 18px; }
.toppc-offer__buy .toppc-btn:disabled { background: #c9ccd1; border-color: #c9ccd1; cursor: not-allowed; }
.toppc-rec__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.toppc-rec__tabs button { font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--tp-line); background: #fff; cursor: pointer; color: var(--tp-ink); }
.toppc-rec__tabs button span { color: var(--tp-muted); font-weight: 600; margin-left: 4px; }
.toppc-rec__tabs button[aria-selected="true"] { background: var(--tp-accent); border-color: var(--tp-accent); color: #fff; }
.toppc-rec__tabs button[aria-selected="true"] span { color: rgba(255,255,255,.8); }
.toppc-rec__desc, .toppc-rec__text { color: var(--tp-muted); margin: 0 0 16px; font-size: 14px; line-height: 1.55; }
.toppc-rec__text { margin: 0; }
.toppc-rec__card .toppc-offer__img img { object-fit: contain; }

@media (max-width: 1000px) { .toppc-offers__bar { grid-template-columns: 1fr 1fr; } .toppc-offers__search { grid-column: 1 / -1; } }
@media (max-width: 900px) { .toppc-paths { grid-template-columns: 1fr; } }
.toppc-offer__img img { color: transparent; font-size: 0; }
/* Mniej pustego miejsca nad tytułem zwykłych stron motywu. */
body.page:not(.home) main.wp-block-group { margin-top: 0 !important; }
body.page:not(.home) main.wp-block-group > .wp-block-group.alignfull { padding-top: 40px !important; }
li > .toppc-firma-p { margin: 0; }

/* Komputer szyty na miarę */
.toppc-section--tight { padding: 8px 0 0; }
.toppc-inq-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 40px 0 8px; padding: 28px 32px; border-radius: 18px; background: var(--tp-soft); border: 1px solid #cfe7e8; }
.toppc-inq-cta div { display: flex; flex-direction: column; gap: 6px; }
.toppc-inq-cta strong { font-size: 20px; font-weight: 800; }
.toppc-inq-cta span { color: var(--tp-muted); line-height: 1.55; max-width: 620px; }
.toppc-inq-cta .toppc-btn { flex: none; }
.toppc-inq { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
.toppc-inq fieldset { border: 1px solid var(--tp-line); border-radius: 16px; padding: 22px 22px 18px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.toppc-inq legend { font-weight: 800; font-size: 18px; padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.toppc-inq legend span { width: 28px; height: 28px; border-radius: 50%; background: var(--tp-accent); color: #fff; display: grid; place-items: center; font-size: 14px; }
.toppc-inq__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.toppc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.toppc-chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--tp-line); border-radius: 99px; cursor: pointer; font-size: 14px; font-weight: 600; background: #fff; transition: all .15s; }
.toppc-chip span:hover { border-color: var(--tp-accent); }
.toppc-chip input:checked + span { background: var(--tp-accent); border-color: var(--tp-accent); color: #fff; }
.toppc-chip input:focus-visible + span { outline: 2px solid var(--tp-accent); outline-offset: 2px; }
.toppc-inq__label { margin: 4px 0 -4px; font-weight: 600; font-size: 14px; }
.toppc-inq__field { display: block;  font-weight: 600; font-size: 14px; }
.toppc-inq__field small { color: var(--tp-muted); font-weight: 400; }
.toppc-inq input[type=text], .toppc-inq input[type=email], .toppc-inq input[type=tel], .toppc-inq textarea { display: block; margin-top: 6px; font: inherit; font-size: 15px; font-weight: 400; padding: 11px 13px; border: 1px solid var(--tp-line); border-radius: 10px; width: 100%; background: #fff; }
.toppc-inq input:focus, .toppc-inq textarea:focus { outline: 2px solid var(--tp-accent); outline-offset: 1px; border-color: transparent; }
.toppc-inq__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.toppc-inq__consent { font-size: 14px; color: var(--tp-muted); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.toppc-inq__consent input { margin-top: 3px; accent-color: var(--tp-accent); }
.toppc-inq > .toppc-btn { align-self: flex-start; font-size: 16px; }
.toppc-inq__note { margin: -10px 0 0; color: var(--tp-muted); font-size: 14px; }
.toppc-inq__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.toppc-inq__error { margin: 0; padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #a11; font-weight: 600; }
.toppc-inq--done { align-items: flex-start; padding: 32px; border-radius: 18px; background: var(--tp-soft); }
.toppc-inq--done .toppc-ico { width: 44px; height: 44px; stroke-width: 2.2; }
.toppc-inq--done h2 { margin: 0; }
.toppc-inq--done p { margin: 0; color: var(--tp-muted); }
@media (max-width: 760px) {
  .toppc-inq-cta { flex-direction: column; align-items: flex-start; padding: 22px; }
  .toppc-inq__grid { grid-template-columns: 1fr; }
  .toppc-inq fieldset { padding: 18px 14px 14px; }
}
.toppc-inq, .toppc-inq * { box-sizing: border-box; }
.toppc-inq__grid { align-items: end; }
.toppc-inq__field small { display: inline; }

/* Pytanie o produkt */
.toppc-ask { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 10px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--tp-accent); cursor: pointer; }
.toppc-ask .toppc-ico { width: 18px; height: 18px; }
.toppc-ask:hover { color: var(--tp-accent-dark); text-decoration: underline; }
.toppc-ask-wrap { margin: 4px 0 16px; }
.toppc-ask-dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.25); color: var(--tp-ink); }
.toppc-ask-dlg::backdrop { background: rgba(20,23,26,.55); }
.toppc-ask-dlg form { margin: 0; padding: 26px 24px 22px; position: relative; }
.toppc-ask-dlg__form, .toppc-ask-dlg__done { display: flex; flex-direction: column; gap: 14px; }
.toppc-ask-dlg__form[hidden], .toppc-ask-dlg__done[hidden], .toppc-ask-dlg .toppc-inq__error[hidden] { display: none; }
.toppc-ask-dlg h2 { margin: 0; font-size: 22px; padding-right: 36px; }
.toppc-ask-dlg__item { margin: -6px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--tp-soft); font-weight: 600; font-size: 14px; }
.toppc-ask-dlg__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tp-bg2); font-size: 22px; line-height: 1; cursor: pointer; color: var(--tp-ink); }
.toppc-ask-dlg__x:hover { background: var(--tp-line); }
.toppc-ask-dlg .toppc-btn { align-self: flex-start; }
.toppc-ask-dlg__done .toppc-ico { width: 44px; height: 44px; stroke-width: 2.2; }
.toppc-ask-dlg__done p { margin: 0; color: var(--tp-muted); }
.toppc-inq__grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .toppc-inq__grid--2 { grid-template-columns: 1fr; } .toppc-ask-dlg form { padding: 22px 16px 18px; } }
.toppc-rec__card .toppc-offer__price strong, .toppc-rec__card .toppc-offer__price .amount, .toppc-rec__card .toppc-offer__price bdi { font-size: 22px; font-weight: 800; color: var(--tp-ink); white-space: nowrap; }
.toppc-rec__card .toppc-offer__buy .toppc-btn { font-size: 15px; padding: 11px 18px; white-space: nowrap; }

/* Opcje zamówienia: pytanie, zwrot, reklamacja */
.toppc-ordact { margin: 28px 0; padding: 24px; border: 1px solid var(--tp-line); border-radius: 18px; background: #fff; color: var(--tp-ink); }
.toppc-ordact h2 { margin: 0 0 16px; font-size: 20px; font-weight: 800; }
.toppc-ordact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.toppc-ordact__item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; border: 1px solid var(--tp-line); border-radius: 14px; background: #fff; color: inherit !important; font: inherit; text-align: left; text-decoration: none !important; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.toppc-ordact__item:hover, .toppc-ordact__item:focus-visible { border-color: var(--tp-accent); box-shadow: 0 8px 24px rgba(0,129,134,.10); }
.toppc-ordact__item strong { font-size: 16px; }
.toppc-ordact__item span { color: var(--tp-muted); font-size: 14px; line-height: 1.5; }
.toppc-ordact__note { margin: 14px 0 0; font-size: 13px; color: var(--tp-muted); }
.toppc-ordact__note a { color: var(--tp-accent); }
@media (max-width: 700px) { .toppc-ordact { padding: 18px 14px; } .toppc-ordact__grid { grid-template-columns: 1fr; } }
.toppc-order-dlg [hidden] { display: none !important; }
.toppc-order-dlg__extra { display: flex; flex-direction: column; gap: 12px; }
.toppc-order-dlg__hint { margin: 0; font-size: 13px; color: var(--tp-muted); }
.toppc-order-dlg select { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 15px; font-weight: 400; padding: 11px 13px; border: 1px solid var(--tp-line); border-radius: 10px; background: #fff; }
.toppc-offer__modify { margin-top: 2px; text-decoration: none !important; }

/* 0.10.5: kółko ładowania zdjęć */
.toppc-offer__img::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 2px solid rgba(0,0,0,.12); border-top-color: var(--tp-accent, #0a7f7a); border-radius: 50%; animation: toppc-spin .8s linear infinite; pointer-events: none; }
.toppc-offer__img.is-loaded::before { display: none; }
@keyframes toppc-spin { to { transform: rotate(360deg); } }

/* 0.10.6: formularze reklamacji i odstąpienia na stronach Zwroty / Reklamacje */
.toppc-pubform { max-width: 760px; margin: 18px 0 34px; }
.toppc-pubform fieldset { background: #fff; }
.toppc-pubform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.toppc-pubform select { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 15px; font-weight: 400; padding: 11px 12px; border: 1px solid var(--tp-line); border-radius: 10px; background: #fff; box-sizing: border-box; }
.toppc-pubform input[type=text], .toppc-pubform input[type=email], .toppc-pubform input[type=tel], .toppc-pubform textarea { width: 100%; box-sizing: border-box; }
.toppc-pubform__files { position: relative; display: flex; align-items: center; justify-content: center; margin-top: 8px; padding: 22px 16px; border: 2px dashed var(--tp-line); border-radius: 12px; background: var(--tp-bg2, #f6f7f8); text-align: center; cursor: pointer; font-weight: 400; color: var(--tp-muted); transition: border-color .15s, background .15s; }
.toppc-pubform__files:hover, .toppc-pubform__files.is-drag { border-color: var(--tp-accent); background: var(--tp-soft); }
.toppc-pubform__files input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.toppc-pubform__files span { display: inline-flex; align-items: center; gap: 8px; pointer-events: none; }
.toppc-pubform__files b { color: var(--tp-accent); }
.toppc-pubform__files svg { width: 22px; height: 22px; }
.toppc-pubform__list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
.toppc-pubform__list li { padding: 8px 12px; border-radius: 8px; background: var(--tp-bg2, #f6f7f8); font-size: 14px; overflow-wrap: anywhere; }
.toppc-pubform__list li small { color: var(--tp-muted); margin-left: 6px; }
.toppc-pubform__list li.is-bad { background: #fdecec; color: #b42318; }
.toppc-pubform__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0; }
.toppc-pubform__foot span { color: var(--tp-muted); font-size: 14px; }
.toppc-pubform__foot .toppc-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.toppc-pubform__error { margin: 0; padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #b42318; font-weight: 600; font-size: 14px; }
.toppc-pubform__done { display: flex; gap: 14px; align-items: flex-start; max-width: 760px; margin: 18px 0 34px; padding: 18px 20px; border-radius: 14px; background: var(--tp-soft); line-height: 1.55; }
.toppc-pubform__done svg { flex: none; width: 28px; height: 28px; color: var(--tp-accent); }
.toppc-inq__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .toppc-pubform__row { grid-template-columns: 1fr; } .toppc-pubform fieldset { padding: 18px 14px 14px; } }

/* 0.11.0: formularz kontaktowy, Allegro, FAQ z linkami */
.toppc-contact-form { max-width: 760px; margin: 40px 0 20px; }
.toppc-contact-form h2 { margin: 0 0 6px; }
.toppc-contact-form__lead { color: var(--tp-muted); margin: 0; }
.toppc-contact-form .toppc-pubform { margin-top: 16px; }
.toppc-inq__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--tp-muted); }
.toppc-inq__consent input { margin-top: 3px; flex: none; }
.toppc-faq a { color: var(--tp-accent); font-weight: 600; }
.toppc-allegro { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--tp-line); border-radius: 99px; background: #fff; color: var(--tp-ink) !important; text-decoration: none !important; font-size: 14px; transition: border-color .15s, transform .15s; }
.toppc-allegro strong { color: #ff5a00; }
.toppc-allegro:hover { border-color: #ff5a00; transform: translateY(-1px); }
.toppc-allegro-wrap { text-align: center; margin: 28px 0 8px; }
.toppc-allegro--footer { background: transparent; border-color: rgba(255,255,255,.25); color: inherit !important; }
.toppc-pubform__done[hidden], .toppc-pubform[hidden], .toppc-pubform__error[hidden] { display: none !important; }

.toppc-pubform__hint { display: block; margin-top: 6px; font-weight: 400; line-height: 1.5; color: var(--tp-muted); }

/* 0.12.1: wyczyść filtry */
.toppc-offers__clear { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 14px; border: 1px solid var(--tp-line); border-radius: 10px; background: #fff; color: var(--tp-ink); cursor: pointer; white-space: nowrap; }
.toppc-offers__clear:hover { border-color: var(--tp-accent); color: var(--tp-accent); }
.toppc-offers__clear[hidden] { display: none; }
.toppc-offers__clear-inline { font: inherit; padding: 0; border: 0; background: none; color: var(--tp-accent); font-weight: 600; text-decoration: underline; cursor: pointer; }
@media (min-width: 1001px) { .toppc-offers__bar { grid-template-columns: 2fr repeat(5, 1fr) auto; } }

.toppc-fine { margin: 24px 0 0; text-align: center; font-size: 13px; color: var(--tp-muted); }

/* Wybór obudowy w karcie zestawu (0.13.0) */
.toppc-offer__cases { display: flex; flex-direction: column; gap: 6px; }
.toppc-offer__cases > span { font-size: 12px; color: var(--tp-muted); font-weight: 600; }
.toppc-offer__cases small { font-weight: 400; }
.toppc-offer__cases > div { display: flex; flex-wrap: wrap; gap: 6px; }
.toppc-offer__cases button { width: 48px; height: 48px; padding: 3px; border: 1px solid var(--tp-line); border-radius: 10px; background: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color .15s, box-shadow .15s; }
.toppc-offer__cases button:hover { border-color: #9fb3b7; }
.toppc-offer__cases button[aria-pressed="true"] { border-color: var(--tp-accent); box-shadow: 0 0 0 2px var(--tp-accent) inset; }
.toppc-offer__cases img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; }
.toppc-offer__cases i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--tp-muted); }
.toppc-rec__intro { color: var(--tp-muted); margin: 0 0 18px; }

/* Polecane zestawy: kafelki Do gier / Do pracy (0.13.1) */
.toppc-rec-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 10px 0 28px; }
.toppc-rec-tile { position: relative; display: flex; align-items: stretch; min-height: 300px; border-radius: 22px; overflow: hidden; text-decoration: none !important; color: #fff !important; background: linear-gradient(135deg, #0b3b3d 0%, #00666a 55%, #00a3a8 100%); box-shadow: 0 10px 30px rgba(0, 80, 84, .18); transition: transform .2s, box-shadow .2s; isolation: isolate; }
.toppc-rec-tile--praca { background: linear-gradient(135deg, #1c2430 0%, #34445a 55%, #6b7f99 100%); box-shadow: 0 10px 30px rgba(28, 36, 48, .18); }
.toppc-rec-tile::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.08); z-index: -1; }
.toppc-rec-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 60, 64, .26); }
.toppc-rec-tile__text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 32px; max-width: 56%; }
.toppc-rec-tile__ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.toppc-rec-tile__ico .toppc-ico { width: 30px; height: 30px; color: #fff; }
.toppc-rec-tile strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.toppc-rec-tile__desc { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.85); flex: 1; }
.toppc-rec-tile__meta { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.75); }
.toppc-rec-tile em { font-style: normal; font-weight: 700; align-self: flex-start; background: #fff; color: #0b3b3d; padding: 10px 18px; border-radius: 99px; margin-top: 4px; }
.toppc-rec-tile--praca em { color: #1c2430; }
.toppc-rec-tile__pics { position: absolute; right: 0; bottom: 0; top: 0; width: 42%; z-index: 1; }
.toppc-rec-tile__pics img { position: absolute; width: 62% !important; height: auto !important; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 16px; padding: 8px; box-sizing: border-box; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.toppc-rec-tile__pics img:nth-child(1) { right: 14%; bottom: 14%; z-index: 3; }
.toppc-rec-tile__pics img:nth-child(2) { right: 4%; top: 10%; width: 44% !important; z-index: 2; transform: rotate(6deg); }
.toppc-rec-tile__pics img:nth-child(3) { right: 46%; top: 8%; width: 38% !important; z-index: 1; transform: rotate(-7deg); opacity: .95; }
.toppc-rec-tile__pics.n1 img { right: 12%; bottom: auto; top: 50%; transform: translateY(-50%); width: 70% !important; }
.toppc-rec-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 0 0 16px; font-weight: 600; }
.toppc-rec-nav a { color: var(--tp-accent); text-decoration: none; }
@media (max-width: 900px) {
  .toppc-rec-tiles { grid-template-columns: 1fr; }
  .toppc-rec-tile { min-height: 0; }
  .toppc-rec-tile__text { max-width: none; padding: 26px; }
  .toppc-rec-tile__pics { display: none; }
}

/* Wymogi prawne (0.14.0) */
.toppc-omnibus { display: block; font-size: 12px; font-weight: 400; color: var(--tp-muted); margin-top: 2px; }
.toppc-cart-terms { display: flex; gap: 10px; align-items: flex-start; max-width: 1200px; margin: 18px auto 0; padding: 12px 16px; border: 1px solid var(--tp-line); border-radius: 12px; background: var(--tp-bg2, #f6f8f8); font-size: 14px; color: var(--tp-muted); line-height: 1.5; }
.toppc-cart-terms .toppc-ico { flex: none; width: 20px; height: 20px; color: var(--tp-accent); margin-top: 1px; }
.toppc-gpsr { max-width: 1200px; margin: 22px auto 0; border: 1px solid var(--tp-line); border-radius: 12px; background: #fff; font-size: 13px; }
.toppc-gpsr summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--tp-ink); }
.toppc-gpsr dl { margin: 0; padding: 0 16px 14px; display: grid; gap: 8px; }
.toppc-gpsr dl div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.toppc-gpsr dt { color: var(--tp-muted); }
.toppc-gpsr dd { margin: 0; line-height: 1.5; }
@media (max-width: 600px) { .toppc-gpsr dl div { grid-template-columns: 1fr; gap: 2px; } }
.toppc-footer__reg { font-size: 12px; opacity: .8; line-height: 1.5; }

/* Przycisk Allegro w nagłówku, pod logo (0.14.2) */
.toppc-brand { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.toppc-brand .toppc-allegro-top { padding: 2px 10px; font-size: 12px; font-weight: 600; background: #fff3eb; color: #c4561a !important; border: 1px solid #f5d2bd; }
.toppc-brand .toppc-allegro-top:hover { background: #ffe8d9; color: #a94812 !important; transform: none; }
.toppc-allegro-top { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 99px; background: #ff5a00; color: #fff !important; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; text-decoration: none !important; transition: background .15s, transform .15s; }
.toppc-allegro-top:hover { background: #e14f00; transform: translateY(-1px); }
.toppc-allegro-top:focus-visible { outline: 2px solid #ff5a00; outline-offset: 2px; }
@media (max-width: 600px) { .toppc-brand .toppc-allegro-top { padding: 2px 8px; font-size: 11px; } }

/* Oferta indywidualna (0.15.0) */
.toppc-custom { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; border: 1px solid var(--tp-line); border-radius: 20px; background: #fff; padding: 28px; margin: 10px auto 28px; }
.toppc-custom__img { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.toppc-custom__img img { position: absolute; inset: 0; box-sizing: border-box; display: block; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; object-fit: contain; object-position: center; padding: 10px; }
.toppc-custom__img .toppc-ico { width: 30%; height: 30%; color: var(--tp-line); }
.toppc-custom__body { display: flex; flex-direction: column; gap: 14px; }
.toppc-custom__kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tp-accent); }
.toppc-custom__name { margin: 0 !important; font-size: 28px !important; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.toppc-custom__desc { color: var(--tp-muted); line-height: 1.6; }
.toppc-custom__desc p { margin: 0 0 8px; }
.toppc-custom__specs { font-size: 14px; gap: 6px; }
.toppc-custom__specs div { grid-template-columns: 170px 1fr; }
.toppc-custom__buy { margin-top: 6px; }
.toppc-custom__buy .toppc-offer__price strong { font-size: 30px; }
.toppc-custom--gone { display: block; max-width: 720px; text-align: center; }
@media (max-width: 800px) { .toppc-custom { grid-template-columns: 1fr; padding: 18px; gap: 18px; } .toppc-custom__specs div { grid-template-columns: 120px 1fr; } }

.toppc-rec-seo { max-width: 860px; margin: 56px auto 8px; }
.toppc-rec-seo h2 { font-size: 22px; margin: 32px 0 10px; }
.toppc-rec-seo > p { font-size: 16px; line-height: 1.7; color: var(--tp-muted); margin: 0 0 12px; }
.toppc-rec-seo .toppc-faq { margin-top: 8px; }
/* Powiększony widok zestawu (Wszystkie konfiguracje / polecane). */
.toppc-offer__x { display: none !important; }
.toppc-offer.is-big .toppc-offer__x:not([hidden]) { display: grid !important; }
.toppc-offer__zoom { display: block; width: 100%; font: inherit; font-size: 14px; font-weight: 700; color: #fff !important; background: var(--tp-ink, #14171a); border: 0; border-radius: 99px; padding: 10px 16px; cursor: pointer; text-align: center; transition: background .15s; }
.toppc-offer__zoom:hover { background: var(--tp-accent, #008186); }
.toppc-offer__media { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.toppc-offer__thumbs, .toppc-offer__nav { display: none; }
.toppc-offer.is-big.has-gal .toppc-offer__thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.toppc-offer__thumbs button { width: 64px; height: 64px; padding: 3px; border: 1px solid var(--tp-line); border-radius: 10px; background: #fff; cursor: pointer; overflow: hidden; }
.toppc-offer__thumbs button img { width: 100%; height: 100%; object-fit: contain; display: block; }
.toppc-offer__thumbs button[aria-pressed="true"] { border-color: var(--tp-accent); box-shadow: 0 0 0 2px var(--tp-accent) inset; }
.toppc-offer.is-big.has-gal .toppc-offer__nav { display: grid; place-items: center; position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 1px solid var(--tp-line); background: rgba(255,255,255,.92); font-size: 26px; line-height: 1; color: var(--tp-ink); cursor: pointer; padding: 0 0 3px; }
.toppc-offer__nav--prev { left: 8px; }
.toppc-offer__nav--next { right: 8px; }
.toppc-offer__nav:hover { border-color: var(--tp-ink); }
.toppc-offer:not(.is-big) .toppc-offer__img { cursor: zoom-in; }
html.toppc-noscroll { overflow: hidden; }
.toppc-offer-dlg { border: 0; padding: 0; border-radius: 20px; width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: var(--tp-ink, #14171a); box-shadow: 0 24px 64px rgba(10,14,18,.25); }
.toppc-offer-dlg::backdrop { background: rgba(10,14,18,.55); }
.toppc-offer-dlg__close { position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--tp-line, #e3e6ea); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; color: var(--tp-ink, #14171a); }
.toppc-offer-dlg__close:hover { border-color: var(--tp-ink, #14171a); }
.toppc-offer.is-big { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; padding: 28px; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.toppc-offer.is-big .toppc-offer__media { position: sticky; top: 0; }
.toppc-offer.is-big .toppc-offer__img { border-radius: 14px; border: 1px solid var(--tp-line); }
.toppc-offer.is-big .toppc-offer__img img { padding: 10px; }
.toppc-offer.is-big .toppc-offer__body { padding: 0; gap: 14px; }
.toppc-offer.is-big .toppc-offer__name { font-size: 28px !important; letter-spacing: -.02em; line-height: 1.2; padding-right: 48px; }
.toppc-offer.is-big .toppc-offer__specs { font-size: 14px; gap: 6px; }
.toppc-offer.is-big .toppc-offer__specs div { grid-template-columns: 170px 1fr; }
.toppc-offer.is-big .toppc-offer__price strong { font-size: 30px; }
.toppc-offer.is-big .toppc-offer__zoom { display: none; }
.toppc-offer.is-big .toppc-offer__cases button { width: 64px; height: 64px; }
@media (max-width: 800px) { .toppc-offer.is-big { grid-template-columns: 1fr; padding: 18px; gap: 18px; } .toppc-offer.is-big .toppc-offer__media { position: relative; } .toppc-offer.is-big .toppc-offer__specs div { grid-template-columns: 120px 1fr; } .toppc-offer.is-big .toppc-offer__name { font-size: 22px !important; } }
