/* Small AgroNew overrides on top of legacy CSS (linked separately in base). */
.search-result .ads-list-table img { max-width: 100%; height: auto; border-radius: 8px; }

/* --------------------------------------------------------------------------
   Results toolbar — always visible (title / show filters / sort)
   -------------------------------------------------------------------------- */
.nd-seller-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0 0 12px;
    padding: 12px 16px;
    background: #f3f8e9;
    border: 1px solid #d7e8b5;
    border-left: 4px solid #7eb425;
    border-radius: 12px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
}
.nd-seller-filter-text {
    flex: 1 1 auto;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #3f4a2e;
    line-height: 1.35;
}
.nd-seller-filter-clear {
    flex: 0 0 auto;
    font-size: 13.5px;
    font-weight: 700;
    color: #557c15;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.nd-seller-filter-clear:hover,
.nd-seller-filter-clear:focus {
    color: #3f6110;
}
.nd-seller-filter-x {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    border: 1.5px solid #c5d9a0;
    border-radius: 10px;
    background: #fff;
    color: #3f6110;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.nd-seller-filter-x:hover,
.nd-seller-filter-x:focus {
    border-color: #7eb425;
    background: #f2f8e8;
    color: #3f6110;
    text-decoration: none;
    outline: none;
}
/* --------------------------------------------------------------------------
   Search panel — compact white card (Agro green accent)
   -------------------------------------------------------------------------- */
.nd-search-panel {
    margin: 0 0 22px;
    padding: 18px 20px 16px;
    background: #fff;
    border: 1px solid #e3f0cd;
    border-left: 4px solid #7eb425;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(44, 48, 50, .04), 0 6px 18px rgba(44, 48, 50, .05);
}
.nd-search-panel[hidden] { display: none !important; }
.nd-search-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2e8;
}
.nd-search-panel-ico {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #7eb425 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%276.5%27/%3E%3Cpath d=%27m20 20-4.2-4.2%27/%3E%3C/svg%3E") center / 22px no-repeat;
}
.nd-search-panel-title {
    margin: 0 0 2px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #2c3032;
    line-height: 1.25;
}
.nd-search-panel-hint {
    margin: 0;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #8a9093;
    line-height: 1.35;
}
.nd-search-panel-body .nd-search-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 16px;
    margin: 0;
    align-items: start;
}
.nd-search-panel-body .nd-search-filters > .form-group {
    margin: 0;
    float: none;
    width: auto;
    padding: 0;
    min-width: 0;
}
.nd-search-panel-body .nd-search-filters .form-group > label,
.nd-search-panel-body .nd-search-filters .nd-search-checks-label {
    display: block;
    margin: 0 0 6px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .02em;
    text-transform: none !important;
    color: #555b5e !important;
    line-height: 1.3;
}
.nd-search-panel-body .nd-search-filters .form-control {
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid #e1e5dc;
    box-shadow: none;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
}
.nd-search-panel-body .nd-search-filters .form-control:focus {
    border-color: #7eb425;
    box-shadow: 0 0 0 3px #e3f0cd;
}
.nd-search-panel-body .nd-search-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    grid-column: span 2;
}
.nd-search-panel-body .nd-search-checks-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.nd-search-panel-body .nd-search-checks-row .nd-check {
    flex: 1 1 180px;
    min-width: 0;
}
/* Beat assetic `.form-group label:not(.error) { font-family: Open Sans !important }` */
.nd-search-panel-body .form-group label.nd-check,
.nd-search-panel-body label.nd-check {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 10px 12px;
    border: 1.5px solid #e1e5dc;
    border-radius: 10px;
    background: #fafbf8;
    cursor: pointer;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #2c3032 !important;
    line-height: 1.3;
    transition: border-color .15s, background-color .15s;
}
.nd-search-panel-body .form-group label.nd-check:hover,
.nd-search-panel-body label.nd-check:hover,
.nd-search-panel-body .form-group label.nd-check:has(input:checked),
.nd-search-panel-body label.nd-check:has(input:checked) {
    border-color: #7eb425;
    background: #f2f8e8;
}
.nd-search-panel-body .form-group label.nd-check input,
.nd-search-panel-body label.nd-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #7eb425;
}
.nd-search-panel-body .nd-check-bio {
    flex-shrink: 0;
    width: 44px;
    height: 18px;
    display: block;
}
.nd-search-panel-body .form-group label.nd-check span,
.nd-search-panel-body label.nd-check span {
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    text-transform: none !important;
}
.nd-search-panel-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef2e8;
}
.nd-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: #7eb425;
    color: #fff !important;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(126, 180, 37, .35);
    transition: background .15s, box-shadow .15s;
}
.nd-search-submit:hover,
.nd-search-submit:focus {
    background: #6a9a1c;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(106, 154, 28, .4);
    outline: none;
}

.nd-last-searches { margin-top: 4px; }
.nd-last-searches-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #555c60; /* WCAG AA vs white (≥4.5:1) */
}
.nd-last-searches-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.nd-search-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #e3f0cd;
    background: #f2f8e8;
    color: #3a7a1f;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    transition: background .15s, border-color .15s, color .15s;
}
.nd-search-chip:hover,
.nd-search-chip:focus {
    background: #7eb425;
    border-color: #7eb425;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .nd-search-panel-body .nd-search-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .nd-search-panel-body .nd-search-checks { grid-column: span 2; }
    .nd-search-panel-body .nd-search-checks-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .nd-search-panel-body .nd-search-checks-row .nd-check {
        flex: none;
        min-width: 0;
    }
}
@media (max-width: 767px) {
    /* Keep filters in 2 columns on phones — shorter form */
    .nd-search-panel { padding: 14px; }
    .nd-search-panel-body .nd-search-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 10px;
    }
    .nd-search-panel-body .nd-search-checks { grid-column: span 2; }
    .nd-search-panel-foot {
        flex-direction: column;
        align-items: stretch;
    }
    .nd-search-submit { width: 100%; }
}

/* --------------------------------------------------------------------------
   Header chrome — parity with legacy styles.less (page-top / logo / menu-main)
   -------------------------------------------------------------------------- */
.page-top {
    min-width: 0;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    font-weight: 300;
    color: #fff;
    background-color: #7eb425;
}
.page-top .navbar-nav { margin: 0; }
.page-top .navbar-nav > li > a {
    color: #fff !important;
    padding: 9px 20px;
    border-left: solid 1px #83bb27;
    border-right: solid 1px #6f9f21;
    background: transparent !important;
    font-size: 12px;
    font-weight: 300;
    line-height: 22px;
}
.page-top .navbar-nav > li.active > a,
.page-top .navbar-nav > li > a:hover,
.page-top .navbar-nav > li > a:focus {
    background: transparent !important;
    text-decoration: underline;
    color: #fff !important;
}
.page-top .navbar-nav > li:first-child > a { border-left: none; }
.page-top .navbar-nav > li:last-child > a {
    border-right: none;
    padding-right: 0;
}
.page-top .language-top {
    float: right !important;
}
.page-top .language-switcher .language-dropdown-toggle,
.page-top #dropdownMenuButton {
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    line-height: 40px;
    padding: 0 0 0 16px;
    border-left: solid 1px #83bb27;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
}
.page-top .language-img,
.page-top .language-img-nav {
    width: 16px;
    height: auto;
    vertical-align: middle;
}
.page-top .glyphicon-triangle-bottom {
    font-size: 9px;
    top: 0;
}

.main-menu-container {
    height: 120px;
    background: #fff;
}
/* Match legacy rwd mobile chrome — don't keep desktop height:120px */
@media only screen and (max-width: 767px) {
    .main-menu-container {
        height: auto !important;
        min-height: 0;
        padding: 8px 0;
    }
    .main-menu-container .main-menu-nav-container {
        height: auto;
        padding: 0;
    }
}
.main-menu-container .logo-container {
    padding: 12px 0 8px;
}
.main-menu-container .logo-container img {
    max-height: none;
    height: auto;
    width: auto;
    max-width: 100%;
    display: block;
}
.main-menu-container .logo-container .logo-text,
.main-menu-container .logo-container .logo-text a {
    color: #4d4f52;
    font-size: 13px;
    font-weight: 700;
    padding-left: 10px;
    line-height: 18px;
    margin: 0;
    text-decoration: none;
}
.main-menu-container .main-menu-nav-container {
    padding: 44px 0;
    height: 120px;
}
.main-menu-container .main-menu-nav-container .navbar-nav {
    height: 32px;
}
.main-menu-container .main-menu-nav-container .navbar-nav > li > a {
    padding: 0 15px;
    height: 32px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #2c3032;
    line-height: 32px;
    background: transparent;
    border-radius: 6px;
    text-decoration: none;
}
.main-menu-container .main-menu-nav-container .navbar-nav > li.active > a,
.main-menu-container .main-menu-nav-container .navbar-nav > li > a:hover,
.main-menu-container .main-menu-nav-container .navbar-nav > li > a:focus {
    background-color: #7eb425;
    border-radius: 6px;
    box-shadow: 0 2px 5px #dfdfdf;
    color: #fff;
    outline: 2px solid #5a8f2a;
    outline-offset: 2px;
    text-decoration: none;
}
.main-menu-container .main-menu-nav-container .navbar-nav > li.disable_active > a {
    color: #2c3032;
    box-shadow: none;
    background: #fff;
    outline: none;
}
.main-menu-container .main-menu-nav-container .navbar-nav > li.disable_active > a:hover,
.main-menu-container .main-menu-nav-container .navbar-nav > li.disable_active > a:focus {
    background-color: #7eb425;
    color: #fff;
    box-shadow: 0 2px 5px #dfdfdf;
}
.main-menu-container .main-menu-nav-container .navbar-nav > li.new_pub_link > a,
.main-menu-container .main-menu-nav-container .navbar-nav > li.new_pub_link.active > a,
.main-menu-container .main-menu-nav-container .navbar-nav > li.new_pub_link > a:hover,
.main-menu-container .main-menu-nav-container .navbar-nav > li.new_pub_link > a:focus {
    background-color: #ed3323 !important;
    border-color: #ed3323 !important;
    color: #fff !important;
    border-radius: 6px;
    outline: none;
    box-shadow: 0 2px 5px #dfdfdf;
}
.main-menu-container .main-menu-nav-container .navbar-nav > li.new_pub_link > a:hover,
.main-menu-container .main-menu-nav-container .navbar-nav > li.new_pub_link > a:focus {
    background-color: #7eb425 !important;
    border-color: #7eb425 !important;
}

.language-switcher .language-dropdown-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.language-switcher .dropdown { position: relative; }
.language-switcher .dropdown-menu.dropdown-lng {
    display: none;
    position: absolute;
    z-index: 1000;
    min-width: 180px;
    padding: 6px 0;
    margin: 2px 0 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    list-style: none;
}
.language-switcher .dropdown.open > .dropdown-menu.dropdown-lng { display: block; }
.language-switcher .dropdown-lng {
    list-style: none;
    left: 0;
    right: auto;
}
.language-switcher .dropdown-lng .dropdown-item { display: block; list-style: none; margin: 0; padding: 0; }
.language-switcher .dropdown-lng .dropdown-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}
.language-switcher .dropdown-lng .dropdown-item.active a,
.language-switcher .dropdown-lng .dropdown-item a:hover {
    background: #f5f5f5;
}
.language-switcher .language-img,
.language-switcher .language-img-nav {
    width: 18px;
    height: auto;
    vertical-align: middle;
}
.search-result .pub-title-link {
    font-size: 16px;
    margin: 0;
    display: inline;
}
.search-result .image-pub-thumb-container { position: relative; }
.search-result .bio-ico {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 28px;
    height: auto;
}

.info-details-label { display: block; font-weight: 600; color: #666; margin-bottom: 2px; }
.info-details-content { display: block; }
/* Ad pagebar breadcrumbs — Figtree, no serif/uppercase from legacy .breadcrumb */
.nd-crumbs {
    min-width: 0;
    max-width: 100%;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif !important;
}
.nd-crumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: none;
    border: 0;
    box-shadow: none;
}
.nd-crumbs-list > li {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    font-family: inherit !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    color: #6a7073;
}
.nd-crumbs-list > li + li::before {
    content: "\203A";
    display: inline-block;
    padding: 0 7px;
    color: #c3c9c0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}
.nd-crumbs-list a,
.nd-crumbs-list span {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px 6px;
    border-radius: 6px;
    color: #555b5e;
    font: inherit !important;
    letter-spacing: inherit !important;
    text-decoration: none !important;
    text-transform: none !important;
}
.nd-crumbs-list a:hover,
.nd-crumbs-list a:focus {
    background: #eef6dc;
    color: #3f6110;
}
.nd-crumbs-home a::before {
    content: "";
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23557c15%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 11 12 4l8 7v8a1 1 0 0 1-1 1h-5v-6h-4v6H5a1 1 0 0 1-1-1z%27/%3E%3C/svg%3E") center / 14px no-repeat;
}
.nd-crumbs-current span,
.nd-crumbs-current a {
    color: #243018;
    font-weight: 700 !important;
}
/* Ad view — main photo + equal thumbs in one row */
.nd-gallery {
    margin: 10px 0 16px;
}
.nd-gallery-main {
    overflow: hidden;
    border-radius: 12px;
    background: #f0f2ec;
    border: 1px solid #e1e5dc;
}
.nd-gallery-main img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: #f0f2ec;
}
.nd-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.nd-gallery-thumb {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    margin: 0;
    padding: 0;
    border: 2px solid #e1e5dc;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.nd-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.nd-gallery-thumb:hover,
.nd-gallery-thumb:focus {
    border-color: #7eb425;
    outline: none;
}
.nd-gallery-thumb.is-active {
    border-color: #7eb425;
    box-shadow: 0 0 0 1px #7eb425;
}
.page-bottom-menu .footer-menu { padding-left: 0; list-style: none; margin: 0; }
.page-bottom-menu .footer-menu > li { margin-bottom: 6px; }
.last-searches h4 { margin-bottom: 8px; font-size: 15px; }
.last-searches a { margin-right: 10px; white-space: nowrap; }
.list-row-meta .item-info-label { font-size: 11px; color: #888; text-transform: none; }
.list-row-meta .bold { font-weight: 600; }
.item-price-negotiation { margin-left: 8px; color: #666; font-size: 13px; }
.hr-line { border-bottom: 1px solid #ddd; padding-bottom: 6px; }
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 2000;
    background: #222;
    color: #fff;
    padding: 14px 0;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner a { color: #9cf; }
.cookie-banner-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; }
.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}
.cookie-banner .btn { min-height: 40px; min-width: 132px; }
.cookie-banner .cookie-btn-equal {
    background: #fff;
    border-color: #fff;
    color: #222;
}
.cookie-banner .cookie-btn-equal:hover,
.cookie-banner .cookie-btn-equal:focus {
    background: #f2f2f2;
    border-color: #f2f2f2;
    color: #222;
}
.cookie-settings {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    max-width: 720px;
}
.cookie-settings[hidden] { display: none !important; }
.cookie-choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}
.cookie-choice input { margin-top: 3px; }
.cookie-choice strong { margin-right: 6px; }
.cookie-settings-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: #222;
    text-decoration: underline;
    cursor: pointer;
}

/* Footer CTA — white copy on green band */
.site-footer { clear: both; display: block; width: 100%; }
.page-bottom,
.page-bottom h3,
.page-bottom .page-bottom-title,
.page-bottom p { color: #fff !important; }
.page-bottom p { opacity: .95; }
.page-bottom .page-bottom-actions { display: grid; grid-template-columns: 1fr 1fr; justify-content: center; gap: 14px; width: max-content; max-width: 100%; margin: 28px auto 0; }
.page-bottom .page-bottom-actions .btn { text-align: center; white-space: nowrap; }
@media (max-width: 600px) {
    .page-bottom .page-bottom-actions { grid-template-columns: 1fr; width: auto; }
    .page-bottom .page-bottom-actions .btn { white-space: normal; height: auto; min-height: 44px; }
}
.page-bottom .page-bottom-title { display: block; margin: 20px 0 10px; font-size: 24px; font-weight: 500; line-height: 1.1; }

/* Mega menu — panel overlays banner/content (does not push layout) */
.nd-mega-wrap {
    position: relative;
    z-index: 40;
    background: #f3f3f3;
    padding: 18px 0 8px;
}
.nd-mega {
    position: relative;
}
.nd-mega-tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    float: none;
    margin: 0 auto 12px;
    padding: 0;
    list-style: none;
    width: 100%;
}
.nd-mega-tile { float: none; margin: 0; }
.nd-mega-tile-btn {
    width: 118px;
    height: 118px;
    border: 0;
    border-radius: 14px;
    background: #7eb425;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    transition: background .15s, transform .15s;
}
.nd-mega-tile.is-open .nd-mega-tile-btn,
.nd-mega-tile-btn:hover,
.nd-mega-tile-btn:focus {
    background: #6a9a1c;
    outline: none;
}
.nd-mega-tile-ico img { width: 42px; height: auto; display: block; }
.nd-mega-tile-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.15;
    padding: 0 6px;
}
.nd-mega-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    margin: 0;
    padding-top: 4px;
}
.nd-mega-panel[hidden] { display: none !important; }
.nd-mega-panel-inner {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0,0,0,.16);
    padding: 10px 16px 18px;
    max-height: none;
    overflow: visible;
}
.nd-mega-panel-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 0 8px;
    min-height: 28px;
}
.nd-mega-close {
    border: 0;
    background: transparent;
    color: #999;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.nd-mega-close:hover { color: #333; }
.nd-mega-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
}
.nd-mega-item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #f7f7f7;
    min-height: 78px;
    text-decoration: none;
}
.nd-mega-item-img,
.nd-mega-item-ph {
    display: block;
    width: 100%;
    height: 78px;
    object-fit: cover;
}
.nd-mega-item-ph { background: linear-gradient(135deg, #e8e8e8, #d5d5d5); }
.nd-mega-item-label {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 4px 6px;
    background: rgba(255,255,255,.88);
    color: var(--nd-green-700, #3a7a1f);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}
.nd-mega-item-all {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef6e2;
}
.nd-mega-item-all .nd-mega-item-label {
    position: static;
    background: transparent;
    font-size: 13px;
}
.nd-mega-mobile { padding: 8px 0 16px; }
.nd-mega-mobile-title {
    margin: 0 0 10px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #2c3032;
    line-height: 1.3;
}
.nd-mega-mobile .form-control {
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid #e1e5dc;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 15px;
}
/* PL hero overlay styles live in hero_banner.html.twig (inline) so legacy CSS/cache cannot drop them. */

/* Exchange tabs — legacy file-folder tabs (active green / inactive grey) */
.nd-exchange-tabs-wrap {
    padding: 14px 0 0;
    background: #f3f3f3;
}
.nd-exchange-tabs-wrap .exchange-switcher--tabs {
    margin: 0;
    width: 100%;
    border-bottom: 3px solid #7eb425;
}
.nd-exchange-tabs-wrap .exchange-switcher-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    justify-content: center;
    align-items: flex-end;
}
.nd-exchange-tabs-wrap .exchange-tile {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    max-width: 100%;
    padding: 12px 28px 13px;
    margin-bottom: -3px;
    border: 1px solid #c8c8c8;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    background: #ececec;
    color: #555;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
    opacity: 1;
    transition: background .15s, color .15s, border-color .15s;
}
.nd-exchange-tabs-wrap .exchange-tile:hover,
.nd-exchange-tabs-wrap .exchange-tile:focus {
    text-decoration: none;
    color: #333;
    background: #f5f5f5;
    border-color: #b0b0b0;
}
.nd-exchange-tabs-wrap .exchange-tile.is-active,
.nd-exchange-tabs-wrap .exchange-tile.is-active:hover,
.nd-exchange-tabs-wrap .exchange-tile.is-active:focus {
    /* Darker green — white on #7eb425 fails contrast (~2.5:1) */
    background: #3f6110;
    border-color: #3f6110;
    color: #fff;
    z-index: 1;
}
.nd-exchange-tabs-wrap .exchange-tile.is-active .exchange-tile-label {
    color: #fff;
}
@media (max-width: 767px) {
    .nd-exchange-tabs-wrap .exchange-tile {
        min-width: 0;
        flex: 1 1 calc(50% - 6px);
        padding: 10px 12px;
        font-size: 13px;
    }
}
.nd-mega-tile-ico .tile-icon-svg {
    display: block;
    width: 42px;
    height: 42px;
    color: #fff;
}
.nd-mega-tile-ico .tile-icon-svg svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Search filters */

/* Homepage CMS: article links toggle */
#show-lines-description-container {
    cursor: pointer;
    user-select: none;
}
#show-lines-description-container #articles {
    cursor: default;
    user-select: text;
}
#show-lines-description-container #articles a {
    cursor: pointer;
}
#show-lines-description-container .show-lines-btn {
    pointer-events: none;
}

/* Category SEO expand/collapse */
.nd-cat-seo { margin: 0 0 16px; }
.nd-cat-seo-body {
    overflow: hidden;
    transition: max-height .25s ease;
}
.nd-cat-seo-body.is-collapsed {
    max-height: 4.5em;
    position: relative;
}
.nd-cat-seo-body.is-collapsed::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2em;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}
.nd-cat-seo-body.is-expanded { max-height: none; }
.nd-cat-seo-body.is-expanded::after { display: none; }
.nd-cat-seo-actions { margin-top: 4px; }
.nd-cat-seo-actions .btn-link { padding-left: 0; }

/* Page title band — replaces the gray strip on every subpage */
.nd-pagebar {
    background: linear-gradient(180deg, #e7f3cf 0%, #f4f8ec 58%, #fff 100%);
    padding: 26px 0 18px;
    margin: 0 0 22px;
}
.nd-pagebar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    flex-wrap: wrap;
    width: 100%;
}
.nd-pagebar-title {
    margin: 0;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #243018;
}
.nd-pagebar-title::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    margin-top: 10px;
    border-radius: 99px;
    background: #7eb425;
}
.nd-pagebar-aside {
    min-width: 0;
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.nd-pagebar-aside:not(:has(*)) { display: none; }
.nd-pagebar-aside .pull-right,
.nd-pagebar-aside .breadcrumb { float: none; }
/* Ad details: crumbs sit under the title on narrow screens, right-aligned on desktop */
.ad-view-page .nd-pagebar-row {
    align-items: flex-start;
}
.ad-view-page .nd-pagebar-aside {
    padding-top: 8px;
}
@media (max-width: 767px) {
    .ad-view-page .nd-pagebar-aside {
        justify-content: flex-start;
        padding-top: 4px;
        flex-basis: 100%;
    }
    .nd-crumbs-list a,
    .nd-crumbs-list span { max-width: 160px; }
}

/* Listing row — wygląd starej strony (legacy): zdjęcie 270×140, tekst, kolumna z datą i przyciskami */
.search-result .table-responsive { overflow-x: visible; border: 0; margin-bottom: 0; }
.search-result > .table,
.search-result .table-responsive > .table { width: 100%; margin: 0; background: transparent; }
.search-result .ads-list-table { table-layout: fixed; }
.search-result .table > tbody > tr > td {
    padding: 0;
    border-top: 1px solid #ddd;
    background: transparent;
    white-space: normal;
}
.search-result .table > tbody > tr:last-child > td { border-bottom: 1px solid #ddd; }
.nd-ad {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 22px 20px 32px 11px;
}
.nd-ad-photo {
    position: relative;
    flex: 0 0 270px;
    width: 270px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.nd-ad-photo > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.nd-ad-bio {
    position: absolute !important;
    left: 4px;
    bottom: 4px;
    width: 52px !important;
    height: 20px !important;
    object-fit: contain !important;
    pointer-events: none;
}
.nd-ad-main { flex: 1 1 auto; min-width: 0; }
.nd-ad-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 11px; min-height: 24px; }
.nd-ad-top .label-search-result {
    margin: 0;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
    background: #fff !important;
    border: 1px solid #e8b923;
    color: #b8890a !important;
    text-shadow: none !important;
}
.nd-ad-top .label-search-result.label-success { border-color: #3db04b; color: #2f9e3f !important; }
.nd-ad-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.2; color: #222; }
.nd-ad-title a { color: inherit; text-decoration: none; }
.nd-ad-title a:hover,
.nd-ad-title a:focus { color: inherit; text-decoration: underline; text-decoration-skip-ink: none; }
/* Cały kafel ogłoszenia klikalny jednym linkiem (tytuł); „Skontaktuj się” leży nad nakładką */
.nd-ad { position: relative; }
.nd-ad-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.nd-ad-action--contact { position: relative; z-index: 2; }
.nd-ad:hover .nd-ad-action--details { filter: brightness(1.08); }
.nd-ad-price-value { margin-left: 5px; font-size: 14px; font-weight: 700; color: #222; }
.nd-ad-price-note { font-size: 14px; color: #222; }
.nd-ad-desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
}
.nd-ad-desc a { color: inherit; text-decoration: none; }
.nd-ad-desc a:hover,
.nd-ad-desc a:focus { color: inherit; text-decoration: underline; text-decoration-skip-ink: none; }
.nd-ad-meta { display: flex; flex-wrap: wrap; margin-top: 18px; }
.nd-ad-meta > div { flex: 0 0 90px; min-width: 0; padding-right: 10px; }
.nd-ad-meta > .nd-ad-meta-packaging { flex-basis: 120px; }
.nd-ad-meta > .nd-ad-meta-origin { flex: 0 0 160px; }
.nd-ad-meta > div > span { white-space: nowrap; }
.nd-ad-tel { font-style: normal; }
.nd-ad-meta > .nd-ad-meta-contact { flex: 1 1 0; min-width: 110px; padding-right: 0; }
.nd-ad-meta .nd-ad-meta-contact strong { color: #5f9a2e; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nd-ad-meta span { display: block; font-size: 14px; line-height: 1.4; color: #6a6a6a; }
.nd-ad-meta strong { display: block; min-height: 20px; margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.4; color: #222; }
.nd-ad-side { flex: 0 0 190px; width: 190px; text-align: right; }
.nd-ad-date,
.nd-ad-date * { font-size: 13px; line-height: 20px; color: #6a6a6a; white-space: nowrap; }
.nd-ad-date time { color: #222; }
.nd-ad-loc { margin: 10px 0 0; font-size: 14px; line-height: 1.4; color: #222; min-height: 20px; }
.nd-ad-action {
    display: block;
    width: 173px;
    margin: 12px 0 0 auto;
    padding: 0 8px;
    border: 0;
    border-radius: 4px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 28px;
    height: 28px;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .25);
    transition: filter .15s;
}
.nd-ad-action .glyphicon { margin-right: 9px; font-size: 12px; top: 2px; }
.nd-ad-action--details { background: #6fa92d; margin-top: 17px; }
.nd-ad-action--contact { background: #2f75c0; margin-top: 18px; }
/* Ogłoszenie archiwalne (> 30 dni): przycisk kontaktu nieaktywny, powód w dymku */
.is-archived { position: relative; cursor: not-allowed; }
.nd-ad-action--contact.is-archived,
.ad-contact-btn.is-archived { background: #a9bdd3 !important; border-color: #a9bdd3 !important; box-shadow: none; }
.is-archived:hover,
.is-archived:focus { filter: none; }
.is-archived::after {
    content: attr(data-tip);
    position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
    padding: 7px 12px; border-radius: 4px; background: #5f8bb8; color: #fff;
    font-size: 12px; font-weight: 400; line-height: 1.3; white-space: nowrap;
    opacity: 0; visibility: hidden; pointer-events: none; z-index: 5;
}
.is-archived::before {
    content: ''; position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translateX(-50%);
    border: 6px solid transparent; border-top-color: #5f8bb8; border-bottom-width: 0;
    opacity: 0; visibility: hidden; z-index: 5;
}
.is-archived:hover::after, .is-archived:focus::after,
.is-archived:hover::before, .is-archived:focus::before { opacity: 1; visibility: visible; }
.nd-ad-action:hover,
.nd-ad-action:focus { filter: brightness(1.08); color: #fff !important; }
/* Ogłoszenie wyróżnione: zielony pasek z lewej i plakietka „Promowane” */
.nd-ad--promo { background: #fbfdf8; box-shadow: inset 6px 0 0 #5f9a2e; padding-left: 17px; }
.nd-ad-promo-chip { padding: 3px 9px; border: 1px solid #5f9a2e; border-radius: 12px; background: #fff; color: #2f7a1f; font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .3px; }
.pub-title-link .nd-ad-promo-chip { margin-right: 10px; vertical-align: middle; font-size: 13px; padding: 4px 12px; }
@media (min-width: 768px) {
    .nd-ad--promo .nd-ad-top { display: flex; flex-wrap: nowrap; align-items: flex-start; }
    .nd-ad--promo .nd-ad-labels { display: block; flex: 0 0 auto; margin-right: 11px; margin-top: 2px; }
    .nd-ad--promo .nd-ad-title { display: block; flex: 1 1 auto; min-width: 0; line-height: 1.4; }
}
@media (max-width: 767px) {
    .nd-ad { flex-wrap: wrap; padding: 14px 10px 18px; }
    .nd-ad-photo { flex: 0 0 100%; width: 100%; height: auto; max-height: 220px; }
    .nd-ad-main { flex: 1 1 100%; }
    .nd-ad-desc { white-space: normal !important; }
    .nd-ad-meta { margin-top: 14px; }
    .nd-ad-meta strong { margin-top: 2px; }
    .nd-ad-side { flex: 1 1 100%; width: 100%; text-align: left; }
    .nd-ad-action { display: inline-block; padding: 0 14px; margin: 10px 8px 0 0 !important; }
}
/* Ad view — quieter “all ads in category” link (was loud btn-primary) */
.ad-view-page .nd-ad-category-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin: 4px 0 0;
    padding: 11px 16px;
    border: 1.5px solid #c8d6b4;
    border-radius: 10px;
    background: #fff;
    color: #3f6110;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.35;
    text-decoration: none;
    text-transform: none;
    box-shadow: none;
    transition: background .15s, border-color .15s, color .15s;
}
.ad-view-page .nd-ad-category-more::after {
    content: "";
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23557c15%27 stroke-width=%272.4%27 stroke-linecap=%27round%27%3E%3Cpath d=%27m10 7 5 5-5 5%27/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ad-view-page .nd-ad-category-more:hover,
.ad-view-page .nd-ad-category-more:focus {
    background: #f2f8e8;
    border-color: #7eb425;
    color: #3f6110;
    text-decoration: none;
}
.search-promo-bar--country select.form-control {
    height: 42px;
    border-radius: 8px;
}
.search-result .search-promo-bar .btn-search-question {
    height: 42px;
    min-width: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: transparent !important;
    background: #ed3323 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%276.5%27/%3E%3Cpath d=%27m20 20-4.2-4.2%27/%3E%3C/svg%3E") center / 20px no-repeat !important;
}
.search-result .search-promo-bar .btn-search-question:hover,
.search-result .search-promo-bar .btn-search-question:focus {
    background-color: #d42818 !important;
}
.search-result .search-promo-bar--country .btn.btn-primary {
    height: 42px;
    margin: 0;
    border-radius: 8px;
    background: #7eb425 !important;
    border-color: #6aa31a !important;
    color: #fff !important;
}
.nd-list-banner { display: block; }
.nd-list-banner img { width: 100%; height: auto; border-radius: 12px; }

/* Contact — form card + side cards, Figtree sans-serif */
.nd-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr);
    gap: 22px 28px;
    align-items: start;
    margin-bottom: 48px;
    padding-bottom: 8px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
}
.nd-contact-card {
    padding: 22px 24px 20px;
    background: #fff;
    border: 1px solid #e3f0cd;
    border-left: 4px solid #7eb425;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(44, 48, 50, .04), 0 6px 18px rgba(44, 48, 50, .05);
}
.nd-contact-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2e8;
}
.nd-contact-card-ico {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #7eb425 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M4 6.5h16v11H4z%27/%3E%3Cpath d=%27m4 7 8 6 8-6%27/%3E%3C/svg%3E") center / 22px no-repeat;
}
.nd-contact-card-title {
    margin: 0 0 4px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #2c3032;
    line-height: 1.25;
    text-transform: none;
    border: 0;
    padding: 0;
}
.nd-contact-card-hint {
    margin: 0;
    font-size: 13.5px;
    color: #8a9093;
    line-height: 1.4;
}
.nd-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}
.nd-contact-span2 { grid-column: 1 / -1; }
.nd-contact .form-group { margin: 0; }
.nd-contact .form-group > label {
    display: block;
    margin: 0 0 6px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #555b5e !important;
    line-height: 1.3;
}
.nd-contact .form-group > label span { color: #c0392b; font-weight: 700; }
.nd-contact .form-control {
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid #e1e5dc;
    box-shadow: none;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 15px;
}
.nd-contact .form-control:focus {
    border-color: #7eb425;
    box-shadow: 0 0 0 3px #e3f0cd;
}
.nd-contact textarea.form-control {
    height: auto;
    min-height: 180px;
    padding-top: 12px;
    resize: vertical;
}
.nd-contact-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    min-width: 180px;
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: #7eb425 !important;
    color: #fff !important;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(126, 180, 37, .35);
}
.nd-contact-send:hover,
.nd-contact-send:focus {
    background: #6a9a1c !important;
    color: #fff !important;
}
.nd-contact-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.nd-contact-side-card {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e1e5dc;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(44, 48, 50, .04);
}
.nd-contact-side-card h2 {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.01em;
    text-transform: none;
    color: #2c3032;
}
.nd-contact-lead {
    margin: 0 0 12px;
    color: #6a7073;
    font-size: 14px;
    line-height: 1.45;
}
.nd-contact-mail {
    display: inline-block;
    color: #557c15;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    word-break: break-all;
}
.nd-contact-mail:hover,
.nd-contact-mail:focus { color: #3f6110; text-decoration: underline; }
.nd-contact-chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: #2f7de1 !important;
    color: #fff !important;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.nd-contact-chat:hover,
.nd-contact-chat:focus {
    background: #246dc8 !important;
    color: #fff !important;
    text-decoration: none;
}
/* Przyciski jak na liście ogłoszeń: zielony „Szczegóły” / niebieski „Skontaktuj się” */
.nd-contact-send,
.nd-contact-chat {
    height: 36px;
    border-radius: 8px;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .25);
    transition: filter .15s;
}
.nd-contact-send { min-width: 173px; padding: 0 20px; background: #6aa82c !important; }
.nd-contact-chat { background: #2a6db5 !important; }
.nd-contact-send:hover,
.nd-contact-send:focus,
.nd-contact-chat:hover,
.nd-contact-chat:focus { filter: brightness(1.08); }
.nd-contact-send:hover,
.nd-contact-send:focus { background: #6aa82c !important; }
.nd-contact-chat:hover,
.nd-contact-chat:focus { background: #2a6db5 !important; }
.nd-contact-chat .nd-ad-action-ico { flex: none; margin-right: 9px; }
/* assetic-main.css (ładowany później) ustawia .btn { border-radius: 3px } — wyższa specyficzność */
.nd-contact .nd-contact-send,
.nd-contact .nd-contact-chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}
.nd-contact .nd-contact-chat .nd-ad-action-ico { flex: none; width: 16px; height: 14px; margin: 0 9px 0 0; }
/* „Skontaktuj się” jak na liście ogłoszeń (.nd-ad-action) */
.nd-contact .nd-contact-chat {
    width: 260px;
    height: 42px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 15px;
    text-transform: none;
}
.nd-contact .nd-contact-chat .nd-ad-action-ico { width: 20px; height: 17px; margin-right: 11px; }
.nd-contact-errors { margin: 0; padding-left: 18px; }
.nd-hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Auth — login / register */
.nd-auth {
    max-width: 520px;
    margin: 0 auto 48px;
    min-height: calc(100vh - 270px);
    padding-bottom: 8px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
}
.nd-auth-card {
    padding: 22px 24px 20px;
    background: #fff;
    border: 1px solid #e3f0cd;
    border-left: 4px solid #7eb425;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(44, 48, 50, .04), 0 6px 18px rgba(44, 48, 50, .05);
}
.nd-auth-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2e8;
}
.nd-auth-card-ico {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #7eb425;
    background-position: center;
    background-size: 22px;
    background-repeat: no-repeat;
}
.nd-auth-card-ico--login {
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4%27/%3E%3Cpath d=%27M10 17l5-5-5-5%27/%3E%3Cpath d=%27M15 12H3%27/%3E%3C/svg%3E");
}
.nd-auth-card-ico--register {
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2%27/%3E%3Ccircle cx=%279%27 cy=%277%27 r=%274%27/%3E%3Cpath d=%27M19 8v6%27/%3E%3Cpath d=%27M22 11h-6%27/%3E%3C/svg%3E");
}
.nd-auth-card-title {
    margin: 0 0 4px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #2c3032;
    line-height: 1.25;
    text-transform: none;
}
.nd-auth-card-hint {
    margin: 0;
    font-size: 13.5px;
    color: #8a9093;
    line-height: 1.4;
}
.nd-auth-intent {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f3f8e9;
    border: 1px solid #d7e8b5;
    color: #3f4a2e;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}
.nd-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}
.nd-auth .form-group { margin: 0 0 14px; }
.nd-auth .form-group > label {
    display: block;
    margin: 0 0 6px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #555b5e !important;
    line-height: 1.3;
}
.nd-auth .form-group > label span { color: #c0392b; font-weight: 700; }
.nd-auth .form-control {
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid #e1e5dc;
    box-shadow: none;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 15px;
}
.nd-auth .form-control:focus {
    border-color: #7eb425;
    box-shadow: 0 0 0 3px #e3f0cd;
}
.nd-auth-password-hint {
    margin: -6px 0 14px;
    font-size: 12.5px;
    color: #8a9093;
    line-height: 1.4;
}
.nd-auth .form-control.is-invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}
.nd-auth-field-feedback {
    margin: 6px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #c0392b;
    line-height: 1.35;
}
.nd-auth-field-feedback[hidden] { display: none !important; }
.nd-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #4d5648;
    line-height: 1.45;
    cursor: pointer;
}
.nd-auth-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #7eb425;
}
.nd-auth-req { color: #d9302c; font-weight: 700; }
.nd-auth .nd-auth-consent-toggle {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 20px;
    margin: 0 0 0 4px;
    padding: 0;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    outline: 0;
    vertical-align: middle;
    cursor: pointer;
}
.nd-auth-consent-toggle::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border: solid #777;
    border-width: 0 2px 2px 0;
    transform: translateY(-1px) rotate(45deg);
    transition: transform .15s;
}
.nd-auth-consent-toggle:hover::before { border-color: #222; }
.nd-auth-consent-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.nd-auth-consent { margin: -4px 0 14px 28px; font-size: 13px; line-height: 1.5; color: #6a7073; }
.nd-auth-check a { color: #557c15; font-weight: 700; text-decoration: underline; }
.nd-auth-check a:hover { color: #3f6110; }
.nd-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: #7eb425 !important;
    color: #fff !important;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(126, 180, 37, .35);
}
.nd-auth-submit:hover,
.nd-auth-submit:focus {
    background: #6a9a1c !important;
    color: #fff !important;
}
.nd-auth .nd-auth-submit {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    min-width: 173px;
    padding: 0 20px;
    color: #fff !important;
    font-weight: 700 !important;
    height: 36px;
    border-radius: 10px;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    background: #6aa82c !important;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .25);
}
.nd-auth .nd-auth-submit:hover,
.nd-auth .nd-auth-submit:focus { background: #6aa82c !important; filter: brightness(1.08); }
.nd-auth-forgot {
    margin: 16px 0 0;
    text-align: center;
    font-size: 14px;
}
.nd-auth-forgot-link { color: #6a7073; text-decoration: underline; cursor: pointer; }
.nd-auth-forgot-link:hover,
.nd-auth-forgot-link:focus { color: #6aa82c; }
.nd-auth-switch {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #eef2e8;
    text-align: center;
    font-size: 14px;
    color: #6a7073;
}
.nd-auth-switch a {
    color: #557c15;
    font-weight: 700;
    text-decoration: none;
}
.nd-auth-switch a:hover { color: #3f6110; text-decoration: underline; }
.nd-auth-errors { margin: 0; padding-left: 18px; }

@media (max-width: 991px) {
    .nd-pagebar-title { font-size: 24px; }
    .nd-ad {
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-areas:
            "photo top"
            "photo date"
            "desc desc"
            "loc loc"
            "meta meta"
            "actions actions";
    }
    .nd-ad-date,
    .nd-ad-loc { text-align: left; }
    .nd-ad-price { display: flex; margin: 6px 0 0; }
    .nd-ad-actions { flex-direction: row; }
    .nd-ad-actions .nd-ad-action { flex: 1; }
    .nd-contact { grid-template-columns: 1fr; }
    .nd-contact-grid { grid-template-columns: 1fr; }
    .nd-auth-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .nd-ad { grid-template-columns: 92px minmax(0, 1fr); }
    .nd-ad-title { font-size: 17px; }
    .nd-ad-actions { flex-direction: column; }
}

@media (max-width: 991px) {
    .nd-mega-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .nd-mega-tile-btn { width: 96px; height: 96px; }
    /* Tablet still shows desktop tiles; keep panel overlaying without forcing scroll when possible */
    .nd-mega-panel-inner { max-height: min(78vh, 720px); overflow-y: auto; }
}
@media (max-width: 767px) {
    /* Mobile: only the select cascade — no overlay panel */
    .nd-mega-wrap { z-index: 1; }
}

/* —— Add ad form (/pub/new) — wygląd jak na starej stronie —— */
body.add-ad-page .content-container { max-width: 1000px; padding-top: 0; }

body.add-ad-page .nd-pagebar { margin: 0 0 6px; padding: 30px 0 34px; }
body.add-ad-page .nd-pagebar > .container { max-width: 1000px; }
body.legacy-chrome.add-ad-page .nd-pagebar-title {
    display: block;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    color: #222;
}
body.legacy-chrome.add-ad-page .nd-pagebar-title::after { display: none; }
body.add-ad-page .nd-pagebar-aside { display: none; }

.add-ad-form {
    margin: 0 auto 60px;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #222;
}
.add-ad-form [hidden] { display: none !important; }
.add-ad-form h3 {
    margin: 38px 0 20px;
    padding: 0 0 9px;
    border-bottom: 1px solid #d6d6d6;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    color: #222;
}
.add-ad-form h3 small { font-size: 12px; color: #222; }
.add-ad-form .req,
.add-ad-form h3.required .req { color: #e2292b; font-size: 12px; }
.add-ad-form .control-label,
.add-ad-form .nd-ad-field > label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

/* radio + checkbox jak w starym serwisie */
.add-ad-form .radio,
.add-ad-form .checkbox {
    position: relative;
    margin: 0 0 14px;
    min-height: 20px;
}
.add-ad-form .radio input,
.add-ad-form .checkbox input {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}
.add-ad-form .radio label,
.add-ad-form .checkbox label {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-left: 32px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #222;
    cursor: pointer;
}
.add-ad-form .radio label::before,
.add-ad-form .checkbox label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: #fff !important;
    border: 1px solid #ccc;
    box-shadow: none !important;
}
.add-ad-form .radio input:checked + label::before,
.add-ad-form .checkbox input:checked + label::before { border-width: 1px !important; }
.add-ad-form .radio label::before { border-radius: 3px; }
.add-ad-form .checkbox label::before { border-radius: 3px; }
.add-ad-form .radio input:checked + label::after,
.add-ad-form .checkbox input:checked + label::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #6fa92d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.add-ad-radios { padding-left: 20px; }
.add-ad-radios .radio { margin-bottom: 14px; }
.add-ad-exchange {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 6px 0 0 20px;
    font-size: 14px;
}
.add-ad-exchange-link {
    padding: 4px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #222;
    text-decoration: none;
}
.add-ad-exchange-link.is-active { border-color: #6fa92d; background: #6fa92d; color: #fff; }

/* kategoria: trzy kolumny z listami */
.add-ad-cat {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.add-ad-cat.is-invalid .add-ad-list { border-color: #e2292b; }
.add-ad-cat-col { position: relative; min-width: 0; }
.add-ad-search {
    display: block;
    width: 100%;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #ccc;
    border-bottom-color: #e3e3e3;
    border-radius: 0;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #222;
    box-shadow: none;
}
.add-ad-search::placeholder { color: #999; }
.add-ad-search:focus { outline: 0; border-color: #6fa92d; }
.add-ad-list {
    height: 290px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    overflow-y: auto;
    border: 1px solid #ccc;
    background: #fff;
}
.add-ad-list--search { height: 252px; border-top: 0; }
.add-ad-list li {
    margin: 0 8px 1px 8px;
    padding: 0 12px;
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.3;
    color: #222;
    cursor: pointer;
}
.add-ad-list li:hover { background: #eef6e2; }
.add-ad-list li.is-active,
.add-ad-list li.is-active:hover { background: #6fa92d; color: #fff; }
.add-ad-list-empty {
    position: absolute;
    left: 1px;
    right: 1px;
    bottom: 1px;
    height: 252px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: #fff;
    text-align: center;
    font-size: 14px;
    color: #222;
}
.add-ad-cat-selects { margin-top: 12px; }
.add-ad-cat-selects select[hidden] { display: none; }
.add-ad-cat-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 30px;
}
.add-ad-picked {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-width: 0;
    font-size: 15px;
}
.add-ad-picked-label { color: #666; }
.add-ad-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.add-ad-crumbs li { color: #222; }
.add-ad-crumbs li + li::before {
    content: "";
    display: inline-block;
    margin: 0 8px;
    border-left: 5px solid #888;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}
.add-ad-crumbs li.is-last { color: #4f8a1f; font-weight: 700; }
.add-ad-btn-green {
    flex: 0 0 auto;
    min-width: 120px;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    background: #6fa92d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}
.add-ad-btn-green:hover { filter: brightness(1.08); }

/* pola */
.add-ad-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 24px;
    align-items: start;
}
.add-ad-grid > .add-ad-span3 { grid-column: 1 / -1; }
.add-ad-grid > .add-ad-span-break { grid-column: 1 / -1; height: 0; margin: -14px 0 0; padding: 0; }
.add-ad-form .nd-ad-field { margin: 0; min-width: 0; }
.add-ad-form .form-control {
    display: block;
    width: 100%;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #d3d3d3;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
    font-family: inherit;
    font-size: 14px;
    color: #222;
}
.add-ad-form select.form-control {
    padding-right: 24px;
    -webkit-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%);
    background-position: calc(100% - 15px) 17px, calc(100% - 11px) 17px;
    background-size: 4px 4px, 4px 4px;
    background-repeat: no-repeat;
}
.add-ad-form .form-control:focus {
    border-color: #6fa92d;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(111, 169, 45, .2);
}
.add-ad-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.add-ad-pair .form-control:first-child { border-radius: 2px 0 0 2px; }
.add-ad-pair .form-control:last-child { border-radius: 0 2px 2px 0; border-left: 0; }
.add-ad-check-row { padding-top: 4px; }
.add-ad-form .checkbox label a { color: #6fa92d; text-decoration: none; }
.add-ad-form .checkbox label a:hover { text-decoration: underline; }
.add-ad-form .checkbox .add-ad-consent-toggle {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: none !important;
    box-shadow: none !important;
    outline: 0;
    vertical-align: top;
    cursor: pointer;
}
.add-ad-consent-toggle::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border: solid #777;
    border-width: 0 2px 2px 0;
    transform: translateY(1px) rotate(45deg);
    transition: transform .15s;
}
.add-ad-consent-toggle:hover::before { border-color: #222; }
.add-ad-consent-toggle[aria-expanded="true"]::before { transform: translateY(5px) rotate(-135deg); }
.add-ad-consent { margin: 4px 0 0 32px; font-size: 13px; line-height: 1.5; color: #222; }
.add-ad-check-row .checkbox { margin-bottom: 8px; }

/* cena */
.add-ad-price {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.add-ad-price-input { flex: 0 0 150px; width: 150px !important; }
.add-ad-price-cur { flex: 0 0 78px; width: 78px !important; margin-left: 12px; }
.add-ad-price-type { margin-left: 32px; }
.add-ad-price-type .radio { margin-bottom: 10px; }
.add-ad-price-type .radio label { padding-left: 30px; }

/* opis */
.add-ad-textarea {
    height: auto !important;
    min-height: 180px;
    padding: 10px 12px !important;
    resize: vertical;
    line-height: 1.4;
}
.add-ad-desc-count {
    margin-top: 6px;
    text-align: right;
    font-size: 12px;
    color: #999;
}
.add-ad-desc-count.is-error { color: #b00; }

/* zdjęcia */
.add-ad-form .nd-ad-photos { padding: 0; border: 0; background: none; }
.add-ad-form .nd-ad-photos-list { display: flex; flex-wrap: wrap; gap: 14px; }
.add-ad-form .nd-ad-photo-add,
.add-ad-form .nd-ad-photo-thumb {
    position: relative;
    width: 130px;
    height: 130px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background: #f5f5f5;
    overflow: hidden;
}
.add-ad-form .nd-ad-photo-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    color: #888;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}
.add-ad-form .nd-ad-photo-add[hidden] { display: none; }
.add-ad-form .nd-ad-photo-add:hover { background: #eee; }
.add-ad-form .nd-ad-photo-add-plus { font-size: 30px; font-weight: 300; line-height: 1; color: #999; }
.add-ad-form .nd-ad-photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.add-ad-form .nd-ad-photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: rgba(34, 34, 34, .72);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
.add-ad-form .nd-ad-photo-remove:hover { background: #e2292b; }
.add-ad-form .nd-ad-photos.is-dragover .nd-ad-photo-add { border-color: #6fa92d; background: #eef6e2; }

/* Twoje dane */
.add-ad-user {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}
.add-ad-user .nd-ad-field { margin-bottom: 14px; }

/* przycisk wysyłki */
.add-ad-hr { margin: 34px 0 24px; height: 3px; background: #e6e6e6; }
.add-ad-submit-wrap { text-align: center; }
.add-ad-submit {
    min-width: 360px;
    height: 38px;
    padding: 0 22px;
    border: 0;
    border-radius: 3px;
    background: #f2292b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}
.add-ad-submit:hover,
.add-ad-submit:focus { filter: brightness(1.06); }
.add-ad-login { margin: 22px 0 0; font-size: 14px; color: #222; }
.add-ad-login a { color: #222; font-weight: 700; text-decoration: underline; }

@media (max-width: 767px) {
    body.legacy-chrome.add-ad-page .nd-pagebar-title { font-size: 24px; }
    body.add-ad-page .nd-pagebar { padding: 22px 0 26px; }
    .add-ad-form h3 { margin-top: 30px; font-size: 18px; }
    .add-ad-cat,
    .add-ad-grid,
    .add-ad-user { grid-template-columns: 1fr; gap: 16px; }
    .add-ad-grid > .add-ad-span-break { display: none; }
    .add-ad-list { height: 230px; }
    .add-ad-list--search { height: 190px; }
    .add-ad-list-empty { height: 190px; }
    .add-ad-cat-foot { flex-direction: column; align-items: stretch; }
    .add-ad-btn-green { align-self: flex-start; }
    .add-ad-submit { width: 100%; min-width: 0; }
    .add-ad-price { flex-wrap: wrap; row-gap: 12px; }
    .add-ad-price-type { margin-left: 0; flex-basis: 100%; }
}

/* --------------------------------------------------------------------------
   Mobile nav — modern drawer (overrides legacy rwd.css)
   -------------------------------------------------------------------------- */
/* Never show hamburger on desktop — our previous display:inline-flex !important
   overrode legacy `.mobile-show { display:none }` */
.nd-menu-toggler.mobile-menu-toggler {
    display: none !important;
}
.nd-menu-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 18px;
    height: 14px;
}
.nd-menu-burger > span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 99px;
    background: #3f6110;
    transition: transform .2s, opacity .2s, background .15s;
}
body.menu-mobile-opened .nd-menu-burger > span { background: #fff; }
body.menu-mobile-opened .nd-menu-burger > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.menu-mobile-opened .nd-menu-burger > span:nth-child(2) { opacity: 0; }
body.menu-mobile-opened .nd-menu-burger > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Same breakpoints as legacy `.mobile-show` / mobile header */
@media only screen and (max-width: 767px) {
    .nd-menu-toggler.mobile-menu-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 1.5px solid #d7e8b5;
        border-radius: 12px;
        background: #fff;
        color: #3f6110;
        box-shadow: 0 1px 2px rgba(44, 48, 50, .06);
        font-size: 0;
        line-height: 0;
        cursor: pointer;
        position: relative;
        z-index: 5;
        transition: background .15s, border-color .15s;
    }
    .nd-menu-toggler.mobile-menu-toggler::before { content: none !important; display: none !important; }
    .nd-menu-toggler.mobile-menu-toggler:hover,
    .nd-menu-toggler.mobile-menu-toggler:focus {
        background: #f2f8e8;
        border-color: #7eb425;
        outline: none;
    }
    body.menu-mobile-opened .nd-menu-toggler.mobile-menu-toggler {
        background: #7eb425;
        border-color: #7eb425;
    }
}

@media (max-width: 991px) {
    #mobile-menu {
        width: min(320px, 88vw) !important;
        font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
        /* No shadow while off-canvas — otherwise it paints a strip on the page */
        box-shadow: none !important;
    }
    body.menu-mobile-opened #mobile-menu {
        box-shadow: 8px 0 28px rgba(0, 0, 0, .18) !important;
    }
    #mobile-menu .overlay {
        background: rgba(20, 28, 16, .45) !important;
        opacity: 0 !important;
        backdrop-filter: none;
        pointer-events: none;
    }
    body.menu-mobile-opened #mobile-menu .overlay {
        opacity: 1 !important;
        backdrop-filter: blur(2px);
        pointer-events: auto;
    }
    #mobile-menu .header-menu {
        height: 112px !important;
        min-height: 112px;
        padding: 10px 16px !important;
        display: flex;
        align-items: center;
        background: #fff !important;
        border-bottom: 1px solid #e3f0cd;
    }
    #mobile-menu .header-menu .logo-container a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-decoration: none;
    }
    #mobile-menu .header-menu .logo-container img {
        max-height: 66px !important;
        width: auto;
    }
    #mobile-menu .header-menu .logo-container .logo-text {
        margin: 0;
        font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        color: #444 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
    }
    #mobile-menu .lists {
        background: #272c3a !important;
        padding: 0 0 48px !important;
        height: calc(100% - 112px) !important;
        max-height: calc(100% - 112px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    #mobile-menu .lists ul {
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #mobile-menu .lists li {
        display: block !important;
        width: 100% !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }
    #mobile-menu .lists li a {
        display: block !important;
        padding: 12px 14px !important;
        border-radius: 0 !important;
        color: #fff !important;
        font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        background: transparent !important;
        transition: background .15s;
    }
    #mobile-menu .lists li a:hover,
    #mobile-menu .lists li a:focus,
    #mobile-menu .lists .nav > li > a:hover,
    #mobile-menu .lists .nav > li > a:focus {
        background: #3e4556 !important;
        color: #fff !important;
    }
    #mobile-menu .lists li.active > a {
        background: #3e4556 !important;
        color: #fff !important;
    }
    #mobile-menu .logged-as {
        display: block;
        margin: 4px 14px 10px;
        padding: 10px 12px;
        border-radius: 10px;
        background: rgba(255, 255, 255, .08);
        color: #e3f0cd !important;
        font-size: 13px;
        font-weight: 600;
    }
    #mobile-menu span.menu-cross {
        top: 18px !important;
        right: 14px !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px;
        background: rgba(255, 255, 255, .08);
    }
    #mobile-menu .language-top-mobile {
        margin: 0;
        padding: 8px 4px;
        border-top: 0;
    }
    #mobile-menu .language-top-mobile .language-switcher {
        float: none !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    #mobile-menu .language-top-mobile .dropdown { width: 100%; }
    #mobile-menu .language-top-mobile .language-dropdown-toggle {
        display: flex !important;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 10px 12px;
        border-radius: 10px;
        color: #fff !important;
        font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        background: transparent;
        cursor: pointer;
    }
    #mobile-menu .language-top-mobile .language-dropdown-toggle,
    #mobile-menu .language-top-mobile .language-dropdown-toggle * {
        color: #fff !important;
    }
    #mobile-menu .language-top-mobile .dropdown-menu {
        position: static !important;
        float: none !important;
        display: none;
        width: 100%;
        margin: 8px 0 0;
        padding: 6px;
        border: 0;
        border-radius: 10px;
        background: rgba(0, 0, 0, .25) !important;
        box-shadow: none;
    }
    #mobile-menu .language-top-mobile .dropdown.open > .dropdown-menu {
        display: block !important;
    }
    #mobile-menu .language-top-mobile .dropdown-menu > li > a {
        color: #fff !important;
        border-radius: 8px !important;
        padding: 10px 12px !important;
    }
}

/* --------------------------------------------------------------------------
   Accessibility — contrast + touch targets (PSI)
   -------------------------------------------------------------------------- */
.btn-orange,
a.btn-orange,
.btn.btn-orange {
    background-color: #c0392b !important;
    border-color: #c0392b !important;
    color: #fff !important;
}
.btn-orange:hover,
a.btn-orange:hover,
.btn.btn-orange:hover,
.btn-orange:focus,
a.btn-orange:focus {
    background-color: #a93226 !important;
    border-color: #a93226 !important;
    color: #fff !important;
}
.footer-col-title {
    margin: 0 0 12px;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2c3032;
    line-height: 1.3;
}
/* Touch targets: logo tagline / brand links in header */
.main-menu-container .logo-container .logo-text a,
.main-menu-container .logo-container > a {
    display: inline-block;
    min-height: 44px;
    padding: 6px 0;
    line-height: 1.25;
}
#mobile-menu .header-menu .logo-container a {
    min-height: 44px;
}



/* ==========================================================================
   Lista ogłoszeń — wygląd starej strony (legacy): kafelki kategorii, banner,
   szare pasy „Wyniki wyszukiwania” / „Czego szukasz?” / „Z jakiego kraju…”.
   Zakres: body.search-list-page (nie ładuje new-design.css, czcionka Lato).
   ========================================================================== */
body.search-list-page,
body.legacy-chrome { background: #fff; color: #222; font-family: 'Lato', Arial, Helvetica, sans-serif; }

/* Kafelki kategorii + banner (tło #f2f2f2 jak w starym layoucie) */
body.search-list-page .nd-mega-wrap { background: #f2f2f2; padding: 15px 0 0; }
body.search-list-page .nd-mega-tiles { justify-content: space-between; gap: 0; margin: 0 0 15px; }
body.search-list-page .content-container { padding-top: 15px; }
body.search-list-page .nd-mega-tile-btn {
    width: 144px;
    height: 145px;
    box-sizing: border-box;
    gap: 0;
    justify-content: flex-start;
    padding: 24px 6px 0;
    border-radius: 8px;
    background: #6fa92d;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
body.search-list-page .nd-mega-tile.is-open .nd-mega-tile-btn,
body.search-list-page .nd-mega-tile-btn:hover,
body.search-list-page .nd-mega-tile-btn:focus { background: #93c02b; }
body.search-list-page .nd-mega-tile-ico { display: flex; align-items: center; justify-content: center; height: 70px; }
body.search-list-page .nd-mega-tile-ico img { width: auto; max-width: none; height: auto; }
body.search-list-page .nd-mega-tile-name { margin-top: 20px; font-size: 13px; font-weight: 700; letter-spacing: 0; line-height: 1.2; white-space: nowrap; }
body.search-list-page .nd-hero-banner { background: #f2f2f2; padding: 0 0 20px; }
body.search-list-page .nd-exchange-tabs-wrap { background: #f2f2f2; }
@media (max-width: 1199px) {
    body.search-list-page .nd-mega-tiles { justify-content: center; gap: 10px; }
}

/* Linia pod pasem: przełącznik filtrów + wybrana kategoria */
body.search-list-page .nd-list-intro { padding-top: 0; }
body.search-list-page .nd-list-intro .results-filters-btn {
    display: inline-block;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}
body.search-list-page .nd-list-intro .results-filters-btn::before,
body.search-list-page .nd-list-intro .results-filters-btn::after { content: none !important; display: none; }
body.search-list-page .nd-list-intro .results-filters-btn .glyphicon { top: 2px; margin-left: 4px; font-size: 8px; }
body.search-list-page .nd-list-category { margin: 10px 0 0; font-size: 18px; color: #777; }
body.search-list-page .nd-list-category strong { margin-left: 12px; font-weight: 400; color: #222; }
body.search-list-page .nd-seller-filter { margin-bottom: 10px; }
body.search-list-page .nd-search-panel { margin: 14px 0 0; }
body.search-list-page .content-container { padding-top: 24px; }

/* Tytuł strony kategorii (H1 dla SEO) — bez zielonego gradientu */
body.search-list-page .nd-pagebar { background: none; padding: 0; margin: 0; height: 0; overflow: hidden; }
body.search-list-page .nd-pagebar-title { font-family: inherit; font-size: 24px; font-weight: 400; letter-spacing: 0; color: #222; }
body.search-list-page .nd-pagebar-title::after { display: none; }

/* Szare pasy w liście: „Czego szukasz?” / „Z jakiego kraju szukasz ogłoszenia?” */
body.search-list-page .search-result td.b-row-td { padding: 10px 5px; }
body.search-list-page .search-promo-bar {
    display: flex;
    align-items: center;
    min-height: 76px;
    margin: 12px 0;
    padding: 16px 18px 16px 20px;
    border: 1px solid #e3f0cd;
    border-left: 4px solid #6fa92d;
    border-radius: 14px;
    background: linear-gradient(180deg, #e7f3cf 0%, #f4f8ec 58%, #fff 100%);
}
body.search-list-page .search-promo-bar::before,
body.search-list-page .search-promo-bar::after { display: none; }
body.search-list-page .search-promo-bar > [class*="col-"],
body.search-list-page .search-promo-bar > form > [class*="col-"] { float: none; padding: 0 15px; }
body.search-list-page .search-promo-bar form { display: contents; }
body.search-list-page .search-promo-bar .form-group { margin: 0; }
body.search-list-page .search-promo-bar h2,
body.search-list-page .search-promo-bar .search-promo-bar-label {
    margin: 0;
    display: flex;
    align-items: center;
    font-family: 'Figtree', 'Manrope', Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.25;
    color: #2c3032;
    text-align: left !important;
}
body.search-list-page .search-promo-bar .search-promo-bar-label::before {
    content: "";
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-right: 14px;
    border-radius: 12px;
    background: #6fa92d url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%276.5%27/%3E%3Cpath d=%27m20 20-4.2-4.2%27/%3E%3C/svg%3E") center / 22px no-repeat;
}
body.search-list-page .search-promo-bar--country .search-promo-bar-label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%278.5%27/%3E%3Cpath d=%27M3.5 12h17M12 3.5c2.5 2.5 3.5 5.5 3.5 8.5s-1 6-3.5 8.5c-2.5-2.5-3.5-5.5-3.5-8.5s1-6 3.5-8.5z%27/%3E%3C/svg%3E");
}
body.search-list-page .search-promo-bar .form-control {
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: none;
    font-size: 14px;
}
body.search-list-page .search-promo-bar input[name="search-question"] {
    padding-left: 38px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%238a9093%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%276.5%27/%3E%3Cpath d=%27m20 20-4.2-4.2%27/%3E%3C/svg%3E") 12px center / 17px no-repeat;
}
.country-combo { position: relative; width: 100%; }
.country-combo-native { position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; pointer-events: none; }
.country-combo-input { background: #fff url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%238a9093%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2711%27 cy=%2711%27 r=%276.5%27/%3E%3Cpath d=%27m20 20-4.2-4.2%27/%3E%3C/svg%3E") 12px center / 17px no-repeat; padding-left: 38px; }
@media (max-width: 767px) { .country-combo-input { font-size: 16px !important; } }
.country-combo-list {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 240px;
    margin: 4px 0 0;
    padding: 4px;
    overflow-y: auto;
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}
.country-combo-list li { padding: 10px 12px; border-radius: 8px; font-size: 15px; cursor: pointer; }
.country-combo-list li.is-active,
.country-combo-list li:hover { background: #e7f3cf; }
body.search-list-page .search-promo-bar--country select.form-control { height: 42px; border-radius: 10px; }
body.search-list-page .search-result .search-promo-bar .btn-search-question {
    height: 42px;
    min-width: 56px;
    border-radius: 10px;
    box-shadow: none;
}
body.search-list-page .search-promo-bar.results-header-container > .col-xs-4,
body.search-list-page .search-promo-bar.results-header-container > form > .col-xs-4 { width: 33.3333%; }
@media (max-width: 767px) {
    body.search-list-page .search-promo-bar.results-header-container > form > .col-xs-4.nd-country-sel { width: 66.6667%; }
}
@media (max-width: 767px) {
    body.search-list-page .nd-mega-tiles { gap: 8px; }
    body.search-list-page .nd-mega-tile-btn { width: 110px; height: 110px; padding-top: 12px; }
    body.search-list-page .nd-mega-tile-ico { height: 52px; }
    body.search-list-page .nd-mega-tile-ico img { max-height: 46px; width: auto; }
    body.search-list-page .nd-mega-tile-name { margin-top: 8px; font-size: 11px; white-space: normal; }
    body.search-list-page .nd-results-head .row { min-height: 70px; }
    body.search-list-page .nd-results-head h2 { font-size: 22px; }
    body.search-list-page .nd-results-head .nd-search-sort { width: 100%; }
    body.search-list-page .search-promo-bar { flex-wrap: wrap; padding: 14px 0; min-height: 0; }
    body.search-list-page .search-promo-bar > [class*="col-"] { width: 100%; }
    body.search-list-page .search-promo-bar h2,
    body.search-list-page .search-promo-bar .search-promo-bar-label { font-size: 20px; margin-bottom: 10px; }
}

/* Nagłówek na liście: podpis pod logo mieści się w białym pasie (bez new-design.css) */
@media (min-width: 768px) {
    body.search-list-page .main-menu-container .logo-container > a,
    body.legacy-chrome .main-menu-container .logo-container > a { display: block; min-height: 0; padding: 0; }
    body.search-list-page .main-menu-container .logo-container .logo-text,
    body.legacy-chrome .main-menu-container .logo-container .logo-text {
        margin: 2px 0 0;
        font-size: 13px;
        font-weight: 700;
        line-height: 16px;
        white-space: nowrap;
    }
    body.search-list-page .main-menu-container .logo-container .logo-text a,
    body.legacy-chrome .main-menu-container .logo-container .logo-text a { display: inline; min-height: 0; padding: 0; line-height: 16px; }
}

/* „Masz pomysł na współpracę?” — czerwona pionowa zakładka (new-design.css nie jest ładowany na liście) */
@media (min-width: 768px) {
    body.search-list-page a.cooperation-btn,
    body.search-list-page a.cooperation-btn:focus {
        display: block;
        position: fixed;
        left: 0;
        top: 40%;
        z-index: 40;
        transform: rotate(-180deg);
        writing-mode: vertical-lr;
        text-decoration: none !important;
        text-transform: uppercase;
        background-color: #ed3323 !important;
        color: #fff !important;
        border-radius: 6px;
        padding: 15px 3px 15px 5px;
        font-size: 14px;
        font-weight: 700;
        font-family: "Lato", Arial, Helvetica, sans-serif !important;
        line-height: 20px;
    }
    body.search-list-page a.cooperation-btn:hover { background-color: #d42818 !important; }
}
@media (max-width: 767px) {
    body.search-list-page a.cooperation-btn { display: none; }
}


/* Paginacja, ramka „Chcesz kupić lub sprzedać…” i zajawka bloga pod listą */
.nd-pager { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin: 24px 0; }
.nd-pager-info { font-size: 13px; color: #222; }
.nd-pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: #6fa92d;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
.nd-pager-btn:hover,
.nd-pager-btn:focus { color: #fff; text-decoration: none; filter: brightness(1.08); }
.nd-pager-btn.is-disabled { background: #e6e6e6; color: #888; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); cursor: default; filter: none; }
:is(body.search-list-page, body.legacy-chrome) .add-ad-info {
    margin: 24px 0;
    padding: 28px 24px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fafafa;
    color: #222;
}
:is(body.search-list-page, body.legacy-chrome) .add-ad-info .row { display: flex; align-items: center; margin: 0; }
:is(body.search-list-page, body.legacy-chrome) .add-ad-info .row::before,
:is(body.search-list-page, body.legacy-chrome) .add-ad-info .row::after { display: none; }
:is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-8 { display: flex; align-items: center; gap: 22px; padding: 0; }
:is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-4 { padding: 0; }
.add-ad-info-ico {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: #0f9bd7;
    color: #fff;
    font: 700 32px/44px Georgia, 'Times New Roman', serif;
    text-align: center;
}
.add-ad-info-text p { margin: 0; font-size: 18px; line-height: 1.7; color: #222; }
:is(body.search-list-page, body.legacy-chrome) .add-ad-info .btn-primary {
    width: 323px;
    max-width: 100%;
    margin-left: auto;
    display: block;
    height: 44px;
    line-height: 32px;
    border: 0;
    border-radius: 8px;
    background: #6fa92d;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
.nd-blog-teaser { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin: 0 0 40px; }
.nd-blog-teaser-img { flex: 1 1 300px; min-width: 280px; }
.nd-blog-teaser-img img { display: block; width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }
.nd-blog-teaser-body { flex: 2 1 400px; min-width: 280px; }
.nd-blog-teaser-body .nd-blog-teaser-title { margin: 0 0 12px; font-size: 24px; line-height: 1.25; }
.nd-blog-teaser-body .nd-blog-teaser-title a { color: #222; text-decoration: none; }
.nd-blog-teaser-body p { margin: 0; line-height: 1.6; color: #555; font-size: 13px; }
@media (max-width: 767px) {
    .nd-pager { justify-content: center; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .row { display: block; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-8,
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-4 { width: 100%; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-4 { margin-top: 16px; }
    .add-ad-info-text p { font-size: 15px; }
}

/* Zielony pas „Potrzebujesz pomocy?” nad stopką (kolor wcześniej pochodził z new-design.css) */
:is(body.search-list-page, body.legacy-chrome) .page-bottom { background: #6fa92d; padding: 56px 0; }
:is(body.search-list-page, body.legacy-chrome) .page-bottom .page-bottom-title { display: block; margin: 0; font-size: 28px; font-weight: 400; color: #fff; }
:is(body.search-list-page, body.legacy-chrome) .page-bottom h3 { margin: 0; font-size: 28px; font-weight: 400; color: #fff; }
:is(body.search-list-page, body.legacy-chrome) .page-bottom p { margin: 22px 0 0; font-size: 14px; font-weight: 700; color: #fff; }
:is(body.search-list-page, body.legacy-chrome) .page-bottom .btn-white-border {
    height: 44px;
    margin: 0;
    padding: 0 18px;
    line-height: 40px;
    border: 2px solid #fff;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
:is(body.search-list-page, body.legacy-chrome) .page-bottom .btn-white-border:hover,
:is(body.search-list-page, body.legacy-chrome) .page-bottom .btn-white-border:focus { background: rgba(255, 255, 255, .15); color: #fff; }

/* Stopka jak na starej stronie: białe tło pod zielonym pasem pomocy */
:is(body.search-list-page, body.legacy-chrome) .site-footer { margin-top: 40px; background: #fff; }
:is(body.search-list-page, body.legacy-chrome) .site-footer .page-bottom { margin-top: 0; }

/* Stopka jak na starej stronie: ciemne linki, nagłówki kolumn Lato 20px, krótka linia nad logo */
:is(body.search-list-page, body.legacy-chrome) .page-bottom-menu::before {
    content: "";
    display: block;
    width: 360px;
    max-width: 90%;
    margin: 0 auto 26px;
    border-top: 1px solid #e5e5e5;
}
:is(body.search-list-page, body.legacy-chrome) .footer-col-title { font-family: inherit; font-size: 20px; font-weight: 400; text-transform: uppercase; color: #222; margin-bottom: 16px; }
:is(body.search-list-page, body.legacy-chrome) .footer-menu a,
:is(body.search-list-page, body.legacy-chrome) .footer-menu a:visited { color: #222; text-decoration: none; }
:is(body.search-list-page, body.legacy-chrome) .footer-menu a:hover,
:is(body.search-list-page, body.legacy-chrome) .footer-menu a:focus { color: #222; text-decoration: underline; text-decoration-skip-ink: none; }
:is(body.search-list-page, body.legacy-chrome) .page-bottom-menu .footer-logo { height: 80px; width: auto; max-width: 100%; }
:is(body.search-list-page, body.legacy-chrome) .page-bottom-menu .col-sm-3 > p.fw-300 { font-weight: 300; margin-top: 20px; }
:is(body.search-list-page, body.legacy-chrome) .page-bottom h3,
:is(body.search-list-page, body.legacy-chrome) .page-bottom .page-bottom-title,
:is(body.search-list-page, body.legacy-chrome) .page-bottom .btn-white-border { font-family: 'Lato', Arial, Helvetica, sans-serif; }
:is(body.search-list-page, body.legacy-chrome) .page-bottom .btn-white-border img { margin: 0 10px 0 0; vertical-align: middle; position: relative; top: -2px; }

/* „Zastosowane filtry” — etykieta bez strzałki + wybrane filtry (np. kraj) obok */
body.search-list-page .nd-list-intro .results-filters-btn:focus { outline: none; }
body.search-list-page .nd-applied-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 0 10px;
    padding: 2px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    font-size: 14px;
    color: #222;
    text-decoration: none;
}
body.search-list-page .nd-applied-filter:hover,
body.search-list-page .nd-applied-filter:focus { border-color: #6fa92d; color: #222; text-decoration: none; }
body.search-list-page .nd-applied-filter b { font-size: 16px; line-height: 1; color: #888; }
body.search-list-page .nd-applied-label { font-size: 14px; color: #222; }

/* Lista ogłoszeń: kolejność jak na starej stronie (opis → kategoria → filtry → nagłówek) */
body.search-list-page .nd-cat-seo--inline { margin: 0 0 10px; cursor: pointer; font-size: 14px; }
.cat-top-details-container .cat-top-collapse { padding-left: 0; }
.cat-top-details-container .cat-top-collapse[hidden] { display: none; }
body.search-list-page .nd-list-category strong { margin-left: 0; margin-right: 12px; }
body.search-list-page .nd-list-category-current { color: #5fa233; font-weight: 700; }
body.search-list-page .nd-list-category-current i {
    display: inline-block;
    margin-right: 6px;
    border-left: 6px solid #5fa233;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}
body.search-list-page .nd-list-intro .nd-applied-label { display: inline-block; margin: 20px 12px 0 0; vertical-align: middle; color: #555; }
body.search-list-page .content-container .main-title {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #ddd;
    font-size: 24px;
    font-weight: 400;
    color: #222;
}

/* Wybrana kategoria: proporcje jak na starej stronie */
body.search-list-page .nd-list-category { display: flex; align-items: center; flex-wrap: wrap; font-size: 18px; line-height: 1.2; }
body.search-list-page .nd-list-category > span { margin-right: 14px; }
body.search-list-page .nd-list-category strong { margin: 0 6px 0 0; font-size: 18px; }
body.search-list-page .nd-list-category-current { display: inline-flex; align-items: center; margin-left: 4px; font-size: 18px; }
body.search-list-page .nd-list-category-current i {
    margin-right: 5px;
    border-left-width: 8px;
    border-top-width: 5px;
    border-bottom-width: 5px;
}
body.search-list-page .nd-list-intro .nd-applied-filter { margin: 20px 0 0 0; margin-right: 8px; vertical-align: middle; }

/* Górny pasek: ikonki jednej wielkości, wyśrodkowane w pionie z tekstem */
.page-top .navbar-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding-top: 0;
    padding-bottom: 0;
}
.page-top .navbar-nav > li > a .glyphicon {
    position: static;
    top: 0;
    width: 14px;
    font-size: 13px;
    line-height: 1;
    text-align: center;
}
.page-top .navbar-nav > li > a img {
    width: 14px !important;
    height: 14px !important;
    margin: 0 !important;
    object-fit: contain;
}
.page-top .language-dropdown-toggle > img.language-img { width: 16px; height: 16px; object-fit: contain; }
.page-top .language-dropdown-toggle > img.language-img-nav { width: 16px; height: 11px; object-fit: contain; }
.page-top .language-dropdown-toggle .glyphicon-triangle-bottom { position: static; line-height: 1; }
body.search-list-page .nd-list-category a { margin-right: 6px; font-size: 18px; text-decoration: none; }
body.search-list-page .nd-list-category-link { color: #222; font-weight: 400; }
body.search-list-page .nd-list-category-link:hover,
body.search-list-page .nd-list-category-link:focus { color: #222; text-decoration: underline !important; text-decoration-skip-ink: none; }
body.search-list-page .nd-list-category-current:hover,
body.search-list-page .nd-list-category-current:focus { color: #5fa233; text-decoration: underline !important; text-decoration-skip-ink: none; }

/* Przyciski „Szczegóły ogłoszenia” / „Skontaktuj się” — jak na starej stronie */
:is(body.search-list-page, body.legacy-chrome) .nd-ad-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 173px;
    height: 31px;
    line-height: 1;
    padding: 0 8px;
    margin: 0 0 0 auto;
    font-size: 12px;
    letter-spacing: 0;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .25);
}
:is(body.search-list-page, body.legacy-chrome) .nd-ad-action--details { background: #6aa82c; margin-top: 16px; }
:is(body.search-list-page, body.legacy-chrome) .nd-ad-action--contact { background: #2a6db5; margin-top: 14px; }
:is(body.search-list-page, body.legacy-chrome) .nd-ad-action .glyphicon { position: static; top: 0; margin: 0 9px 0 0; font-size: 13px; line-height: 1; }
:is(body.search-list-page, body.legacy-chrome) .nd-ad-action-ico { flex: none; margin-right: 9px; }
:is(body.search-list-page, body.legacy-chrome) .nd-ad-action { border-radius: 6px; }

/* Pusta lista ogłoszeń */
body.search-list-page .nd-no-results { padding: 40px 15px !important; text-align: center; }
body.search-list-page .nd-no-results-title { margin: 0 0 8px; font-size: 20px; color: #222; }
body.search-list-page .nd-no-results-text { margin: 0 auto 14px; max-width: 560px; font-size: 14px; color: #777; }
body.search-list-page .nd-no-results-link { font-size: 14px; font-weight: 700; color: #5fa233; }

/* Strona ogłoszenia: większa czcionka opisu i ostatniej pozycji okruszków („cena śliwki”) */
body.legacy-chrome .ad-description { font-size: 16px; line-height: 1.6; margin-bottom: 0; }
body.legacy-chrome .ad-description + .row { margin-top: 70px; }
body.legacy-chrome .nd-crumbs-list > li.nd-crumbs-current { font-size: 16px !important; }

/* Strona ogłoszenia: etykieta typu („Sprzedam”) proporcjonalna do nagłówka i wyśrodkowana względem niego */
.pub-title-row .nd-ad-promo-chip { display: inline-block; margin: 0 0 8px; font-size: 13px; padding: 4px 12px; }
body.legacy-chrome .pub-title-row { font-size: 28px; line-height: 38px; margin-bottom: 10px; }
body.legacy-chrome h1.pub-title-link { display: block; font-size: 28px !important; line-height: 38px !important; margin: 0; }
/* Etykieta typu („Kupię”/„Sprzedam”) jak na liście: biała z obwódką, wersaliki; rozmiar jak dotychczasowa plakietka na stronie ogłoszenia */
body.legacy-chrome .pub-title-row .label-search-result {
    display: inline-block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    padding: 6px 12px;
    margin: 0 0 8px;
    vertical-align: top;
    border-radius: 4px;
    text-transform: uppercase;
    background: #fff !important;
    border: 1px solid #e8b923;
    color: #b8890a !important;
    text-shadow: none !important;
}
body.legacy-chrome .pub-title-row .label-search-result.label-success { border-color: #3db04b; color: #2f9e3f !important; }

/* Strona ogłoszenia: przycisk „Skontaktuj się” jak na liście (niebieski, ikona dymka, wersaliki) */
body.legacy-chrome .ad-contact-btn {
    display: inline-flex;
    width: auto;
    min-width: 176px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: #2f75c0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}
body.legacy-chrome .ad-contact-btn .nd-ad-action-ico { width: 16px; height: 14px; }
body.legacy-chrome .ad-contact-btn:hover,
body.legacy-chrome .ad-contact-btn:focus { background: #2f75c0; color: #fff; filter: brightness(1.08); }

/* Strona ogłoszenia: blok ogłoszeniodawcy — numer telefonu / rozmyty podgląd dla niezalogowanych */
body.legacy-chrome .seller-phone { margin-top: 8px; font-size: 17px; font-weight: 700; color: #222; }
body.legacy-chrome .seller-phone-btn { padding: 0; border: 0; font-size: 17px; font-weight: 700; color: #222; text-decoration: none; text-align: left; }
body.legacy-chrome .seller-phone-btn .phone-info { margin-left: 8px; font-size: 12px; font-weight: 400; color: #2f75c0; text-decoration: underline; }
body.legacy-chrome .seller-phone--locked { filter: blur(5px); user-select: none; pointer-events: none; }
body.legacy-chrome .seller-login-link { display: inline-block; margin-top: 8px; }

/* Blok ogłoszeniodawcy (wariant „baner”): niezalogowani — zachęta; zalogowani — numer + Zadzwoń / Napisz */
body.legacy-chrome .seller-gate { margin-top: 12px; padding: 14px; border: 1px solid #c5dea3; border-radius: 6px; background: #eef6e3; }
body.legacy-chrome .seller-gate-title { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: #4d7f1c; }
body.legacy-chrome .seller-gate p { margin: 0 0 10px; color: #222; }
body.legacy-chrome .seller-actions { display: flex; gap: 8px; margin-top: 10px; }
body.legacy-chrome .seller-gate .seller-actions { margin-top: 0; }
body.legacy-chrome .seller-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
}
body.legacy-chrome .seller-btn--login,
body.legacy-chrome .seller-btn--call { background: #6fa92d; color: #fff !important; }
body.legacy-chrome .seller-btn--write { background: #2f75c0; color: #fff !important; }
body.legacy-chrome .seller-btn--register { border: 2px solid #6fa92d; background: #fff; color: #4d7f1c !important; }
body.legacy-chrome .seller-btn:hover,
body.legacy-chrome .seller-btn:focus { filter: brightness(1.08); }

/* Blok ogłoszeniodawcy — wariant D (tylko zalogowani): jasnozielone tło, zielony pasek z lewej, zaokrąglone przyciski */
body.legacy-chrome.ad-view-page .gray-box.seller-box--auth {
    padding: 16px;
    background: #f1f7ea;
    border: 0;
    border-left: 4px solid #5f9a2e;
    border-radius: 0;
    box-shadow: none;
    color: #27500a;
}
body.legacy-chrome.ad-view-page .gray-box.seller-box--auth > .info-details-label:first-child {
    margin-bottom: 10px !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #3b6d11;
}
body.legacy-chrome .seller-box--auth .seller-phone { margin: 6px 0 12px; font-size: 20px; color: #173404; }
body.legacy-chrome .seller-box--auth .seller-phone-btn { font-size: 20px; color: #173404; }
body.legacy-chrome.ad-view-page .gray-box.seller-box--auth .btn-phone { justify-content: flex-start; height: auto; padding: 0; }
body.legacy-chrome.ad-view-page .gray-box.seller-box--auth .btn-phone .phone-content { font-size: 20px; font-weight: 700; color: #173404; }
body.legacy-chrome.ad-view-page .gray-box.seller-box--auth .btn-phone .phone-info { font-size: 12px; font-weight: 400; color: #27500a; }
body.legacy-chrome .seller-box--auth .seller-actions { margin-top: 0; }
body.legacy-chrome .seller-box--auth .seller-btn { height: 36px; padding: 0 14px; border-radius: 999px; letter-spacing: .05em; }
body.legacy-chrome .seller-box--auth .seller-btn--call { background: #5f9a2e; }
body.legacy-chrome .seller-box--auth .seller-btn--write { background: #2f75c0; }
body.legacy-chrome .seller-box--auth .info-details-links { margin-top: 12px; }
body.legacy-chrome .seller-box--auth .info-details-links br { display: none; }
body.legacy-chrome .gray-box.seller-box--auth a.std-link {
    display: block;
    padding: 0;
    margin-top: 4px;
    border-top: 0;
    font-size: 13px;
    font-weight: 400;
    color: #27500a;
    text-decoration: underline;
}
body.legacy-chrome .gray-box.seller-box--auth a.std-link::after { content: none; }

/* Strona ogłoszenia: ostrzeżenie „Sprawdź wiarygodność kontrahenta…” na czerwono */
body.legacy-chrome.ad-view-page .product_ad h4.text-red { color: #d32f2f; font-size: 18px; font-weight: 700; line-height: 1.4; }

/* Strona ogłoszenia: bez tytułu „Szczegóły” — okruszki po lewej stronie paska */
body.legacy-chrome .nd-pagebar-title { display: none; }
body.legacy-chrome .nd-pagebar-row { justify-content: flex-start; }
body.legacy-chrome .nd-pagebar-aside { padding-top: 0; justify-content: flex-start; }
@media (max-width: 767px) {
    body.legacy-chrome .nd-pagebar-aside { justify-content: flex-start; flex-basis: auto; }
}

/* Strona ogłoszenia: „ID ogłoszenia: 92384” w jednej linii */
body.legacy-chrome .ad-id-line { color: #777; font-size: 13px; }
body.legacy-chrome .ad-id-line .info-details-label,
body.legacy-chrome .ad-id-line .info-details-content { display: inline; margin: 0; color: inherit; font-size: inherit; font-weight: 400; }
body.legacy-chrome .ad-id-line .info-details-content { margin-left: 4px; }

/* --------------------------------------------------------------------------
   Strona główna / lista ogłoszeń — wersja mobilna
   -------------------------------------------------------------------------- */
html, body { max-width: 100%; overflow-x: clip; }
img { max-width: 100%; }

@media (max-width: 767px) {
    .cookie-banner { padding: 12px 0; font-size: 14px; line-height: 1.4; }
    .cookie-banner .container { width: 100%; box-sizing: border-box; }
    .cookie-banner-main { flex-direction: column; align-items: stretch; gap: 12px; }
    .cookie-banner p { min-width: 0; }
    .cookie-banner-actions { flex-direction: column; }
    .cookie-banner .btn { width: 100%; min-width: 0; }

    .nd-blog-teaser { display: block; width: 100%; margin-bottom: 28px; }
    .nd-blog-teaser-img,
    .nd-blog-teaser-body { display: block; width: 100%; min-width: 0; }
    .nd-blog-teaser-img img { height: 180px; }
    .nd-blog-teaser-body { margin-top: 14px; }
    .nd-blog-teaser-body .nd-blog-teaser-title { font-size: 20px; }
}

/* Karta ogłoszenia na telefonie: lewa kolumna (typ, data, zdjęcie, ilość) + prawa (tytuł, opis, miejsce, przyciski) */
@media (min-width: 768px) {
    .nd-ad-action-short { display: none; }
    .nd-ad-labels,
    .nd-ad-price { display: contents; }
}
@media (max-width: 767px) {
    .nd-ad {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "labels title title"
            "date   price price"
            "photo  desc  desc"
            "photo  cnt   cnt"
            "qty    loc   loc"
            ".      det   con";
        column-gap: 8px;
        row-gap: 0;
        align-items: start;
        padding: 12px 6px 14px;
    }
    .nd-ad-main, .nd-ad-top, .nd-ad-meta, .nd-ad-side { display: contents; }
    .nd-ad--promo { padding-left: 12px; }
    .nd-ad-labels { grid-area: labels; display: flex; flex-direction: column; gap: 4px; align-items: stretch; text-align: center; }
    .nd-ad-top .label-search-result { padding: 3px 4px; font-size: 10.5px; }
    .nd-ad-title { grid-area: title; font-size: 18px; align-self: center; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
    .nd-ad-title a { white-space: normal; }
    .nd-ad-price { grid-area: price; display: block; margin: 0; padding: 6px 0 0 0; }
    .nd-ad-price-value { margin-left: 0; margin-right: 6px; }
    .nd-ad-price-note { font-size: 14px; }
    .nd-ad-date { grid-area: date; margin: 6px 0 0; text-align: center; }
    .nd-ad-date > span { display: none; }
    .nd-ad-date, .nd-ad-date * { font-size: 12px; line-height: 16px; }
    .nd-ad-photo { grid-area: photo; width: 96px; height: 72px; max-height: none; margin-top: 8px; }
    .nd-ad-photo > img:first-child { width: 100%; height: 100%; object-fit: cover; }
    .nd-ad-desc {
        grid-area: desc;
        margin-top: 8px;
        font-size: 15px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    .nd-ad-meta > div { display: none; }
    .nd-ad-meta > .nd-ad-meta-qty { display: block; grid-area: qty; align-self: start; padding: 0; margin: 0; text-align: center; }
    .nd-ad-meta > .nd-ad-meta-contact { display: block; grid-area: cnt; flex: none; min-width: 0; padding: 0; margin: 6px 0 0; }
    .nd-ad-meta-contact span { display: none; }
    .nd-ad-meta .nd-ad-meta-contact strong { display: block; margin: 0; min-height: 0; font-size: 13px; line-height: 1.4; overflow: visible; }
    .nd-ad-meta-contact .nd-ad-tel { display: block; font-style: normal; }
    .nd-ad-meta-qty span { font-size: 13px; }
    .nd-ad-meta-qty strong { margin-top: 2px; min-height: 0; font-size: 15px; }
    .nd-ad-loc { grid-area: loc; margin: 6px 0 0; font-size: 13px; min-height: 0; }
    :is(body.search-list-page, body.legacy-chrome) .nd-ad-action {
        display: flex;
        width: auto;
        height: 32px;
        min-height: 0;
        line-height: 32px;
        margin: 0 !important;
        padding: 0 4px;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
    }
    .nd-ad-action-full { display: none; }
    .nd-ad-action--details { grid-area: det; margin-top: 10px !important; }
    .nd-ad-action--contact { grid-area: con; margin-top: 10px !important; }
    :is(body.search-list-page, body.legacy-chrome) .nd-ad-action .glyphicon { margin-right: 6px; }
    :is(body.search-list-page, body.legacy-chrome) .nd-ad-action-ico { margin-right: 6px; }
}

/* Nagłówek mobilny: logo + podpis w jednym pasie, bez wychodzenia poza górę strony */
@media only screen and (max-width: 767px) {
    .main-menu-container > .row > .col-xs-3 { align-items: center; padding-top: 6px; padding-bottom: 6px; }
    .main-menu-container > .row > .col-xs-3 .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 8px;
        padding: 0;
    }
    .main-menu-container .logo-container > a { display: block; line-height: 0; }
    .main-menu-container > .row > .col-xs-3 .logo-container img { height: 44px; width: auto; max-height: 44px; }
    .main-menu-container > .row > .col-xs-3 .logo-container .logo-text {
        margin: 3px 0 0;
        font-size: 11px;
        line-height: 14px;
        white-space: nowrap;
    }
    .main-menu-container .logo-container .logo-text a { display: inline; line-height: 14px; padding: 0; min-height: 0; }
}

/* Strona ogłoszenia na telefonie: blok ogłoszeniodawcy (dane kontaktowe) nad linkiem „Zobacz wszystkie ogłoszenia” */
@media (max-width: 767px) {
    .ad-view-page .nd-ad-view-row { display: flex; flex-direction: column; }
    .ad-view-page .nd-ad-view-row > .col-xs-8,
    .ad-view-page .nd-ad-view-row .nd-ad-more-row { display: contents; }
    .ad-view-page .nd-ad-view-row > .col-xs-8,
    .ad-view-page .nd-ad-view-row > .col-xs-4 { float: none; width: 100%; }
    .ad-view-page .nd-ad-seller-col { order: 1; }
    .ad-view-page .nd-ad-more-link { order: 2; float: none; width: 100%; }
    .ad-view-page .nd-ad-more-row > .col-xs-12:not(.nd-ad-more-link) { order: 3; float: none; width: 100%; }
}
/* display:contents zabiera kolumnie padding 15px — oddajemy go jej dzieciom */
@media (max-width: 767px) {
    .ad-view-page .nd-ad-view-row > .col-xs-8 > * { box-sizing: border-box; padding-left: 15px; padding-right: 15px; }
    .ad-view-page .nd-ad-view-row > .col-xs-8 > .row { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}
@media (max-width: 767px) {
    .ad-view-page .nd-ad-seller-col { margin-top: 24px; }
}

/* Ramka „Chcesz sprzedać lub kupić…” na telefonie: kolumny bez float, żeby ramka obejmowała treść; mniejszy przycisk */
@media (max-width: 767px) {
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info { padding: 18px 16px; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-8,
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-4 { float: none; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-8 { gap: 14px; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .btn-primary {
        width: 240px;
        height: 38px;
        line-height: 26px;
        margin: 0 auto;
        font-size: 14px;
    }
}
@media (max-width: 767px) {
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info { padding: 18px 16px 12px; margin-bottom: 16px; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-4 { margin-top: 12px; padding-bottom: 0; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .btn-primary {
        width: auto;
        min-width: 240px;
        padding: 0 18px;
        font-size: 13px;
        white-space: nowrap;
        margin-bottom: 0;
    }
}
/* rwd.css daje .add-ad-info padding-top 80px !important (miejsce na tło-ikonę, którego tu nie ma) */
@media (max-width: 767px) {
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info { padding: 14px 16px 12px !important; background-image: none !important; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .btn-primary {
        display: table;
        width: auto;
        min-width: 0;
        height: 34px;
        line-height: 22px;
        padding: 0 16px;
        margin: 0 auto;
        font-size: 13px;
    }
}
@media (max-width: 767px) {
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .add-ad-info-ico { display: none; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-8 { display: block; text-align: center; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .col-xs-4 { display: flex; justify-content: center; }
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .btn-primary { margin: 0; }
}
@media (max-width: 767px) {
    :is(body.search-list-page, body.legacy-chrome) .add-ad-info .btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        line-height: 1;
        padding: 0 16px;
    }
}

/* „Najnowsze ogłoszenia” na stronie ogłoszenia: odstęp od ramki powyżej i od linii poniżej (napis nachodził na linię) */
body.ad-view-page .add-ad-info { margin-bottom: 32px; }
body.ad-view-page .blog-heading { margin: 8px 0 22px; line-height: 1.3; }

/* Teksty SEO pod zielonym pasem: rwd.css ucinał każdy akapit do 65px (rozwijanie przez .showText nie istnieje) */
@media (max-width: 767px) {
    .page-bottom + .container p { max-height: none; overflow: visible; }
}

/* Górny pasek: kreska między każdym elementem (też na krawędziach list Kontakt/Blog i Zaloguj/Zarejestruj) */
.page-top .navbar-nav > li:first-child > a { border-left: solid 1px #83bb27; }
.page-top .navbar-nav > li:last-child > a { border-right: solid 1px #6f9f21; padding-right: 20px; }

/* Lista ogłoszeń: przycisk „Pokaż filtry” pod kafelkami kategorii + panel filtrów */
body.search-list-page .nd-filters-bar { float: right; position: relative; z-index: 1; margin: 8px 0 8px 12px; }
body.search-list-page .nd-filters-panel { clear: both; }
body.search-list-page .nd-list-intro::after { content: ""; display: table; clear: both; }
body.search-list-page .nd-list-intro > .nd-cat-seo--inline { padding-top: 8px; }
body.search-list-page .nd-filters-toggle { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid #c9c9c9; border-radius: 999px; background: #fff; color: #222; font-size: 13px; font-weight: 700; cursor: pointer; }
body.search-list-page .nd-filters-toggle:hover, body.search-list-page .nd-filters-toggle[aria-expanded="true"] { border-color: #5f9a2e; color: #3b6d11; }
body.search-list-page .nd-filters-panel { margin: 12px 0 4px; padding: 16px; background: #f2f2f2; border-radius: 8px; }
body.search-list-page .nd-filters-panel[hidden] { display: none; }
body.search-list-page .nd-filters-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
body.search-list-page .nd-filters-grid label { display: block; margin: 0; }
body.search-list-page .nd-filters-grid label > span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 400; color: #6a6a6a; }
body.search-list-page .nd-filters-grid select, body.search-list-page .nd-filters-grid input { width: 100%; height: 38px; padding: 0 10px; border: 1px solid #ddd; border-radius: 4px; background: #fff; font-size: 14px; color: #222; }
body.search-list-page .nd-filters-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 14px; }
body.search-list-page .nd-filters-check { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 400; }
body.search-list-page .nd-filters-submit { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 30px; border: 0; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); background: linear-gradient(#f4494d, #e5282d); color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
@media (max-width: 767px) {
    body.search-list-page .nd-filters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.search-list-page .nd-filters-submit { width: 100%; margin-left: 0; }
}
body.search-list-page .nd-filters-type { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-bottom: 14px; }
body.search-list-page .nd-filters-type-q { margin-right: 6px; font-size: 14px; color: #222; }
body.search-list-page .nd-radio { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 400; cursor: pointer; }
body.search-list-page .nd-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
body.search-list-page .nd-radio i { position: relative; width: 22px; height: 22px; border: 1px solid #ccc; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
body.search-list-page .nd-radio input:checked + i::after { content: ""; position: absolute; top: 5px; left: 5px; width: 10px; height: 10px; border-radius: 50%; background: #5f9a2e; }
body.search-list-page .nd-radio input:focus-visible + i { outline: 2px solid #2f75c0; outline-offset: 2px; }
body.search-list-page .nd-radio--all { color: #2f75c0; }
body.search-list-page .nd-radio--sell { color: #d4a017; }
body.search-list-page .nd-radio--buy { color: #5f9a2e; }
body.search-list-page .nd-filters-pair { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.search-list-page .nd-filters-more { font-size: 13px; color: #6a6a6a; }
body.search-list-page .nd-filters-more a { color: #2f75c0; text-decoration: underline; }
/* Panel filtrów dla niezalogowanych: wszystko w jednym rzędzie (wariant A) */
body.search-list-page .nd-filters-panel--guest:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
body.search-list-page .nd-filters-panel--guest .nd-filters-type { margin: 0; }
body.search-list-page .nd-filters-panel--guest .nd-filters-grid { display: block; margin-left: auto; }
body.search-list-page .nd-filters-panel--guest .nd-filters-grid label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.search-list-page .nd-filters-panel--guest .nd-filters-grid select { width: 200px; }
body.search-list-page .nd-filters-panel--guest .nd-filters-foot { display: contents; }
body.search-list-page .nd-filters-panel--guest .nd-filters-submit { margin-left: 0; }
body.search-list-page .nd-filters-panel--guest .nd-filters-more { order: 5; flex-basis: 100%; display: flex; align-items: center; gap: 6px; }
@media (max-width: 767px) {
    body.search-list-page .nd-filters-panel--guest .nd-filters-grid { margin-left: 0; flex: 1 1 100%; }
    body.search-list-page .nd-filters-panel--guest .nd-filters-grid select { width: 100%; }
    body.search-list-page .nd-filters-panel--guest .nd-filters-submit { flex: 1 1 100%; }
}
body.search-list-page .nd-filters-bar[hidden] { display: none; }
body.search-list-page .nd-filters-panel { position: relative; }
body.search-list-page .nd-filters-close { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; padding: 0; border: 1px solid #ccc; border-radius: 50%; background: #fff; color: #555; font-size: 16px; line-height: 1; cursor: pointer; }
body.search-list-page .nd-filters-close:hover { border-color: #5f9a2e; color: #3b6d11; }
body.search-list-page .nd-filters-panel { padding-right: 44px; }
@media (max-width: 767px) {
    body.search-list-page .nd-filters-close { top: 6px; right: 6px; width: 40px; height: 40px; font-size: 22px; }
    body.search-list-page .nd-filters-panel { padding: 16px 16px 16px; }
    body.search-list-page .nd-filters-panel > .nd-filters-type { padding-right: 44px; }
}

/* Komunikator (/chat): układ jak w starym serwisie — lista rozmów po lewej, okno rozmowy po prawej */
.chat-page .chat-app { padding-top: 20px; padding-bottom: 40px; font-family: 'Lato', Arial, sans-serif; }
.chat-app-grid { display: flex; gap: 30px; align-items: flex-start; }
.chat-side { flex: 0 0 360px; max-width: 360px; }
.chat-main { flex: 1 1 auto; min-width: 0; border: 1px solid #c9c9c9; background: #fff; min-height: 520px; display: flex; flex-direction: column; }
.chat-tabs { display: flex; }
.chat-tab { padding: 12px 40px; border: 1px solid #c9c9c9; border-bottom: 0; background: #fff; font-size: 16px; color: #333; }
.chat-list { list-style: none; margin: 0; padding: 0; border: 1px solid #c9c9c9; max-height: 470px; overflow-y: auto; background: #fff; }
.chat-list-item a { display: flex; align-items: center; gap: 12px; padding: 16px 12px; color: #222; text-decoration: none; border-bottom: 1px solid #eee; }
.chat-list-item a:hover { background: #f4f8fb; }
.chat-list-item.is-active a { background: #e6f0f8; }
.chat-list-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-list-name { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-list-sub { font-size: 12px; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-list-date { font-size: 12px; color: #888; }
.chat-list-empty { padding: 20px 12px; color: #777; }
.chat-unread { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #6dab2f; color: #fff; font-size: 12px; text-align: center; }
.chat-search { margin-top: 16px; }
.chat-search input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #ccc; font-size: 14px; }
.chat-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #e4e4e4 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 36 36%27%3E%3Ccircle cx=%2718%27 cy=%2714%27 r=%277%27 fill=%27%23b5b5b5%27/%3E%3Cpath d=%27M4 36c0-8 6-13 14-13s14 5 14 13z%27 fill=%27%23b5b5b5%27/%3E%3C/svg%3E") center/cover; }
.chat-avatar-lg { width: 44px; height: 44px; }
.chat-avatar-sm { width: 18px; height: 18px; align-self: flex-start; margin: 0 0 0 6px; }
.chat-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #e6f0f8; border-bottom: 1px solid #c9c9c9; }
.chat-head-text { flex: 1; min-width: 0; }
.chat-head-name { font-size: 20px; color: #222; }
.chat-head-sub { font-size: 13px; color: #666; }
.chat-btn { display: inline-block; padding: 9px 18px; background: #2a6db5; color: #fff; border: 0; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); cursor: pointer; }
.chat-btn:hover, .chat-btn:focus { color: #fff; filter: brightness(1.1); text-decoration: none; }
.chat-messages { flex: 1; min-height: 300px; max-height: 55vh; overflow-y: auto; padding: 20px; }
.chat-msg { margin-bottom: 16px; }
.chat-msg-meta { font-size: 10px; color: #444; text-align: left; margin-bottom: 2px; }
.chat-msg-row { display: flex; align-items: flex-start; }
.chat-bubble { max-width: 70%; padding: 14px 18px; background: #f1f1f1; font-size: 14px; line-height: 1.7; color: #222; }
.chat-msg.is-mine .chat-msg-meta { text-align: right; }
.chat-msg.is-mine .chat-msg-row { justify-content: flex-end; }
.chat-msg.is-mine .chat-bubble { background: #c9ddf2; }
.chat-msg:not(.is-mine) .chat-avatar-sm { display: none; }
.chat-empty, .chat-placeholder { color: #777; padding: 20px; }
.chat-form { display: flex; gap: 12px; margin: 0 20px; padding-top: 18px; border-top: 2px solid #bbb; }
.chat-form input[type=text] { flex: 1; height: 42px; padding: 0 16px; border: 1px solid #ccc; font-size: 14px; }
.chat-send { height: 42px; padding: 0 30px; }
.chat-hint { margin: 8px 20px 0; font-size: 12px; color: #888; }
.chat-foot { margin-top: 20px; height: 50px; background: #e6f0f8; border-top: 1px solid #c9c9c9; }
@media (max-width: 767px) {
    .chat-app-grid { flex-direction: column; gap: 20px; }
    .chat-side { flex: none; max-width: none; width: 100%; }
    .chat-list { max-height: 260px; }
    .chat-bubble { max-width: 90%; }
}

/* Komunikator: zielony przycisk „Szukaj w rozmowach” i pole „Szukaj w kontaktach” pod listą rozmów */
.chat-search-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 16px; height: 44px; border: 0; border-radius: 6px; background: #6dab2f; color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); cursor: pointer; }
.chat-search-toggle:hover { filter: brightness(1.07); }
.chat-search[hidden] { display: none; }
.chat-contacts-search { display: flex; margin-top: 22px; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); border-radius: 0 6px 6px 0; }
.chat-contacts-search input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border: 1px solid #ccc; border-right: 0; font-size: 13px; }
.chat-contacts-search button { flex: none; width: 116px; height: 40px; border: 0; border-radius: 0 6px 6px 0; background: #6dab2f; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }

/* Komunikator: wiersz rozmowy z ikoną „nowa rozmowa”, pasek z datą i koszem dla aktywnej rozmowy, wyniki wyszukiwania użytkowników */
.chat-list-item a { border-bottom: 0; }
.chat-list-item { border-bottom: 1px solid #eee; }
.chat-list-row { display: flex; align-items: center; }
.chat-list-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px 8px 16px 12px; color: #222; text-decoration: none; }
.chat-list-link:hover { text-decoration: none; }
.chat-list-new { flex: none; padding: 8px 14px; line-height: 0; }
.chat-list-new:hover { background: transparent !important; filter: brightness(1.2); }
.chat-list-item.is-active, .chat-list-item.is-active .chat-list-row { background: #e6f0f8; }
.chat-list-detail { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #bdd5ea; font-size: 12px; color: #555; }
.chat-list-detail form { margin: 0; }
.chat-list-delete { border: 0; background: transparent; padding: 2px 4px; cursor: pointer; line-height: 0; }
.chat-contacts-results { list-style: none; margin: 4px 0 0; padding: 0; border: 1px solid #ccc; background: #fff; }
.chat-contacts-results[hidden] { display: none; }
.chat-contacts-results a { display: block; padding: 10px 14px; color: #222; font-size: 14px; border-bottom: 1px solid #eee; text-decoration: none; }
.chat-contacts-results a:hover { background: #f4f8fb; }

/* Komunikator: pogrubione napisy na przyciskach (Lato 900) */
.chat-btn, .chat-send, .chat-search-toggle, .chat-contacts-search button { font-family: 'Lato', Arial, sans-serif; font-weight: 900; letter-spacing: .2px; }

/* Komunikator mobile: wyszukiwanie w rozmowach i kontaktach schowane (mało ważne) */
@media (max-width: 767px) {
    .chat-search-toggle, .chat-search, .chat-contacts-search, .chat-contacts-results { display: none !important; }
}

/* Menu główne: pogrubiony napis na czerwonym przycisku „Dodaj ogłoszenie” */
.main-menu-container .main-menu-nav-container .navbar-nav > li.new_pub_link > a, .mobile-add-btn .btn-orange { font-family: 'Lato', Arial, sans-serif; font-weight: 900; }
.main-menu-container > .row > .col-xs-3 .mobile-add-btn ul a.btn-orange { font-weight: 900; }

/* Przyciski „Szczegóły ogłoszenia” / „Skontaktuj się” (lista, strona ogłoszenia): pogrubione napisy (Lato 900) */
.nd-ad-action, .ad-contact-btn, .seller-btn, .nd-contact-chat { font-family: 'Lato', Arial, sans-serif; font-weight: 900; }
body.legacy-chrome .seller-btn, body.legacy-chrome .seller-box--auth .seller-btn { font-weight: 900; }

/* Rejestracja: pogrubiony przycisk „Załóż konto”; strzałka zgody zawsze w tej samej linii co ostatnie słowo (word-joiner w szablonie) */
.nd-auth .nd-auth-submit { font-weight: 900 !important; }
.nd-auth-check > span { overflow-wrap: break-word; }
.consent-lastword { white-space: nowrap; }
.nd-auth .nd-auth-consent-toggle, .add-ad-form .checkbox .add-ad-consent-toggle { margin-left: 2px; }

.chat-pager { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; padding: 10px 0; font-size: 13px; }
.chat-pager a, .chat-pager strong { min-width: 28px; padding: 4px 8px; border: 1px solid #c9c9c9; border-radius: 3px; text-align: center; text-decoration: none; color: #222; box-sizing: border-box; background: #fff; }
.chat-pager strong { background: #2a6db5; border-color: #2a6db5; color: #fff; }
.chat-pager { flex-wrap: nowrap; gap: 3px; }
.chat-pager a, .chat-pager strong { min-width: 26px; padding: 4px 6px; }
.chat-pager-gap { padding: 4px 2px; color: #777; }

/* Moje konto */
.nd-account-btn{font-weight:700}
.nd-account-menu .dropdown-menu{min-width:190px}
.nd-acc-back{margin:20px 0 14px;font-size:13px}
.nd-acc-back a{color:#5a9f3a;font-weight:700;text-decoration:underline}
.nd-acc{display:flex;gap:30px;align-items:flex-start;margin-bottom:40px}
.nd-acc-nav{flex:0 0 260px;border:1px solid #ddd;background:#fff}
.nd-acc-nav a{display:block;padding:18px 15px;border-top:1px solid #ddd;color:#333}
.nd-acc-nav a:first-child{border-top:0}
.nd-acc-nav a.is-active{background:#e1e1e1;font-weight:700}
.nd-acc-body{flex:1;min-width:0}
.nd-acc-card{background:#fff;border:1px solid #bbb;padding:30px;max-width:900px}
.nd-acc-form{max-width:600px;margin:0 auto}
.nd-acc-tabs{list-style:none;margin:0;padding:0;display:flex;gap:2px}
.nd-acc-tabs a{display:block;padding:10px 16px;background:#e8e8e8;border:1px solid #ccc;border-bottom:0;border-radius:4px 4px 0 0;color:#444;font-size:13px}
.nd-acc-tabs .is-active a{background:#fff;font-weight:700}
.nd-acc-empty{text-align:center;padding:30px 0}
.nd-acc-profile{position:relative;padding:0}
.nd-acc-edit{position:absolute;top:12px;right:12px}
.nd-acc-profile-head{background:#e9e9e9;text-align:center;padding:30px}
.nd-acc-avatar{display:block;width:160px;height:160px;border-radius:50%;background:#c4c4c4;margin:0 auto 20px;object-fit:cover}
.nd-acc-profile-cols{display:flex;gap:40px;padding:30px}
.nd-acc-profile-cols>div{flex:1}
@media(max-width:768px){.nd-acc{flex-direction:column}.nd-acc-nav{flex:none;width:100%}.nd-acc-profile-cols{flex-direction:column;gap:10px}}

.main-menu-container .main-menu-nav-container .navbar-nav > li.nd-account-menu > a{font-weight:700}
.main-menu-container .main-menu-nav-container .navbar-nav > li.nd-account-menu.active > a{background:#7eb425;color:#fff!important}
.main-menu-container .main-menu-nav-container .navbar-nav > li.nd-account-menu.open > a,.main-menu-container .main-menu-nav-container .navbar-nav > li.nd-account-menu > a:hover{background:#7eb425}
.main-menu-container .nd-account-menu .dropdown-menu{display:none;position:absolute;left:0;right:auto;background:#fff;border:1px solid #ddd;border-radius:4px;padding:6px 0}
.main-menu-container .nd-account-menu.open .dropdown-menu{display:block}
.main-menu-container .nd-account-menu .dropdown-menu a{display:block;padding:8px 16px;color:#333!important;background:none!important;box-shadow:none!important;font-weight:400}
.main-menu-container .nd-account-menu .dropdown-menu a:hover{background:#f3f3f3!important}
.nd-chat-badge{display:inline-block;min-width:20px;padding:0 6px;margin-left:4px;border-radius:10px;background:#6fa82f;color:#fff;font-size:11px;font-weight:700;line-height:20px;text-align:center;vertical-align:super}

.nd-acc-ads{padding:0}
.nd-acc-info{text-align:center;font-size:13px;padding:25px 20px;border-bottom:1px solid #ddd}
.nd-acc-info p{margin:0 0 16px}
.nd-acc-ad{padding:20px 30px;border-bottom:1px solid #e5e5e5}
.nd-acc-ad-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.nd-acc-ad-title{font-size:18px;font-weight:700;color:#222}
.nd-acc-ad-date{margin-left:auto;color:#777;font-size:14px}
.nd-acc-ad-date b{color:#222;font-weight:400}
.nd-acc-ad-cols{display:flex;gap:40px;align-items:flex-end;margin:12px 0 0 90px}
.nd-acc-ad-cols span{display:block;color:#777;font-size:13px}
.nd-acc-ad-cols b{display:block;min-height:20px}
.nd-acc-ad-cols form{margin-left:auto}
.nd-acc-ad-desc{margin:8px 0 0;font-size:13px}

.nd-acc-btn{display:inline-flex!important;width:auto!important;min-width:120px;margin:0 0 0 8px!important;padding:0 18px!important;cursor:pointer;vertical-align:middle}
.nd-acc-btn--lg{height:44px!important;font-size:15px!important;margin:10px auto 0!important;padding:0 28px!important;border-radius:6px}
.nd-acc-ad-cols form{margin-left:auto}
.nd-acc-ad-cols .nd-acc-btn{margin:0!important}

.nd-acc-ad-actions{margin-left:auto;display:grid;grid-template-columns:auto auto;gap:12px 14px;justify-items:end}
.nd-acc-ad-actions form{margin:0}
.nd-acc-abtn{display:inline-block;min-width:78px;padding:0 14px;height:28px;line-height:28px;border:1px solid transparent;border-radius:5px;color:#fff!important;font-size:12px;font-weight:700;text-align:center;text-decoration:none!important;cursor:pointer;box-shadow:0 2px 3px rgba(0,0,0,.2)}
.nd-acc-abtn--refresh{background:#4aa84e}
.nd-acc-abtn--edit{background:#f5b062;border-color:#e89a3c}
.nd-acc-abtn--copy{background:#6fa92d}
.nd-acc-abtn--del{background:#ed2c27}
.nd-acc-abtn:hover{filter:brightness(1.08)}

.nd-chat-badge{vertical-align:middle!important;position:relative;top:-1px}

.nd-acc-abtn{user-select:none;-webkit-user-select:none}

/* Komunikat sukcesu w kolorze zielonych przycisków (jak „Dodaj ogłoszenie”) */
main .alert.alert-success, .alert.alert-success {
    background: #6aa82c !important;
    border-color: #6aa82c !important;
    color: #fff !important;
    border-radius: 8px !important;
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
}

/* Moje konto — widok mobilny */
@media (max-width: 768px) {
    .nd-acc { gap: 16px; min-width: 0; }
    .nd-acc-body, .nd-acc-card { min-width: 0; max-width: 100%; }
    .nd-acc-card { padding: 16px; }
    .nd-acc-ads { padding: 0; }
    .nd-acc-tabs { flex-wrap: wrap; gap: 4px; }
    .nd-acc-tabs a { padding: 8px 10px; font-size: 12px; border: 1px solid #ccc; border-radius: 4px; }
    .nd-acc-info { padding: 16px 12px; }
    .nd-acc-info p { overflow-wrap: anywhere; }
    .nd-acc-ad { padding: 16px 12px; }
    .nd-acc-ad-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .nd-acc-ad-title { font-size: 17px; overflow-wrap: anywhere; }
    .nd-acc-ad-date { margin-left: 0; }
    .nd-acc-ad-cols { flex-direction: column; align-items: stretch; gap: 10px; margin: 12px 0 0; }
    .nd-acc-ad-cols > div:not(.nd-acc-ad-actions) { display: flex; gap: 8px; }
    .nd-acc-ad-cols > div:not(.nd-acc-ad-actions) span { flex: 0 0 120px; }
    .nd-acc-ad-actions { margin-left: 0; width: 100%; grid-template-columns: 1fr 1fr; justify-items: stretch; }
    .nd-acc-abtn { display: block; min-width: 0; }
    .nd-acc-btn { margin-left: 0 !important; }
    .nd-acc-profile-head, .nd-acc-profile-cols { padding: 20px 16px; }
}

/* Moje konto — karta profilu jak na starej stronie */
.nd-acc-profile{overflow:hidden}
.nd-acc-profile .nd-acc-edit{position:absolute;top:12px;right:12px;left:auto;z-index:2;min-width:0;height:26px;line-height:26px;padding:0 12px}
.nd-acc-profile-head{background:#e9e9e9;padding:36px 20px 28px}
.nd-acc-profile-head h2{margin:0;font-family:'Lato',Arial,sans-serif;font-size:26px;font-weight:400;color:#2c3032;overflow-wrap:anywhere}
.nd-acc-avatar{width:168px;height:168px;background:#fff;overflow:hidden;margin-bottom:22px}
.nd-acc-avatar svg{display:block}
.nd-acc-profile-cols{padding:32px 40px 36px;gap:60px}
.nd-acc-label{margin:0 0 14px;font-family:'Lato',Arial,sans-serif;font-size:14px;font-weight:400;color:#777}
.nd-acc-val{margin:0 0 4px;font-size:14px;color:#2c3032;overflow-wrap:anywhere}
@media(max-width:768px){.nd-acc-avatar{width:130px;height:130px}.nd-acc-profile-head h2{font-size:20px}.nd-acc-profile-cols{padding:20px 16px}}

/* Karta profilu — węższa i proporcjonalna */
.nd-acc-profile{max-width:560px}
.nd-acc-profile-head{padding:28px 20px 22px}
.nd-acc-avatar{width:116px;height:116px;margin-bottom:16px}
.nd-acc-profile-head h2{font-size:22px}
.nd-acc-profile-cols{padding:24px 32px 28px;gap:32px}
@media(max-width:768px){.nd-acc-profile{max-width:100%}.nd-acc-avatar{width:100px;height:100px}.nd-acc-profile-head h2{font-size:18px}.nd-acc-profile-cols{padding:18px 16px;gap:8px}}

/* Edytuj dane — formularz jak na starej stronie */
.nd-acc-edit-card{max-width:720px;padding:30px 36px 34px}
.nd-acc-form--wide{max-width:none;margin:0}
.nd-acc-row{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
.nd-acc-field{margin-bottom:20px;min-width:0}
.nd-acc-field label{display:block;margin-bottom:7px;font-size:13px;font-weight:700;color:#2c3032}
.nd-acc-field .req{color:#e0302b}
.nd-acc-input{display:block;width:100%;height:40px;padding:0 12px;border:1px solid #cfcfcf;border-radius:2px;background:#ebebeb;font-size:14px;color:#2c3032;box-shadow:0 1px 3px rgba(0,0,0,.18);outline:0}
select.nd-acc-input{background:#fff}
.nd-acc-input:focus{border-color:#6aa82c;box-shadow:0 0 0 2px rgba(106,168,44,.25)}
.nd-acc-input:disabled{background:#f3f3f3;color:#888;box-shadow:none}
.nd-acc-phone{display:grid;grid-template-columns:130px 1fr;gap:6px}
.nd-acc-section{display:flex;align-items:center;gap:12px;margin:8px 0 22px;font-size:12px;color:#777}
.nd-acc-section::after{content:'';flex:1;border-top:1px solid #e3e3e3}
.nd-acc-foot{margin-top:10px;padding-top:24px;border-top:1px solid #e3e3e3;text-align:center}
.nd-acc-save{min-width:130px;height:42px;padding:0 28px;border:0;border-radius:6px;background:#f72c26;color:#fff;font-size:14px;font-weight:900;box-shadow:0 2px 5px rgba(0,0,0,.25);cursor:pointer}
.nd-acc-save:hover{filter:brightness(1.08)}
@media(max-width:768px){.nd-acc-edit-card{padding:20px 16px}.nd-acc-row{grid-template-columns:1fr}.nd-acc-phone{grid-template-columns:110px 1fr}}

/* Edytuj dane — pole kraju (podpowiedzi) wygląda jak pozostałe pola formularza */
.nd-acc-edit-card .country-combo-input {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 34px 0 12px;
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    background: #ebebeb url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 8%27%3E%3Cpath d=%27M1 1l5 5 5-5%27 fill=%27none%27 stroke=%27%23777%27 stroke-width=%271.6%27/%3E%3C/svg%3E") right 12px center / 11px no-repeat;
    font-size: 14px;
    color: #2c3032;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
    outline: 0;
}
.nd-acc-edit-card .country-combo-input:focus {
    border-color: #6aa82c;
    box-shadow: 0 0 0 2px rgba(106, 168, 44, .25);
}

/* Czerwony przycisk zapisu — czcionka jak „Dodaj ogłoszenie” */
.nd-acc-save {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: uppercase;
}
.nd-acc-field label { font-family: 'Lato', Arial, sans-serif; }

/* Menu „Moje konto” w nagłówku — gęstsze pozycje */
.main-menu-container .main-menu-nav-container .navbar-nav > li.nd-account-menu > .dropdown-menu > li { margin: 0; padding: 0; height: auto; }
.main-menu-container .main-menu-nav-container .navbar-nav > li.nd-account-menu > .dropdown-menu > li > a {
    padding: 5px 16px;
    margin: 0;
    height: auto;
    min-height: 0;
    line-height: 1.35;
}

/* „Dodaj ogłoszenie” w pustej liście ogłoszeń — identyczny jak przycisk w nagłówku */
.nd-acc-empty .nd-acc-btn,
.nd-acc-empty .nd-acc-btn:focus {
    background: #ed3323 !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #fff !important;
    height: 32px !important;
    padding: 0 15px !important;
    min-width: 0 !important;
    font-family: 'Lato', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 32px !important;
    text-transform: uppercase;
    box-shadow: 0 2px 5px #dfdfdf !important;
    outline: none;
}
.nd-acc-empty .nd-acc-btn:hover { background: #7eb425 !important; }

/* Komunikat błędu w formularzu dodawania — kolor jak przycisk „Dodaj ogłoszenie” */
.alert.nd-ad-form-error {
    background-color: #ed3323;
    border-color: #ed3323;
    color: #fff;
    font-size: 135%;
}
.alert.nd-ad-form-error a.nd-ad-form-error-link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

/* Komunikaty nad kartą logowania/rejestracji: wyśrodkowane w szerokości karty */
main:has(> .nd-auth) > .alert {
    display: block;
    max-width: 520px;
    margin: 0 auto 16px;
    text-align: center;
}

/* Edytuj dane: zdjęcie, wybór Firma/Rolnik, sekcje */
.nd-acc-top{display:flex;gap:30px;align-items:flex-start;margin-bottom:18px}
.nd-acc-top-names{flex:1;min-width:0}
.nd-acc-photo{flex:0 0 130px;width:130px;height:130px;border:1px solid #ccc;border-radius:6px;background:#f5f5f5;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;margin:18px 0 0;position:relative}
.nd-acc-photo img{width:100%;height:100%;object-fit:cover}
.nd-acc-photo img[hidden]{display:none}
.nd-acc-photo-plus{display:flex;flex-direction:column;align-items:center;color:#aaa;font-size:11px;font-weight:700;letter-spacing:.5px}
.nd-acc-photo-plus i{font-style:normal;font-size:34px;line-height:1;font-weight:400}
.nd-acc-type{display:flex;justify-content:center;gap:40px;margin:10px 0 6px}
.nd-acc-type label{display:flex;align-items:center;gap:8px;font-weight:400;cursor:pointer;margin:0}
.nd-acc-type-hint{text-align:center;font-size:11px;color:#666;margin:0 0 18px}
.nd-acc-type-hint u{font-weight:700}
.nd-acc-section span[hidden],[data-for][hidden]{display:none!important}
@media(max-width:600px){.nd-acc-top{flex-direction:column;align-items:stretch}.nd-acc-photo{margin:0 auto}}

/* Baner informacyjny w kolorze niebieskiego przycisku „Skontaktuj się” */
main .alert.nd-acc-notice, .alert.nd-acc-notice {
    background: #2f75c0 !important;
    border-color: #2f75c0 !important;
    color: #fff !important;
    border-radius: 8px !important;
}

/* Edytuj dane: ukryty natywny input pliku, napis na zdjęciu wyśrodkowany */
.nd-acc-photo input[type=file]{display:none!important}
.nd-acc-photo-plus{text-align:center;width:100%}
.nd-acc-input[readonly]{background:#ececec;color:#555;cursor:not-allowed}

/* Baner informacyjny: szerokość tekstu, wyśrodkowany, pogrubiony */
main .alert.nd-acc-notice, .alert.nd-acc-notice {
    display: table;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-weight: 700;
}
.nd-acc-note{font-weight:400;color:#777;font-size:12px}

/* Komunikaty błędów w kolorze czerwonego przycisku „Dodaj ogłoszenie” */
main .alert.alert-danger, .alert.alert-danger {
    background: #ed3323 !important;
    border-color: #ed3323 !important;
    color: #fff !important;
    border-radius: 8px !important;
}
main .alert.alert-danger, .alert.alert-danger {
    display: table;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 18px;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
}

/* Baner informacyjny i błędu: identyczny rozmiar */
main .alert.nd-acc-notice, .alert.nd-acc-notice,
main .alert.alert-danger, .alert.alert-danger {
    padding: 8px 18px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 16px;
}
.nd-acc-input.is-invalid{border-color:#ed3323;box-shadow:0 0 0 1px #ed3323}

/* Baner informacyjny i błędu: rozmiar zmniejszony o 1/3 */
main .alert.nd-acc-notice, .alert.nd-acc-notice,
main .alert.alert-danger, .alert.alert-danger {
    padding: 5px 12px;
    font-size: 11.5px;
    margin-bottom: 11px;
}

/* Baner informacyjny i błędu: minimalnie większy */
main .alert.nd-acc-notice, .alert.nd-acc-notice,
main .alert.alert-danger, .alert.alert-danger {
    padding: 6px 14px;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Komunikat sukcesu: wyśrodkowany w poziomie, szerokość tekstu, rozmiar jak pozostałe komunikaty */
main .alert.alert-success, .alert.alert-success {
    display: table;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Lightbox zdjęcia na stronie ogłoszenia */
body.nd-lightbox-open { overflow: hidden; }
.nd-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .85); padding: 24px; }
.nd-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-out; background: #fff; }
.nd-lightbox-btn { position: absolute; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 36px; line-height: 1; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.nd-lightbox-btn:hover, .nd-lightbox-btn:focus { background: rgba(255, 255, 255, .3); }
.nd-lightbox-close { top: 16px; right: 16px; }
.nd-lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.nd-lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Ogłoszenie archiwalne: formularz „Zapytaj o kontakt” */
.archive-inquiry .archive-inquiry-status { font-weight: 700; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #ddd; }
.archive-inquiry .archive-inquiry-title { color: #777; margin-bottom: 14px; }
.archive-inquiry p { line-height: 1.9; margin-bottom: 18px; }
.archive-inquiry label { font-weight: 700; }
/* „Wyślij wiadomość” jak „Skontaktuj się” (niebieska pigułka z dymkiem), na całą szerokość formularza */
body.legacy-chrome .archive-inquiry button.seller-btn { width: 100%; border: 0; cursor: pointer; }

