
/* PRAWNIKOM PRO - SZCZEGOLY LICYTACJI */

html body .pa-shell.is-detail {
    background: #f1f5f9 !important;
    color: #142641 !important;
    padding: 24px !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* USUNIECIE BANERA KATALOGU W SZCZEGOLACH */

html body .pa-shell.is-detail > .pp-section-hero,
html body .pa-shell.is-detail > .pa-title,
html body .pa-shell.is-detail > .pa-tabs {
    display: none !important;
}

/* UKRYTY KATALOG */

html body .pa-shell.is-detail #pa-catalog[hidden],
html body .pa-shell.is-detail [hidden] {
    display: none !important;
}

html body .pa-shell.is-detail #pa-record:not([hidden]) {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* SCIEZKA NAWIGACJI */

html body .pa-shell .pa-detail-breadcrumb {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px !important;
    margin: 0 0 18px !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
    color: #64748b !important;
    font-size: 13px;
}

.pa-shell .pa-detail-breadcrumb a {
    color: #142641 !important;
    font-weight: 600;
    text-decoration: none !important;
}

/* KARTA GLOWNA */

html body .pa-shell .pa-detail {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

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

.pa-detail a {
    text-decoration: none !important;
}

/* NAGLOWEK LICYTACJI */

html body .pa-shell .pa-detail-hero {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(260px,320px);
    align-items: stretch;
    gap: 30px;
    padding: 32px !important;
    margin: 0 0 22px !important;
    background: linear-gradient(
        120deg,#0e1b30,#142641,#203957
    ) !important;
    border: 0 !important;
    border-bottom: 3px solid #c6a46a !important;
    color: #fff !important;
}

.pa-detail-hero > div {
    min-width: 0;
}

html body .pa-detail-hero > div > small {
    display: inline-block;
    padding: 7px 12px;
    background: rgba(198,164,106,.12);
    border: 1px solid rgba(198,164,106,.35);
    color: #e1bf80 !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

html body .pa-shell .pa-detail-hero h2 {
    color: #fff !important;
    font-family: Georgia,"Times New Roman",serif !important;
    font-size: clamp(24px,2.4vw,36px) !important;
    font-weight: 400;
    line-height: 1.4;
    margin: 20px 0 16px !important;
    overflow-wrap: anywhere;
}

html body .pa-shell .pa-detail-hero p {
    color: #dce4ee !important;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 18px !important;
}

html body .pa-shell .pa-state-chip {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 9px 12px !important;
    background: rgba(255,255,255,.07) !important;
    color: #e1bf80 !important;
    border: 1px solid rgba(198,164,106,.35) !important;
    font-size: 12px;
}

/* CENA WYWOŁANIA */

html body .pa-shell .pa-detail-price {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    min-width: 0;
    padding: 26px !important;
    margin: 0 !important;
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(198,164,106,.45) !important;
}

html body .pa-shell .pa-detail-price small {
    color: #e1bf80 !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

html body .pa-shell .pa-detail-price strong {
    display: block;
    color: #fff !important;
    font-family: "Inter","Segoe UI",Arial,sans-serif !important;
    font-size: clamp(26px,2.6vw,38px) !important;
    font-weight: 700;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

html body .pa-shell .pa-detail-price span {
    color: #cbd5e1 !important;
    font-size: 12px;
    line-height: 1.7;
}

/* UKLAD DWUKOLUMNOWY */

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

html body .pa-shell .pa-detail-main,
html body .pa-shell .pa-detail-side {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* BIALE PANELE */

html body .pa-shell .pa-detail-section,
html body .pa-shell .pa-detail-side > section {
    display: block !important;
    min-width: 0;
    padding: 24px !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #dce4ee !important;
    border-top: 3px solid #c6a46a !important;
    box-shadow: 0 3px 12px rgba(20,38,65,.035) !important;
}

html body .pa-shell .pa-detail-section h3,
html body .pa-shell .pa-detail-side h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #142641 !important;
    font-family: Georgia,"Times New Roman",serif !important;
    font-size: 23px !important;
    font-weight: 400;
    line-height: 1.4;
    padding: 0 0 16px !important;
    margin: 0 0 20px !important;
    border-bottom: 1px solid #dce4ee !important;
}

.pa-detail-section h3::before,
.pa-detail-side h3::before {
    content: "";
    display: block;
    width: 4px;
    height: 22px;
    flex-shrink: 0;
    background: #c6a46a;
}

/* TERMINY I MIEJSCE */

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

html body .pa-shell .pa-facts > div {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 20px !important;
    margin: 0 !important;
    background: #f8fafc !important;
    border: 1px solid #dce4ee !important;
}

html body .pa-shell .pa-facts > div:first-child {
    background: #faf7ef !important;
    border-color: #dfcfad !important;
}

html body .pa-shell .pa-facts > div:last-child {
    grid-column: 1 / -1;
}

.pa-shell .pa-facts dt {
    color: #96702d !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

html body .pa-shell .pa-facts dd {
    color: #142641 !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0 !important;
    overflow-wrap: anywhere;
}

.pa-shell .pa-facts > div:first-child dd {
    font-size: 23px;
}

/* OPIS OGlOSZENIA */

html body .pa-shell .pa-detail-copy {
    color: #142641 !important;
    font-family: Georgia,"Times New Roman",serif !important;
    font-size: 17px !important;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    padding: 0 !important;
    margin: 0 0 20px !important;
}

html body .pa-shell .pa-media-note {
    display: flex !important;
    align-items: center;
    gap: 16px;
    padding: 20px !important;
    background: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
}

.pa-media-note > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    height: 48px;
    background: #142641;
    color: #e1bf80 !important;
    font-size: 26px;
}

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

/* ORGANIZATOR I DOKUMENTY */

.pa-detail-side > section > small {
    display: block;
    color: #96702d !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

html body .pa-shell .pa-detail-side p {
    color: #64748b !important;
    font-size: 13px;
    line-height: 1.8;
    margin: 14px 0 !important;
}

html body .pa-shell .pa-primary-action {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 48px;
    padding: 14px 16px !important;
    background: #142641 !important;
    color: #fff !important;
    border: 1px solid #142641 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    transition: background .15s,color .15s;
}

html body .pa-shell .pa-primary-action:hover {
    background: #c6a46a !important;
    color: #142641 !important;
    border-color: #c6a46a !important;
}

html body .pa-shell .pa-text-action {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px !important;
    background: #fff !important;
    color: #142641 !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

html body .pa-shell .pa-text-action:hover {
    border-color: #c6a46a !important;
    background: #faf7ef !important;
}

/* AKTUALNOSC DANYCH */

html body .pa-shell .pa-provenance dl {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 0 !important;
    margin: 0 !important;
}

html body .pa-shell .pa-provenance dl > div {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0 !important;
    border-bottom: 1px solid #e2e8f0;
}

.pa-provenance dl > div:last-child {
    border-bottom: 0;
}

.pa-provenance dt {
    color: #64748b !important;
    font-size: 12px;
}

html body .pa-shell .pa-provenance dd {
    color: #142641 !important;
    font-size: 13px;
    font-weight: 600;
    margin: 0 !important;
    overflow-wrap: anywhere;
}

/* TABLET */

@media (max-width: 1100px) {

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

    html body .pa-shell .pa-detail-hero {
        grid-template-columns: minmax(0,1fr) 260px;
        padding: 24px !important;
        gap: 20px;
    }

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

    html body .pa-shell .pa-detail-section,
    html body .pa-shell .pa-detail-side > section {
        padding: 20px !important;
    }
}

/* TELEFON */

@media (max-width: 800px) {

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

    html body .pa-shell .pa-detail-hero,
    html body .pa-shell .pa-detail-layout {
        grid-template-columns: minmax(0,1fr) !important;
    }

    html body .pa-shell .pa-detail-hero {
        padding: 20px !important;
    }

    html body .pa-shell .pa-detail-price {
        padding: 20px !important;
    }

    html body .pa-shell .pa-detail-hero h2 {
        font-size: 25px !important;
    }

    html body .pa-shell .pa-detail-price strong {
        font-size: 32px !important;
    }
}

@media (max-width: 480px) {

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

    html body .pa-shell .pa-detail-section,
    html body .pa-shell .pa-detail-side > section {
        padding: 16px !important;
    }

    html body .pa-shell .pa-media-note {
        align-items: flex-start;
        padding: 14px !important;
    }
}

/* DRUK */

@media print {

    html body .pa-shell.is-detail {
        padding: 0 !important;
        background: #fff !important;
    }

    html body .pa-shell .pa-detail-layout {
        grid-template-columns: minmax(0,1fr) !important;
    }

    html body .pa-shell .pa-detail-hero,
    html body .pa-shell .pa-detail-price {
        background: #fff !important;
        color: #142641 !important;
    }

    html body .pa-shell .pa-detail-hero * {
        color: #142641 !important;
    }

    .pa-detail-section,
    .pa-detail-side > section {
        break-inside: avoid;
    }

    .pa-shell .pa-detail-breadcrumb,
    .pa-shell .pa-sync-strip {
        display: none !important;
    }
}

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

