
/* PRAWNIKOM PRO - LICYTACJE */

html body main.pa-shell {
    --pa-navy: #142641;
    --pa-gold: #96702d;
    --pa-border: #dce4ee;
    --pa-muted: #64748b;

    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 24px !important;
    margin: 0 !important;
    background: #f1f5f9 !important;
    color: #142641 !important;
    font-family: "Inter","Segoe UI",Arial,sans-serif;
}

.pa-shell * {
    box-sizing: border-box;
    border-radius: 0 !important;
}

.pa-shell a,
.pa-shell a * {
    text-decoration: none !important;
}

/* BANER */

html body .pa-shell .pp-section-hero {
    display: grid !important;
    grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
    align-items: center;
    gap: 24px;
    min-height: 260px;
    padding: 32px !important;
    margin: 0 0 20px !important;
    background: linear-gradient(
        120deg,#0e1b30,#142641,#203957
    ) !important;
    color: #fff !important;
    border: 0 !important;
    border-bottom: 3px solid #c6a46a !important;
}

.pa-shell .pp-section-hero-crumbs,
.pa-shell .pp-section-hero-crumbs a {
    color: #e1bf80 !important;
    font-size: 12px;
}

html body .pa-shell .pp-section-hero h1 {
    color: #fff !important;
    font-family: Georgia,"Times New Roman",serif !important;
    font-size: clamp(28px,3vw,44px) !important;
    font-weight: 400;
    line-height: 1.3;
    margin: 16px 0 !important;
}

.pa-shell .pp-section-hero p {
    color: #dce4ee !important;
    font-size: 15px;
    line-height: 1.8;
}

html body .pa-shell .pp-section-hero-art {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: 260px;
    object-fit: contain;
}

/* NAGLOWEK KATALOGU */

html body .pa-shell .pa-title {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 22px !important;
    margin: 0 0 16px !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
}

.pa-shell .pa-title small {
    color: #96702d !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pa-shell .pa-title p {
    color: #142641 !important;
    font-size: 14px;
    margin: 8px 0 0 !important;
}

html body .pa-shell .pa-title > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px !important;
    background: #142641 !important;
    color: #fff !important;
    border: 1px solid #142641 !important;
    font-size: 13px;
    font-weight: 600;
}

/* ZAKLADKI ZRODEL */

html body .pa-shell .pa-tabs {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
    padding: 0 !important;
    margin: 0 0 16px !important;
}

html body .pa-shell .pa-tabs a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 62px;
    min-width: 0;
    padding: 16px !important;
    background: #fff !important;
    color: #142641 !important;
    border: 1px solid #dce4ee !important;
    border-bottom: 3px solid #dce4ee !important;
    font-size: 14px;
    font-weight: 600;
}

html body .pa-shell .pa-tabs a b {
    padding: 5px 9px;
    background: #edf2f7 !important;
    color: #96702d !important;
    font-size: 12px;
}

html body .pa-shell .pa-tabs a[aria-current="page"],
html body .pa-shell .pa-tabs a.active {
    background: #142641 !important;
    color: #fff !important;
    border-color: #142641 !important;
    border-bottom-color: #c6a46a !important;
}

.pa-shell .pa-tabs a[aria-current="page"] b,
.pa-shell .pa-tabs a.active b {
    background: #203957 !important;
    color: #e1bf80 !important;
}

html body .pa-shell .pa-tabs a:hover {
    border-bottom-color: #c6a46a !important;
}

/* STAN IMPORTU */

html body .pa-shell .pa-sync-strip {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px !important;
    margin: 0 0 16px !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
    color: #64748b !important;
    font-size: 12px;
}

.pa-shell .pa-sync-strip details {
    max-width: 100%;
}

.pa-shell .pa-sync-strip details[open] {
    flex-basis: 100%;
}

.pa-shell .pa-sync-strip summary {
    cursor: pointer;
    color: #142641 !important;
    font-weight: 600;
}

html body .pa-shell #pa-sources {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    padding-top: 16px;
}

.pa-shell #pa-sources article {
    min-width: 0;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #dce4ee;
    border-left: 3px solid #c6a46a;
}

.pa-shell #pa-sources b {
    display: block;
    color: #142641 !important;
    margin-bottom: 8px;
}

.pa-shell #pa-sources span {
    display: block;
    color: #92400e !important;
    font-size: 12px;
}

.pa-shell #pa-sources p {
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.pa-shell .pa-source-warning:not([hidden]) {
    padding: 16px;
    background: #fffbeb !important;
    color: #92400e !important;
    border-left: 3px solid #c6a46a;
}

/* GLOWNY UKLAD */

html body .pa-shell .pa-layout {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    align-items: start;
    gap: 20px;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* FILTRY NAD WYNIKAMI */

html body .pa-shell .portal-horizontal-drawer {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
    box-shadow: none !important;
}

html body .pa-shell .portal-horizontal-drawer > summary {
    padding: 18px 22px !important;
    background: #fff !important;
    color: #142641 !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid #dce4ee;
}

html body .pa-shell .pa-filter {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 22px !important;
    margin: 0 !important;
    background: #fff !important;
    color: #142641 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.pa-shell .portal-horizontal-drawer:not([open]) > .pa-filter {
    display: none !important;
}

html body .pa-shell .pa-filter h2 {
    color: #142641 !important;
    font-size: 22px !important;
    margin: 0 0 20px !important;
}

html body .pa-shell #pa-form {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    align-items: end;
    gap: 16px;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

html body .pa-shell #pa-form label {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    color: #142641 !important;
    font-size: 13px;
    font-weight: 600;
}

html body .pa-shell #pa-form input:not([type="checkbox"]),
html body .pa-shell #pa-form select {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 10px 14px !important;
    margin: 0 !important;
    background: #fff !important;
    color: #142641 !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 400;
}

.pa-shell #pa-form input::placeholder {
    color: #94a3b8 !important;
}

html body .pa-shell #pa-form .pa-checkbox {
    grid-column: span 2;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 13px;
    font-weight: 500;
}

html body .pa-shell #pa-form input[type="checkbox"] {
    appearance: auto !important;
    flex: 0 0 18px;
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: #142641;
}

html body .pa-shell #pa-form button {
    min-height: 46px;
    padding: 10px 18px !important;
    font-size: 13px;
    font-weight: 600;
    box-shadow: none !important;
}

html body .pa-shell #pa-form button[type="submit"] {
    background: #142641 !important;
    color: #fff !important;
    border: 1px solid #142641 !important;
}

html body .pa-shell #pa-form button[type="reset"] {
    background: #fff !important;
    color: #142641 !important;
    border: 1px solid #cbd5e1 !important;
}

.pa-shell .pa-filter > p {
    color: #64748b !important;
    font-size: 12px;
    line-height: 1.7;
    padding-top: 16px;
    margin: 18px 0 0 !important;
    border-top: 1px solid #dce4ee;
}

/* SMART SELECT - BEZ PODWOJNYCH POL */

html body .pa-shell .smart-select {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

html body .pa-shell #pa-form
.smart-select:has(.smart-select-trigger)
> select.smart-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    clip-path: inset(50%) !important;
    pointer-events: none !important;
}

html body .pa-shell .smart-select-trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px;
    padding: 10px 14px !important;
    background: #fff !important;
    color: #142641 !important;
    border: 1px solid #cbd5e1 !important;
}

.pa-shell .smart-select-trigger > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* WYNIKI */

html body .pa-shell .pa-results {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 22px !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
}

html body .pa-shell .pa-results > header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 0 18px !important;
    margin: 0 0 18px !important;
    background: transparent !important;
    border-bottom: 1px solid #dce4ee;
}

.pa-shell #pa-total {
    color: #142641 !important;
    font-size: 16px;
    font-weight: 600;
}

.pa-shell .pa-results > header > span {
    color: #64748b !important;
    font-size: 12px;
}

html body .pa-shell #pa-list {
    display: grid !important;
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
    width: 100%;
    min-width: 0;
}

/* KARTA LICYTACJI */

html body .pa-shell .pa-entry {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 230px;
    align-items: stretch;
    gap: 24px;
    min-width: 0 !important;
    padding: 22px !important;
    margin: 0 !important;
    background: #fff !important;
    color: #142641 !important;
    border: 1px solid #dce4ee !important;
    border-left: 3px solid #c6a46a !important;
    box-shadow: none !important;
    transition: border-color .15s,background .15s;
}

html body .pa-shell .pa-entry:hover {
    background: #fafbfd !important;
    border-color: #c6a46a !important;
}

.pa-shell .pa-entry > div {
    min-width: 0;
}

.pa-shell .pa-entry > div > small {
    display: inline-flex;
    padding: 6px 10px;
    background: #edf2f7 !important;
    color: #96702d !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

html body .pa-shell .pa-entry h2 {
    color: #142641 !important;
    font-family: "Inter","Segoe UI",Arial,sans-serif !important;
    font-size: 19px !important;
    font-weight: 600;
    line-height: 1.5;
    margin: 12px 0 !important;
    overflow-wrap: anywhere;
}

html body .pa-shell .pa-entry h2 a {
    color: #142641 !important;
}

html body .pa-shell .pa-entry h2 a:hover {
    color: #96702d !important;
}

.pa-shell .pa-entry p {
    color: #64748b !important;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 16px !important;
}

/* TERMIN I PUBLIKACJA */

html body .pa-shell .pa-entry-meta {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0 0 !important;
    margin: 0 !important;
    border-top: 1px solid #dce4ee;
}

.pa-shell .pa-entry-meta span {
    padding: 7px 10px;
    background: #f1f5f9;
    color: #64748b !important;
    font-size: 11px;
    line-height: 1.5;
}

.pa-shell .pa-entry-meta span:first-child {
    background: #f5f0e5 !important;
    color: #795b27 !important;
}

.pa-shell .pa-entry-meta b {
    color: #142641 !important;
    font-weight: 600;
}

/* CENA WYWOŁANIA */

html body .pa-shell .pa-entry > aside {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    min-width: 0 !important;
    padding: 20px !important;
    margin: 0 !important;
    background: #f8fafc !important;
    border: 1px solid #dce4ee !important;
}

.pa-shell .pa-entry > aside > small {
    color: #96702d !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

html body .pa-shell .pa-entry > aside > strong {
    color: #142641 !important;
    font-family: "Inter","Segoe UI",Arial,sans-serif !important;
    font-size: clamp(20px,1.7vw,27px) !important;
    font-weight: 700;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

html body .pa-shell .pa-entry > aside > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 42px;
    padding: 10px 12px !important;
    margin-top: 4px;
    background: #142641 !important;
    color: #fff !important;
    border: 1px solid #142641 !important;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

html body .pa-shell .pa-entry > aside > a:hover {
    background: #c6a46a !important;
    color: #142641 !important;
    border-color: #c6a46a !important;
}

/* PAGINACJA */

html body .pa-shell .pa-pages {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 22px 0 0 !important;
    margin: 22px 0 0 !important;
    border-top: 1px solid #dce4ee;
}

html body .pa-shell .pa-pages button {
    min-height: 42px;
    padding: 10px 18px !important;
    background: #142641 !important;
    color: #fff !important;
    border: 1px solid #142641 !important;
    font-size: 13px;
}

.pa-shell .pa-pages button:disabled {
    opacity: .35 !important;
    cursor: not-allowed;
}

.pa-shell .pa-pages span {
    color: #142641 !important;
    font-size: 13px;
    font-weight: 600;
}

/* STOPKA ZRODLOWA */

html body .pa-shell .pa-footer {
    padding: 20px !important;
    margin: 20px 0 0 !important;
    background: #fff !important;
    color: #64748b !important;
    border: 1px solid #dce4ee !important;
    border-top: 3px solid #c6a46a !important;
    font-size: 12px;
    line-height: 1.8;
}

.pa-shell .pa-footer a {
    color: #142641 !important;
    font-weight: 600;
}

/* FOCUS */

.pa-shell :is(input,select,button,a):focus {
    box-shadow: none !important;
}

.pa-shell :is(input,select,button,a):focus-visible {
    outline: 2px solid #96702d !important;
    outline-offset: 2px;
}

html body .pa-shell [hidden] {
    display: none !important;
}

/* TABLET */

@media (max-width: 1150px) {

    html body main.pa-shell {
        padding: 16px !important;
    }

    html body .pa-shell #pa-form {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    html body .pa-shell .pa-tabs {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    html body .pa-shell .pa-entry {
        grid-template-columns: minmax(0,1fr) 200px;
        gap: 16px;
    }

    html body .pa-shell #pa-sources {
        grid-template-columns: minmax(0,1fr);
    }
}

/* TELEFON */

@media (max-width: 650px) {

    html body main.pa-shell {
        padding: 10px !important;
    }

    html body .pa-shell .pp-section-hero {
        grid-template-columns: minmax(0,1fr);
        padding: 22px !important;
    }

    html body .pa-shell .pp-section-hero-art {
        max-height: 180px;
    }

    html body .pa-shell .pa-tabs a {
        min-height: 54px;
        padding: 12px !important;
        font-size: 12px;
    }

    html body .pa-shell #pa-form {
        grid-template-columns: minmax(0,1fr);
    }

    html body .pa-shell #pa-form .pa-checkbox {
        grid-column: auto;
    }

    html body .pa-shell .pa-filter,
    html body .pa-shell .pa-results {
        padding: 14px !important;
    }

    html body .pa-shell .pa-entry {
        grid-template-columns: minmax(0,1fr);
        padding: 16px !important;
    }

    html body .pa-shell .pa-entry h2 {
        font-size: 17px !important;
    }

    html body .pa-shell .pa-entry > aside {
        padding: 16px !important;
    }

    html body .pa-shell .pa-title > a {
        width: 100%;
    }

    html body .pa-shell .pa-pages {
        gap: 8px;
    }

    html body .pa-shell .pa-pages button {
        padding: 10px !important;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pa-shell .pa-entry {
        transition: none !important;
    }
}

