/* /test2 — dodatki do motywu /test (katalog v2) */

/* baner: jasne tło z prezentacji Onten (tło nr 4), tekst ciemny */
.t-hero { background: #eef3fa url(hero-bg.webp?v=2) center / cover no-repeat; color: var(--ink); }
.t-hero .t-ring { display: none; }
.t-hero .t-eyebrow { color: var(--text-muted); }
.t-hero .t-eyebrow .mono { color: var(--blue); }
.t-hero .t-slide-text p { color: var(--ink-3); }
.t-hero .t-btn-line-w { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.t-hero .t-btn-line-w:hover { background: var(--ink); color: #fff; }
.t-hero .t-arrows button { border-color: rgba(14,17,22,.25); color: var(--ink); background: rgba(255,255,255,.6); }
.t-hero .t-arrows button:hover { border-color: var(--ink); background: #fff; }
.t-hero .t-dots button { background: rgba(14,17,22,.25); }
.t-hero .t-dots button[aria-current="true"] { background: var(--ink); }
.t-slide.is-active { animation: v2-fade .45s ease both; }
@keyframes v2-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .t-slide.is-active { animation: none; } }

/* baner: zdjęcie produktu na jasnym kafelku */
.v2-hero-img { width: min(100%, 460px); aspect-ratio: 1; border-radius: 32px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 28px; box-shadow: 0 32px 64px -32px rgba(31,91,255,.35), 0 0 0 1px rgba(14,17,22,.06); }
.v2-hero-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* kafle kategorii: 6 w rzędzie, bez podpisu z liczbą */
.v2-cats .t-cat { min-height: 120px; }

/* pasek wsparcia na stronie głównej */
.v2-support-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.v2-support-band > div { display: flex; flex-direction: column; gap: 14px; }
.v2-support-band p { font-size: 17px; color: var(--text-muted); max-width: 520px; }
.v2-search { display: flex; gap: 10px; }
.v2-search input { flex: 1; min-width: 0; min-height: 56px; border-radius: 999px; padding: 0 24px; font-size: 16px; }
.v2-search .t-btn { height: 56px; }
.v2-search-big { margin: 28px 0 20px; max-width: 760px; }

/* strona produktu */
.v2-fullname { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.v2-tagline li { background: var(--surface-2); }
.v2-lead { font-size: 16px; color: var(--text-muted); }
.v2-variants { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-variants button { min-width: 76px; height: 52px; padding: 0 16px; border: 0; border-radius: 14px; font-size: 16px; font-weight: 600; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.v2-variants button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.v2-variants button[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.v2-thumbs { flex-wrap: wrap; }
.v2-thumbs button { padding: 4px; }
.v2-thumbs img { mix-blend-mode: normal; border-radius: 10px; }

.v2-desc { display: flex; flex-direction: column; gap: 0; }
.v2-desc > h2 { font-size: 40px; max-width: 900px; margin-bottom: 12px; }
.v2-desc-kicker { font-size: 20px; font-weight: 600; color: var(--blue); margin-bottom: 12px; }
.v2-desc-intro { font-size: 19px; line-height: 1.6; color: var(--ink-3); max-width: 900px; margin-bottom: 40px; }
.v2-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.v2-block.has-pic { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.v2-block.is-rev .v2-block-text { order: 2; }
.v2-block-text { max-width: 760px; }
.v2-block-text h3 { font-size: 26px; line-height: 1.2; margin-bottom: 14px; }
.v2-block-text p { font-size: 17px; line-height: 1.65; color: var(--text-muted); }
.v2-block-text p + p { margin-top: 12px; }
.v2-block-text ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-muted); font-size: 16px; line-height: 1.7; }
.v2-list-label { margin-top: 12px; font-weight: 600; color: var(--ink) !important; }
.v2-block-pic { margin: 0; border-radius: 28px; background: var(--surface-2); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden; }
.v2-block-pic img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.v2-spec { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.v2-spec th, .v2-spec td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.v2-spec th { width: 42%; font-weight: 400; color: var(--text-muted); padding-right: 24px; }
.v2-spec td { font-weight: 500; }

/* dobór akcesorium */
.v2-finder h1 { font-size: 40px; margin: 8px 0 12px; }
.v2-finder .t-lead { max-width: 720px; }
.v2-steps { list-style: none; margin: 8px 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--text-muted); }
.v2-steps li { display: flex; align-items: center; gap: 8px; }
.v2-steps span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 13px; }
.v2-steps .is-current { color: var(--ink); font-weight: 600; }
.v2-steps .is-current span { background: var(--ink); color: #fff; box-shadow: none; }
.v2-steps .is-done span { background: var(--blue-tint); color: var(--blue); box-shadow: none; }
.v2-steps a { color: var(--ink); text-decoration: none; }
.v2-steps a strong { font-weight: 600; }
.v2-steps a:hover { text-decoration: underline; }
.v2-choices { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.v2-choices-dev { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.v2-choices a { display: flex; flex-direction: column; gap: 6px; min-height: 92px; padding: 20px 22px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .15s; }
.v2-choices a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.v2-choices strong { font-size: 18px; font-weight: 600; line-height: 1.25; }
.v2-choices small { font-size: 14px; color: var(--text-muted); }
.v2-choices-dev svg { color: var(--blue); margin-bottom: 6px; }
.v2-result { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; margin-top: 32px; padding: 32px; border-radius: 28px; background: var(--surface-2); }
.v2-result-media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 20px; background: #fff; padding: 24px; }
.v2-result-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v2-result-body { display: flex; flex-direction: column; gap: 12px; }
.v2-result-body h2 { font-size: 32px; letter-spacing: -.01em; }
.v2-result-var { font-size: 15px; } .v2-result-var span { color: var(--text-muted); } .v2-result-var a { margin-right: 6px; font-weight: 600; }
.v2-alts { margin-top: 56px; } .v2-alts h2 { font-size: 24px; margin-bottom: 16px; }
.v2-alts .t-grid { justify-content: flex-start; } .v2-alts .t-card { max-width: 400px; }
.v2-none { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.v2-restart { margin-top: 40px; font-size: 15px; color: var(--text-muted); }
.t-dobor-grid > div:first-child .t-btn { align-self: flex-start; }
.v2-dev-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v2-dev-links a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.v2-dev-links a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.v2-dev-links strong { font-size: 16px; font-weight: 600; }
.v2-dev-links small { font-size: 13px; color: var(--text-muted); }

/* warianty długości */
.v2-variants-box { margin-top: 20px; }
.v2-variants-table th { width: auto; font-weight: 600; color: var(--ink); }
.v2-variants-table td { font-weight: 500; }
.v2-variants-table .mono { font-size: 14px; color: var(--ink); }
.t-pp-label small { font-weight: 400; color: var(--text-muted); }

/* schemat połączeń i treść ulotki producenta */
.v2-diagram { margin: 32px 0 0; grid-column: 1 / -1; }
/* na stronie produktu schemat zostaje w kolumnie tabeli — lewa kolumna z nagłówkiem jest przyklejona (sticky) i nachodziłaby na rysunek */
.t-spec .v2-diagram { grid-column: 2; }
@media (max-width: 1000px) { .t-spec .v2-diagram { grid-column: 1; } }
.v2-diagram img { display: block; width: 100%; max-width: 900px; height: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); padding: 16px; background: #fff; }
.v2-diagram figcaption { margin-top: 10px; font-size: 14px; color: var(--text-muted); max-width: 900px; line-height: 1.5; }
.v2-manual { margin-top: 56px; }
.v2-manual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 32px; }
.v2-manual-grid h3 { font-size: 17px; margin-bottom: 10px; }
.v2-manual-grid ul, .v2-manual-grid ol { margin: 0; padding-left: 20px; color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.v2-manual-grid li + li { margin-top: 6px; }
.v2-manual-grid p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.v2-manual-wide { grid-column: 1 / -1; }
.v2-manual-wide details { border-top: 1px solid var(--line); padding: 12px 0; }
.v2-manual-wide summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.v2-manual-wide details p { margin-top: 8px; }
.v2-spec-sub { font-size: 17px; margin: 40px 0 12px; }

/* kategorie i lista produktów */
.v2-cat-group { margin-top: 56px; }
.v2-cat-group h2 { font-size: 32px; }
.v2-cat-group h2 a { text-decoration: none; }
.v2-cat-text { margin-top: 72px; padding: 48px; border-radius: 28px; background: var(--surface-3); max-width: 980px; }
.v2-cat-text h2 { font-size: 28px; margin-bottom: 16px; }
.v2-cat-text p { font-size: 16px; line-height: 1.7; color: var(--text-muted); }
.v2-cat-text p + p { margin-top: 12px; }

/* wsparcie */
.v2-support-head { display: flex; gap: 32px; align-items: center; margin: 12px 0 40px; }
.v2-support-head img { width: 160px; height: 160px; object-fit: contain; border-radius: 24px; background: var(--surface-2); padding: 12px; mix-blend-mode: multiply; flex: none; }
.v2-support-head h1 { font-size: 40px; margin: 6px 0 8px; }
.v2-support-head .t-lead { font-size: 15px; }
.v2-support-head .t-actions { margin-top: 16px; }
.v2-support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.v2-files a > span { display: flex; flex-direction: column; min-width: 0; }
.v2-file-hint { font-weight: 400; color: var(--text-muted); font-size: 12px; }
.v2-box { border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); padding: 32px; }
.v2-box h2 { font-size: 22px; letter-spacing: 0; margin-bottom: 16px; }
.v2-box p { color: var(--text-muted); }
.v2-ok strong { color: var(--success); }
.v2-systems { margin-top: 14px; font-size: 14px; }
.v2-systems span { font-weight: 600; color: var(--ink); }
.v2-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.v2-files a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); text-decoration: none; font-weight: 600; }
.v2-files a:hover { background: var(--blue-tint); color: var(--ink); }
.v2-files small { margin-left: auto; font-weight: 400; color: var(--text-muted); }
.v2-box details { border-top: 1px solid var(--line); padding: 14px 0; }
.v2-box details:last-of-type { border-bottom: 1px solid var(--line); }
.v2-box summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style-position: outside; }
.v2-box details p { margin-top: 8px; font-size: 15px; }
.v2-support .t-pp-section h2 { font-size: 28px; margin-bottom: 16px; }
.v2-support-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v2-support-list a { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.v2-support-list a:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--ink); }
.v2-support-list img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: var(--surface-2); mix-blend-mode: multiply; flex: none; }
.v2-support-list span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-support-list strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.v2-help { margin-top: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; background: var(--blue-tint); box-shadow: none; }

@media (max-width: 1000px) {
  .v2-support-band { grid-template-columns: 1fr; }
  .v2-support-grid, .v2-manual-grid { grid-template-columns: 1fr; }
  .v2-choices, .v2-choices-dev { grid-template-columns: 1fr; }
  .v2-result { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .v2-result-media { max-width: 320px; }
  .v2-finder h1 { font-size: 30px; }
  .v2-dev-links { grid-template-columns: 1fr; }
  .v2-support-band { gap: 24px; padding-top: 48px; padding-bottom: 56px; }
  .v2-block.has-pic { grid-template-columns: 1fr; gap: 20px; }
  .v2-block.is-rev .v2-block-text { order: 0; }
  .v2-block-pic { max-width: 420px; }
  .v2-desc > h2 { font-size: 28px; }
  .v2-desc-intro { font-size: 17px; }
  .v2-block-text h3 { font-size: 22px; }
  .v2-support-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-support-head h1 { font-size: 30px; }
  .v2-cat-text { padding: 32px 24px; }
  .t-hero { background-image: url(hero-bg-mobile.webp?v=2); }
  .v2-hero-img { width: min(100%, 260px); padding: 16px; border-radius: 24px; }
  .t-hero .t-slide-media { height: auto; min-height: 0; margin-top: 16px; }
}
@media (max-width: 640px) {
  .v2-search { flex-direction: column; }
  .v2-search .t-btn { width: 100%; }
  .v2-support-list { grid-template-columns: 1fr; }
  .v2-support-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .v2-support-head img { width: 120px; height: 120px; }
  .v2-box { padding: 24px 20px; }
  .v2-spec th { width: 45%; padding-right: 12px; }
  .v2-block { padding: 24px 0; }
}

/* strony tekstowe: polityka, regulamin */
.t-prose { max-width: 760px; }
.t-prose h1 { font-size: 40px; margin-bottom: 16px; }
.t-prose h2 { font-size: 22px; margin: 36px 0 10px; }
.t-prose p, .t-prose li { font-size: 16px; line-height: 1.7; color: var(--ink-3); }
.t-prose ul { padding-left: 22px; }
.t-prose p + p { margin-top: 10px; }
@media (max-width: 640px) { .t-prose h1 { font-size: 30px; } }

/* strefa partnera */
.v2-partner-login { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: start; margin-top: 12px; }
.v2-partner-login h1 { font-size: 40px; margin-bottom: 12px; }
.v2-partner-what { margin: 20px 0 0; padding-left: 20px; color: var(--ink-3); font-size: 16px; line-height: 1.8; }
.v2-partner-note { margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.v2-partner-form { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 24px; background: var(--surface-2); margin-top: 8px; }
.v2-partner-form label { font-weight: 600; font-size: 14px; }
.v2-partner-form input { min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line); padding: 0 16px; font-size: 16px; font-family: inherit; }
.v2-partner-form input:focus { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.v2-partner-form .t-btn { margin-top: 6px; }
.v2-partner-form small { color: var(--text-muted); font-size: 12.5px; }
.v2-partner-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 8px 0 28px; }
.v2-partner-head h1 { font-size: 40px; margin-bottom: 8px; }
.v2-partner-sec { margin-bottom: 20px; }
.v2-partner-grid { align-items: start; }
.v2-ext { flex: none; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; font-weight: 600; padding: 5px 7px; border-radius: 8px; background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px var(--line); }
.v2-partner-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 320px; overflow: auto; }
.v2-partner-list a { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.v2-partner-list a:hover { background: var(--surface-2); }
.v2-partner-list .mono { margin-right: 6px; }
.v2-partner-details { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.v2-partner-details summary { cursor: pointer; font-weight: 600; font-size: 14px; }
@media (max-width: 1000px) { .v2-partner-login { grid-template-columns: 1fr; gap: 24px; } .v2-partner-head { flex-direction: column; align-items: flex-start; } .v2-partner-login h1, .v2-partner-head h1 { font-size: 30px; } }

/* zgoda na cookies (tylko gdy GA4 jest włączone w panelu) */
.consent-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 620px; margin: 0 auto; padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 24px 48px -24px rgba(14,17,22,.35), inset 0 0 0 1px var(--line); }
.consent-banner[hidden] { display: none; }
.consent-banner p { font-size: 14px; line-height: 1.55; color: var(--ink-3); margin: 0 0 14px; }
.consent-banner strong { color: var(--ink); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.t-footlink { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.t-footlink:hover { text-decoration: underline; }
@media (max-width: 640px) { .consent-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; } .consent-actions .t-btn { flex: 1; } }

.t-card-actions .t-ulink { white-space: nowrap; }
