/* MediaRent Single Listing — v3 compact, no purple, full-width sections */

/* ============ Base ============ */
.mr-single-listing-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1B1B1C;
    line-height: 1.5;
    font-size: 14px;
}
.mr-single-listing-wrapper *,
.mr-single-listing-wrapper *::before,
.mr-single-listing-wrapper *::after {
    box-sizing: border-box;
}

.mr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ Header ============ */
.mr-property-header {
    background: #fff;
    padding: 24px 0 16px;
    border-bottom: 1px solid #e8e8e8;
}
.mr-property-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1B1B1C;
    line-height: 1.25;
}
.mr-property-symbol {
    font-size: 0.75rem;
    color: #8D8D91;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.mr-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.mr-meta-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: #1B1B1C;
    padding: 4px 10px;
    background: #f4f4f5;
    border-radius: 4px;
    font-weight: 500;
}

/* ============ Gallery ============ */
.mr-property-gallery {
    background: #fff;
    padding: 16px 0;
}
.mr-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6px;
}
.mr-gallery-main {
    grid-row: 1 / 3;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 16/10;
}
.mr-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mr-gallery-thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.mr-gallery-thumb {
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
}
.mr-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.mr-gallery-thumb:hover img {
    transform: scale(1.05);
}
.mr-gallery-count {
    text-align: center;
    color: #8D8D91;
    font-size: 0.78rem;
    margin: 6px 0 0;
    cursor: pointer;
}
.mr-gallery-count:hover {
    color: #5D165D;
}

/* ============ Lightbox ============ */
.mr-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}
.mr-lightbox--open {
    display: flex;
}
.mr-lightbox-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mr-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    user-select: none;
}
.mr-lightbox-close,
.mr-lightbox-prev,
.mr-lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.2s;
    opacity: 0.7;
    padding: 0;
    line-height: 1;
}
.mr-lightbox-close:hover,
.mr-lightbox-prev:hover,
.mr-lightbox-next:hover {
    opacity: 1;
}
.mr-lightbox-close {
    top: 16px;
    right: 20px;
    font-size: 2.4rem;
}
.mr-lightbox-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}
.mr-lightbox-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
}
.mr-lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============ Content area ============ */
.mr-property-content {
    background: #f7f7f8;
    padding: 24px 0 40px;
}

/* Top grid: main + sidebar side by side */
.mr-content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

/* Main column (inside top grid) */
.mr-content-main {
    background: #fff;
    padding: 20px 24px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ============ Price — NO purple ============ */
.mr-price-box {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 0;
    margin-bottom: 18px;
    border-bottom: 2px solid #eee;
    background: none !important;
}
.mr-price-box::before,
.mr-price-box::after {
    display: none !important;
}
.mr-price-value {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1B1B1C;
    line-height: 1;
}
.mr-price-m2 {
    font-size: 0.85rem;
    color: #8D8D91;
    font-weight: 500;
}
.mr-price-label {
    display: none;
}
.mr-price-nego {
    font-size: 0.75rem;
    color: #5D165D;
    font-weight: 600;
    text-transform: uppercase;
}

/* ============ Description ============ */
.mr-description {
    margin-bottom: 20px;
}
.mr-description h2,
.mr-details h2 {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    color: #1B1B1C !important;
    padding-bottom: 4px !important;
    border-bottom: 2px solid #5D165D !important;
    display: inline-block !important;
}
.mr-description h2::after,
.mr-details h2::after {
    display: none;
}
.mr-description-content {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #444;
}
.mr-description-content p {
    margin-bottom: 8px;
}

/* ============ Details — compact table rows ============ */
.mr-details {
    margin-top: 14px;
}
.mr-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}
.mr-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 12px;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    gap: 8px;
    background: #fff;
    transition: none;
    transform: none;
    border-left: none;
}
.mr-detail-item:nth-child(even) {
    border-right: none;
}
.mr-detail-item:nth-child(odd) {
    background: #fafafa;
}
.mr-detail-item:hover {
    transform: none;
    box-shadow: none;
}
.mr-detail-label {
    font-size: 0.75rem;
    color: #8D8D91;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 500;
    white-space: nowrap;
}
.mr-detail-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1B1B1C;
    text-align: right;
}

/* ============ Tags ============ */
.mr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}
.mr-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 500;
    background: #f4f4f5;
    color: #1B1B1C;
}
.mr-tag--green { background: #e8f5e9; color: #2e7d32; }
.mr-tag--orange { background: #fff3e0; color: #e65100; }
.mr-tag--accent { background: #fce4ec; color: #5D165D; }

/* ============ Tabs ============ */
.mr-tabs {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto 1fr;
}
.mr-tabs--3 {
    grid-template-columns: auto auto auto 1fr;
}
.mr-tab-input {
    display: none;
}
.mr-tab-label {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #8D8D91;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    user-select: none;
    text-align: center;
}
.mr-tab-label:hover {
    color: #1B1B1C;
}
.mr-tab-input:checked + .mr-tab-label {
    color: #5D165D;
    border-bottom-color: #5D165D;
}
.mr-tab-panel {
    display: none;
    grid-column: 1 / -1;
    padding-top: 16px;
}
/* Show the correct panel based on which radio is checked */
.mr-tab-input#mr-tab-opis:checked ~ .mr-tab-panel--opis,
.mr-tab-input#mr-tab-szczegoly:checked ~ .mr-tab-panel--szczegoly,
.mr-tab-input#mr-tab-lokalizacja:checked ~ .mr-tab-panel--lokalizacja {
    display: block;
}
/* ============ Flat table for Szczegóły tab ============ */
.mr-szczegoly-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}
.mr-szczegoly-label,
.mr-szczegoly-value {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.82rem;
}
.mr-szczegoly-label {
    color: #8D8D91;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.75rem;
    background: #fafafa;
    border-right: 1px solid #f0f0f0;
}
.mr-szczegoly-value {
    font-weight: 600;
    color: #1B1B1C;
    background: #fff;
}

/* ============ Full-width section (below grid) ============ */
.mr-content-full {
    background: #fff;
    padding: 20px 24px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    margin-top: 24px;
}

/* ============ Sidebar — NOT sticky ============ */
.mr-content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: static;
}
.mr-contact-box,
.mr-info-box {
    background: #fff;
    padding: 18px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.mr-contact-box:hover,
.mr-info-box:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transform: none;
}
.mr-contact-box h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1B1B1C;
}
.mr-contact-box h3::after {
    display: none;
}
.mr-info-box h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1B1B1C;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.mr-info-box h4::after {
    display: none;
}
.mr-agent-info {
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
}
.mr-agent-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
    display: block;
}
.mr-agent-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1B1B1C;
    margin: 0 0 8px;
}
.mr-agent-phone,
.mr-agent-email {
    margin: 4px 0;
    font-size: 0.82rem;
}
.mr-agent-phone a,
.mr-agent-email a {
    color: #5D165D;
    text-decoration: none;
    font-weight: 500;
}
.mr-agent-phone a::after,
.mr-agent-email a::after {
    display: none;
}
.mr-agent-phone a:hover,
.mr-agent-email a:hover {
    text-decoration: underline;
}

.mr-btn {
    display: block;
    text-align: center;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.82rem;
}
.mr-btn-secondary {
    background: #fff;
    color: #5D165D;
    border: 1.5px solid #5D165D;
    margin-top: 10px;
}
.mr-btn-secondary::before {
    display: none;
}
.mr-btn-secondary:hover {
    background: #5D165D;
    color: #fff;
}

/* ============ Action Buttons ============ */
.mr-listing-actions {
    background: #fff;
    padding: 18px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.mr-listing-actions h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1B1B1C;
}

.mr-listing-actions-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.mr-listing-action-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: none;
    background: #f4f4f5;
    color: #1B1B1C;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.mr-listing-action-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mr-listing-action-btn:hover {
    background: #e5e5e7;
    color: #1B1B1C;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mr-listing-action-btn:hover svg {
    transform: scale(1.1);
}

.mr-listing-action-btn:active {
    transform: translateY(0);
}

/* Special styling for phone button */
.mr-listing-action-btn--phone {
    background: #5D165D !important;
    color: #fff !important;
}

.mr-listing-action-btn--phone:hover {
    background: #4a1149 !important;
    color: #fff !important;
}

/* Info box */
.mr-info-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    margin: 0;
}
.mr-info-item:hover {
    padding-left: 0;
    background: none;
    margin: 0;
}
.mr-info-item:last-child {
    border-bottom: none;
}
.mr-info-label {
    font-size: 0.75rem;
    color: #8D8D91;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.mr-info-value {
    font-weight: 600;
    font-size: 0.82rem;
    color: #1B1B1C;
}

/* ============ Responsive ============ */

/* Hide print-only elements on screen */
.mr-print-header,
.mr-print-title {
    display: none !important;
}

@media (max-width: 968px) {
    .mr-content-grid {
        grid-template-columns: 1fr;
    }
    .mr-gallery-grid {
        grid-template-columns: 1fr;
    }
    .mr-gallery-main {
        grid-row: 1;
    }
    .mr-property-title {
        font-size: 1.2rem;
    }
    .mr-price-value {
        font-size: 1.3rem;
    }
}

@media (max-width: 640px) {
    .mr-single-listing-wrapper {
        font-size: 13px;
    }
    .mr-container {
        padding: 0 12px;
    }
    .mr-content-main,
    .mr-content-full {
        padding: 14px;
    }
    .mr-contact-box,
    .mr-info-box {
        padding: 14px;
    }
    .mr-property-title {
        font-size: 1.1rem;
    }
    .mr-price-value {
        font-size: 1.2rem;
    }
    .mr-details-grid {
        grid-template-columns: 1fr;
    }
    .mr-detail-item {
        border-right: none;
    }
    .mr-szczegoly-table {
        grid-template-columns: 1fr;
    }
    .mr-szczegoly-label {
        border-right: none;
        border-bottom: none;
        font-size: 0.7rem;
    }
    .mr-szczegoly-value {
        font-size: 0.75rem;
    }
    .mr-gallery-thumbs {
        grid-template-columns: 1fr;
    }
    .mr-property-meta {
        gap: 4px;
    }
    .mr-meta-item {
        padding: 3px 7px;
        font-size: 0.7rem;
    }
    .mr-tab-label {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    .mr-description-content {
        font-size: 0.85rem;
    }
}

@media print {
    /* ===== RESET & PODSTAWY ===== */
    * {
        box-sizing: border-box;
    }
    
    body {
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
        font-size: 10pt;
        line-height: 1.4;
        color: #1B1B1C;
    }
    
    /* Hide WordPress elements and on-screen sidebar */
    header:not(.mr-property-header):not(.mr-print-header),
    footer,
    .site-header,
    .site-footer,
    nav,
    .nav,
    .navigation,
    .menu,
    #masthead,
    #colophon,
    .mr-content-sidebar,
    .mr-gallery-count,
    .mr-listing-actions,
    .mr-lightbox,
    #mr-single-map,
    .mr-tab-input,
    .mr-tab-label,
    .mr-property-header,
    .mr-price-box,
    .mr-tab-panel--lokalizacja {
        display: none !important;
    }
    
    /* Show print-only elements */
    .mr-print-header,
    .mr-print-title {
        display: block !important;
    }
    
    /* ===== LAYOUT GŁÓWNY ===== */
    .mr-single-listing-wrapper {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .mr-container {
        max-width: 100%;
        padding: 0 15mm;
        margin: 0;
    }
    
    .mr-content-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .mr-property-content {
        background: #fff;
        padding: 0;
    }
    
    .mr-content-main {
        background: #fff;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }
    
    /* ===== NAGŁÓWEK - Logo + Dane kontaktowe ===== */
    .mr-print-header {
        display: flex !important;
        justify-content: space-between;
        align-items: flex-start;
        padding: 8mm 15mm 3mm;
        border-bottom: none;
    }
    
    .mr-print-header-logo {
        flex: 0 0 auto;
    }
    
    .mr-print-header-contact {
        flex: 0 0 auto;
        text-align: right;
    }
    
    /* ===== TYTUŁ OFERTY - nad galerią ===== */
    .mr-print-title {
        text-align: center;
        padding: 3mm 15mm 3mm;
    }
    
    .mr-print-transaction {
        font-size: 16pt;
        font-weight: bold;
        color: #D32F2F;
        text-transform: uppercase;
        margin: 0 0 5pt;
        letter-spacing: 0.5pt;
    }
    
    .mr-print-params {
        font-size: 10pt;
        color: #1B1B1C;
        margin: 0 0 6pt;
        line-height: 1.4;
    }
    
    .mr-print-price {
        font-size: 10pt;
        margin: 0;
    }
    
    .mr-print-price strong {
        font-size: 32pt !important;
        color: #D32F2F !important;
        font-weight: bold !important;
        display: block;
        margin-top: 3pt;
    }
    
    /* ===== GALERIA - mniejsza ===== */
    .mr-property-gallery {
        padding: 0 15mm 3mm;
        page-break-inside: avoid;
    }
    
    .mr-gallery-grid {
        display: block;
        margin-bottom: 3mm;
    }
    
    /* Główne zdjęcie - 2/3 wysokości */
    .mr-gallery-main {
        width: 100%;
        height: 95mm;
        margin-bottom: 2mm;
        border-radius: 0;
    }
    
    .mr-gallery-main img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
        border-radius: 4px;
    }
    
    /* Miniatury - UKRYTE w wydruku */
    .mr-gallery-thumbs {
        display: none !important;
    }
    
    .mr-gallery-thumb {
        display: none !important;
    }
    
    .mr-gallery-thumb img {
        display: none !important;
    }
    
    /* ===== ZAKŁADKI - POKAŻ WSZYSTKIE (bez lokalizacji) ===== */
    .mr-tabs {
        display: block !important;
        padding: 0 15mm;
    }
    
    .mr-tab-panel--opis,
    .mr-tab-panel--szczegoly {
        display: block !important;
        padding-top: 0 !important;
        page-break-inside: avoid;
    }
    
    /* ===== OPIS ===== */
    .mr-tab-panel--opis {
        margin-bottom: 6mm;
    }
    
    .mr-description h2 {
        display: none;
    }
    
    .mr-description-content {
        font-size: 10pt;
        line-height: 1.5;
    }
    
    .mr-description-content h1,
    .mr-description-content h2,
    .mr-description-content h3,
    .mr-description-content strong:first-of-type {
        font-size: 13pt;
        font-weight: bold;
        font-style: italic;
        color: #1B1B1C;
        margin: 0 0 8pt;
    }
    
    .mr-description-content p {
        margin: 0 0 6pt;
        text-align: justify;
    }
    
    .mr-description-content ul {
        margin: 5pt 0;
        padding-left: 15pt;
        list-style-type: disc;
    }
    
    .mr-description-content li {
        margin: 3pt 0;
    }
    
    /* ===== SZCZEGÓŁY - TABELA (bez nagłówka) ===== */
    .mr-tab-panel--szczegoly {
        margin-top: 5mm;
        page-break-before: auto;
    }
    
    .mr-tab-panel--szczegoly::before {
        display: none !important;
    }
    
    /* Tabela szczegółów - układ jak w PDF (2 kolumny: label | value) */
    .mr-szczegoly-table {
        display: grid;
        grid-template-columns: auto 1fr;
        width: 100%;
        margin-top: 0;
        border: 0.5pt solid #ddd;
    }
    
    .mr-szczegoly-label,
    .mr-szczegoly-value {
        font-size: 9pt !important;
        padding: 4pt 8pt !important;
        border-bottom: 0.5pt solid #ddd !important;
        border-right: 0.5pt solid #ddd !important;
        line-height: 1.4;
        vertical-align: middle;
        background: #fff !important;
    }
    
    .mr-szczegoly-label {
        font-weight: normal !important;
        color: #666 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        white-space: nowrap;
    }
    
    .mr-szczegoly-value {
        font-weight: bold !important;
        color: #1B1B1C !important;
        border-right: none !important;
    }
    
    /* Ostatni wiersz bez dolnej ramki */
    .mr-szczegoly-label:nth-last-child(2),
    .mr-szczegoly-value:last-child {
        border-bottom: none !important;
    }
    
    /* Dodaj zieloną checkmarkę dla wartości "Tak" lub checkmark symbol */
    .mr-szczegoly-table .mr-szczegoly-value {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    /* ===== STOPKA - DANE AGENTA ===== */
    .mr-contact-box {
        display: block !important;
        page-break-before: auto;
        margin-top: 8mm;
        padding: 6mm 15mm !important;
        background: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        border-top: 1px solid #ddd;
    }
    
    .mr-contact-box h3 {
        display: none;
    }
    
    .mr-agent-info {
        display: block !important;
        text-align: left !important;
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .mr-agent-avatar {
        display: none !important;
    }
    
    .mr-agent-name {
        font-size: 11pt !important;
        font-weight: bold !important;
        color: #D32F2F !important;
        margin: 0 !important;
        display: block !important;
    }
    
    .mr-agent-phone,
    .mr-agent-email {
        font-size: 9pt !important;
        margin: 2pt 0 !important;
        display: block !important;
    }
    
    .mr-agent-phone a,
    .mr-agent-email a {
        color: #1B1B1C !important;
        text-decoration: none !important;
    }
    
    /* Link do strony na końcu */
    .mr-agent-info::after {
        content: "Więcej ofert na stronie www.lavendernieruchomosci.pl";
        display: block;
        margin-top: 8mm;
        font-size: 9pt;
        font-weight: bold;
        color: #1B1B1C;
    }
    
    .mr-btn-secondary {
        display: none !important;
    }
    
    /* ===== OGÓLNE OPTYMALIZACJE DRUKU ===== */
    a {
        color: inherit;
        text-decoration: none;
    }
    
    img {
        max-width: 100%;
        height: auto;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    /* Zapobiegaj łamaniu stron */
    .mr-property-gallery,
    .mr-description,
    .mr-print-header,
    .mr-print-title {
        page-break-inside: avoid;
    }
    
    /* Usuń cienie i efekty */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Ukryj mapę */
    #mr-single-map {
        display: none !important;
    }
    
    /* Wymuszaj kolory w druku */
    .mr-print-transaction,
    .mr-print-price strong,
    .mr-agent-name {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    /* Ustawienia strony */
    @page {
        margin: 15mm;
        size: A4 portrait;
    }
}
