/*
 * Katalog integracji (/integracje/) i podstrona integracji (/integracje/<slug>/). Prefiks ig-.
 * Identyfikacja: claude/identyfikacja.md - metki (.metka z home.css), supergrafika metki, sznurek, perforacja.
 * Projekt: artifact „ShopDepot · strony integracji” (02.12.2026).
 */

/* ── wspólne ── */
.ig-logo { flex: none; width: 64px; height: 44px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
    display: grid; place-items: center; overflow: hidden; font: 800 15px/1 var(--font); letter-spacing: -.03em; color: var(--c, var(--brand)); }
.ig-logo img { max-width: 78%; max-height: 70%; object-fit: contain; }
.ig-logo--initials { background: color-mix(in srgb, var(--c, var(--brand)) 14%, #fff); box-shadow: none; }
.ig-logo--lg { width: 132px; height: 96px; border-radius: 24px; font-size: 34px; }
.metka.ig-badge { padding: 5px 10px 5px 18px; font-size: 11px; gap: 6px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
.metka.ig-badge::before { width: 4px; height: 4px; }
.metka--soft-ink { background: var(--paper-3); color: var(--ink-2); }
.ig-perf { border: 0; border-top: 2px dashed var(--line-strong); margin: 0; }
.ig-kicker { font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ── katalog: hero ── */
.ig-hero { position: relative; overflow: hidden; background: var(--brand); color: #fff; padding-block: clamp(48px, 7vw, 88px) 40px; }
.ig-hero .supertag { position: absolute; right: -160px; top: -140px; width: 720px; height: 720px; pointer-events: none; }
.ig-hero .container { position: relative; }
.ig-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.ig-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 22px 0 18px; }
.ig-hero .lead { color: var(--brand-soft); max-width: 580px; margin-bottom: 28px; }
.ig-hero .breadcrumbs, .ig-hero .breadcrumbs a { color: var(--brand-soft); }
.ig-search { display: flex; align-items: center; gap: 10px; max-width: 580px; min-height: 58px; padding: 0 20px; border-radius: 14px; background: #fff; color: var(--muted); }
.ig-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 500 17px var(--font); color: var(--ink); }
.ig-search:focus-within { box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.ig-orbit { position: relative; height: 320px; }
.ig-orbit svg.ig-strings { position: absolute; inset: 0; width: 100%; height: 100%; }
.ig-orbit-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 88px; height: 88px; border-radius: 24px; background: #fff;
    display: grid; place-items: center; box-shadow: 0 20px 40px -12px rgba(15, 18, 22, .5); }
.ig-orbit .metka { position: absolute; background: #fff; color: var(--ink); }
.ig-orbit .metka::before { background: var(--brand); }
.ig-sticker { display: inline-block; transform: rotate(-14deg); background: var(--sun); color: var(--ink); padding: 10px 14px; border-radius: 10px;
    font: 800 15px/1.1 var(--font); letter-spacing: -.02em; }
.ig-orbit .ig-sticker { position: absolute; right: 6%; top: 40%; }
.ig-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.ig-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08); color: #fff; font: 600 14px var(--font); cursor: pointer; }
.ig-filters button small { font: 500 12px var(--mono); opacity: .75; }
.ig-filters button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 900px) { .ig-hero-grid { grid-template-columns: 1fr; } .ig-orbit { display: none; } }

/* ── katalog: lista ── */
.ig-main { padding-block: 56px 0; }
.ig-section-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.ig-section-title h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.03em; }
.ig-section-title .ig-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.ig-section-title select { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font: 500 14px var(--font); color: var(--ink); }
.ig-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 64px; }
.ig-feature { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; }
.ig-feature:hover { border-color: var(--brand); box-shadow: 0 14px 34px -16px rgba(42, 59, 212, .45); }
.ig-feature-head { display: flex; align-items: center; gap: 14px; }
.ig-feature-head strong { display: block; font-size: 19px; }
.ig-feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; flex: 1; }
.ig-more { font-weight: 600; font-size: 15px; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; }
.ig-group + .ig-group { margin-top: 56px; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.ig-tile { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
    color: var(--ink); text-decoration: none; box-sizing: border-box; }
a.ig-tile:hover { border-color: var(--brand); box-shadow: 0 10px 30px -14px rgba(42, 59, 212, .45); }
.ig-tile > span:not(.ig-logo):not(.metka) { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ig-tile strong { font-size: 15.5px; font-weight: 650; line-height: 1.25; }
.ig-tile small { font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-tile .metka { margin-left: auto; }
.ig-ask { display: flex; flex-wrap: wrap; margin-top: 72px; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.ig-ask > div { flex: 1 1 420px; padding: clamp(28px, 4vw, 44px); min-width: 0; }
.ig-ask > div + div { border-left: 2px dashed var(--line-strong); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.ig-ask h2 { margin: 18px 0 10px; font-size: clamp(1.6rem, 2.6vw, 2rem); letter-spacing: -.03em; }
.ig-ask p { margin: 0; color: var(--muted); }
.ig-ask a.text-link { font-weight: 600; }
@media (max-width: 900px) { .ig-featured { grid-template-columns: 1fr; } .ig-ask > div + div { border-left: 0; border-top: 2px dashed var(--line-strong); } }

/* ── podstrona: hero ── */
.ig-page-hero { position: relative; overflow: hidden; padding-block: 28px clamp(56px, 7vw, 88px); }
.ig-page-hero .supertag { position: absolute; right: -200px; top: -80px; width: 760px; height: 760px; pointer-events: none; }
.ig-page-hero .container { position: relative; }
.ig-page-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; margin-top: 40px; }
.ig-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ig-page-hero h1 { margin: 22px 0 18px; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.03; }
.ig-page-hero h1 span { color: var(--brand); }
.ig-pair { position: relative; height: 340px; }
.ig-pair svg.ig-strings { position: absolute; inset: 0; width: 100%; height: 100%; }
.ig-pair .ig-logo--lg { position: absolute; left: 4%; top: 12%; box-shadow: 0 30px 60px -24px rgba(15, 18, 22, .35); }
.ig-pair-mark { position: absolute; right: 6%; bottom: 14%; width: 132px; height: 132px; border-radius: 32px; background: var(--brand); display: grid; place-items: center;
    box-shadow: 0 30px 60px -24px rgba(42, 59, 212, .6); }
.ig-pair-note { position: absolute; left: 30%; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: #fff;
    border: 1px solid var(--line); font: 500 12px var(--mono); letter-spacing: .04em; box-shadow: 0 10px 30px -14px rgba(15, 18, 22, .3); }
.ig-pair-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.ig-callout { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-700); font-size: 15px; max-width: 580px; }
@media (max-width: 900px) { .ig-page-grid { grid-template-columns: 1fr; } .ig-pair { display: none; } }

/* ── podstrona: synchronizacja ── */
.ig-sync { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.ig-sync-row { display: grid; grid-template-columns: minmax(0, 1.1fr) 230px minmax(0, 2fr); gap: 20px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--line); }
.ig-sync-row:first-child { border-top: 0; background: var(--paper-2); padding-block: 13px; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ig-sync-row strong { display: flex; align-items: center; gap: 12px; font-size: 16.5px; }
.ig-sync-row strong .ico { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.ig-sync-row p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.metka.ig-dir-out { background: var(--brand-soft); color: var(--brand-700); }
.metka.ig-dir-in { background: var(--paper-3); color: var(--ink); }
.metka.ig-dir-both { background: var(--ink); color: #fff; }
.metka.ig-dir-local { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
@media (max-width: 760px) { .ig-sync-row { grid-template-columns: 1fr; gap: 8px; } .ig-sync-row:first-child { display: none; } }

/* ── podstrona: korzyści, kroki, rynki ── */
.ig-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ig-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.ig-card .ico-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.ig-card h3 { font-size: 21px; line-height: 1.25; }
.ig-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 760px) { .ig-cards { grid-template-columns: 1fr; } }
.ig-steps-band { background: var(--brand); color: #fff; }
.ig-steps-band h2 { color: #fff; }
.ig-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.ig-steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; border-top: 2px solid var(--brand-soft); }
.ig-steps li { position: relative; }
.ig-steps b { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; font: 800 22px var(--font); }
.ig-steps li:last-child b { background: var(--sun); color: var(--ink); }
.ig-steps h3 { margin: 20px 0 8px; font-size: 20px; color: #fff; }
.ig-steps p { margin: 0; color: var(--brand-soft); line-height: 1.6; }
@media (max-width: 760px) { .ig-steps { grid-template-columns: 1fr; } .ig-steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; border-top: 0; border-left: 2px solid var(--brand-soft); } }
.ig-markets { display: flex; flex-wrap: wrap; gap: 10px; }
.ig-markets .metka { min-height: 44px; box-sizing: border-box; background: #fff; color: var(--ink); font: 600 15px var(--font); letter-spacing: 0; text-transform: none; }
.ig-markets .metka::before { background: var(--brand); }
.ig-markets .metka b { font: 600 12px var(--mono); color: var(--brand); }
.ig-costs { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 28px 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.ig-costs p { margin: 6px 0 0; color: var(--muted); }
