.description p {
    line-height: 1.6;
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
}
.section {
    position: relative;
    padding-top: 0px;
    padding-bottom: 60px;
}
.section-sm {
    position: relative;
    padding-top: 30px;
    padding-bottom: 30px;
}
html {
    scroll-padding-top: 59px;
}
.row > * {
    position: relative;
}
@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}
.bg-gradient {
    background: #183862;
}
.text-right {
    text-align: right;
}
.text-red {
    color: #dc3545 !important;
}
.bg-red {
    background-color: #dc3545 !important;
}
.text-blue {
    color: #183862 !important;
}
.text-blue-alt {
    color: #0069b4;
}
.text-reset {
    text-transform: none !important;
}
.w-30 {
    width: 30%;
}
.w-40 {
    width: 40%;
}
.w-50 {
    width: 50%;
}
.w-60 {
    width: 60%;
}
.w-70 {
    width: 70%;
}
.table-program td, tr {
    padding: 5px;
    margin: 0;
}
hr {
    margin: 15px 0 !important;
    opacity: 0.2;
}
.hr-property-card {
    padding: 0 !important;
    color: #ddd !important;
    border-top: 1px solid #ddd !important;
    opacity: 1;
    margin: 0 !important;
}
.hr-filter {
    padding: 0 !important;
    color: #ddd !important;
    border-top: 1px solid #ddd !important;
    opacity: 1;
    /* margin: 13px 0px!important; */
}
.custom-form {
    box-shadow: 0 10px 35px 0 rgba(152, 166, 173, 0.1);
    border-radius: 8px;
}
.custom-form .form-group {
    margin-bottom: 1.5rem;
}
.custom-form .form-group .form-control {
    height: 43px;
}
.custom-form .form-group textarea.form-control {
    height: auto;
}
.error {
    margin: 8px 0px;
    color: #dc3545;
}
#ajaxsuccess {
    font-size: 16px;
    width: 100%;
    display: none;
    clear: both;
    margin: 8px 0px;
}
.error_message {
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    color: #806027;
    background-color: #fdf1db;
    border-color: #fdebcd;
    border-radius: 5px;
    font-size: 14px;
}
.contact-loader {
    display: none;
}
@media (min-width: 200px) and (max-width: 1199px) {
    .container-fluid {
        max-width: 95%;
    }
}
@media (min-width: 1200px) {
    .container-fluid {
        max-width: 85%;
    }
}
@media (min-width: 1600px) {
    .container-fluid {
        max-width: 70%;
    }
}
@media (min-width: 200px) and (max-width: 768px) {
    .section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .section-title {
        margin-bottom: 0.75rem;
    }
    
    .filter-container {
        top: 20px;
    }
    
    #map {
        height: 375px !important;
    }
    
    .property-title-wrapper {
        margin: 3rem 0rem 3rem 0rem !important;
    }
    
    li.list-group-item:last-child {
        padding-bottom: 20px !important;
    }
    
    .negative {
        margin-top: -30px !important;
        padding: 0 15px !important;
    }
    
    .filter-container {
        width: auto !important;
    }
}
@media (max-width: 425px) {
    .pull-none {
        float: none !important;
        text-align: center;
    }
    
    .fullscreen {
        height: 100%;
    }
}
.cover {
    margin: 0;
    padding: 0;
}
.fullscreen {
    height: 100vh;
}
.carousel-inner {
    display: flex;
}
.carousel-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    transition: transform 0.5s ease;
}
.carousel-item img {
    width: 100%;
    height: auto;
}
.carousel-inner:hover .carousel-item {
    filter: brightness(70%);
}
.carousel-inner:hover .carousel-item:hover {
    filter: brightness(100%);
}
.property-title {
    font-size: 24px;
    font-weight: bold;
}
.price {
    font-size: 35px;
    color: #dc3545;
    text-align: right;
    font-weight: 900;
    line-height: 0.9;
}
.overview,
.amenities {
    margin-top: 20px;
}
.description h2,
.location h2,
.nearby h2,
.overview h2,
.amenities h2,
.contact-seller h2,
.galerie h2 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0px;
    padding-bottom: 10px;
}
.overview ul,
.amenities ul {
    list-style-type: none;
    padding-left: 0;
}
.overview ul li,
.amenities ul li {
    padding: 5px 0;
}
#map {
    height: 560px;
}
.badge {
    box-shadow: none;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
    padding-top: 4px;
    border-radius: 0px;
}
.card {
    border-radius: 0px;
}
.sub-title {
    line-height: 1;
    text-transform: uppercase;
    font-size: 12px;
    color: #6c757d;
    font-weight: 700;
}
.icon-text {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.icon-text .icon-square {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-right: 7px;
    flex-shrink: 0;
}
.icon-text .material-icons {
    font-size: 24px;
    color: #dc3545;
}
.icon-top, .icon-middle {
    font-size: 17px;
    padding-right: 5px;
    color: #dc3545;
}
.icon-middle {
    padding-right: 0;
    font-size: 20px;
    margin-top: 2px;
}
.icon-top-text {
    line-height: 1;
    font-weight: 700;
}
.btn-custom, .btn-custom:first-child:active {
    color: #ffffff;
    background-color: #dc3545;
    border-radius: 0;
}
.btn-custom:hover {
    color: #ffffff;
    background-color: #c62f3e;
}
.broker-card {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.broker-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
}
.broker-card h5 {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
}
.broker-card p {
    margin-bottom: 0px;
    font-size: 14px;
}
.broker-card a {
    color: #dc3545;
    text-decoration: none;
    font-size: 15px;
}
.broker-card a:hover {
    text-decoration: underline;
}
.negative {
    margin-top: -114px;
}
li.list-group-item {
    padding: 3px 0;
}
#map {
    margin-bottom: 5px;
}
.text-bg-danger {
    background-color: #4c5f4b !important;
}
.text-bg-success {
    background-color: #008000ff !important;
}
.text-bg-warning {
    background-color: #ffd700 !important;
}
li.list-group-item:last-child {
    padding-bottom: 0;
}
.property-wrapper {
    height: 100%;
}
.property-card {
    border: 1px solid #ddd;
    overflow: hidden;
    transition: transform 0.3s;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.property-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.property-card .card-body {
    padding: 10px 15px;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
.property-card .card-title {
    font-size: 1.05rem;
    margin: 10px 0;
    font-weight: 700;
}
.property-card .card-text {
    font-size: 0.875rem;
    color: #555;
    font-weight: 600;
}
.property-card .property-price {
    font-size: 1.425rem;
    color: #dc3545;
    font-weight: bold;
}
.property-card .property-details {
    font-size: 0.875rem;
    margin-top: 10px;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.property-card .property-details span {
    display: inline-block;
    /* margin-right: 15px; */
}
.property-card .property-details span i {
    margin-right: 5px;
    color: #dc3545;
}
span.property-price {
    margin-bottom: 6px;
    float: right;
}
.property-card .property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    /* padding: 5px 10px; */
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: bold;
}
a > .property-card {
    color: #000;
    text-decoration: none;
    font-size: 15px;
}
.view-all-btn {
    display: block;
    width: fit-content;
    text-align: center;
    margin: auto;
    padding: 0 80px;
    height: 45px;
    background-color: #4c5f4b;
    color: white;
    border: none;
    transition: background-color 0.3s;
}
.view-all-btn:hover {
    background-color: #c62f3e;
}
.card-text > .icon-top-text {
    font-weight: 400;
    font-size: 0.8rem;
}
.property-id {
    margin-top: 5px;
    font-weight: 400;
    color: #6c757d;
}
.filter-container {
    width: fit-content;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    position: absolute;
    top: 437px;
    z-index: 410;
    left: 5%;
    right: 5%;
    border-radius: 5px 33px;
}
.filter-container .form-control,
.filter-container .form-select,
.filter-container .btn {
    margin-bottom: 10px;
    font-weight: 500;
    border-radius: 3px 15px;
}
.filter-container .form-range {
    width: 100%;
}
.filter-container label, .filter-container input {
    margin-right: 10px;
    color: #6c757d;
    line-height: inherit;
    vertical-align: inherit;
}
/*.filter-container label:last-child, .filter-container input:last-child {
  margin-right: 0px;
}*/
.form-check-input:checked {
    background-color: #dc3545;
    border-color: #dc3545;
}
.property-title-wrapper {
    margin: 7rem 0rem 3rem 0rem;
    text-align: center;
}
.slick-next {
    right: 3px !important;
    z-index: 1;
}
.slick-prev {
    left: 3px !important;
    z-index: 1;
}
.slick-dots {
    bottom: auto !important;
    top: 1px !important;
}
.slick-dots li {
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
}
.slick-dots li button:before {
    color: #4c5f4b !important;
    font-size: 10px !important;
}
.slick-dotted.slick-slider {
    margin-bottom: 0px !important;
}
.slick-dots li.slick-active button:before {
    opacity: 1 !important;
    color: #dc3545 !important;
}
.broker-branch-name {
    margin-top: 10px;
}
/* --------- CUSTOM F&P reality--------- */
@media (min-width: 200px) and (max-width: 768px) {
    .filter-container {
        top: 69px !important;
    }
}
.filter-container {
    top: 487px;
}
.form-control-custom {
    border-radius: 0;
    border: 0;
}
body {
    background: linear-gradient(to bottom, #eaebef 0%, #fff 100%) !important;
}
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}
.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
}
.form-check-input[type=checkbox] {
    border-radius: 2px 6px;
}
.nearby-item {
    width: 100%;
}
.nearby-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    align-items: center;
    column-gap: 16px;
}
/* LEVÝ SLOUPEC – názvy */
.nearby-col-name {
    font-weight: 600;
    font-size: 0.8rem;
    /*line-height: 1.35;*/
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nearby-col-chips {
    display: grid;
    grid-template-columns: repeat(4, 90px);
    gap: 6px;
    justify-content: end;
    align-items: center;
    white-space: nowrap;
}
.nearby-name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
}
/* CHIPY */
.nearby-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.nearby-chip {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 2px 6px;
    border-radius: 12px 2px;
    border: 1px solid #c7d5c4;
}
.nearby-chip i.mdi {
    font-size: 0.85rem;
    padding-right: 5px;
}
.nearby-chip.is-distance {
    background: #e6f0ea;
    color: #2f6b4f;
    font-weight: 600;
}
.nearby-chip.is-walk { }
.nearby-chip.is-car { }
.nearby-chip.is-bike { }
.nearby-list .list-group-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    column-gap: 6px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.nearby-list .list-group-item > strong {
    margin: 0;
    white-space: nowrap;
    font-size: 13px;
}
.nearby-slot {
    width: 100%;
    min-width: 0;
}
.nearby-empty {
    color: #6c757d !important;
    font-size: 0.8rem;
}
@media (max-width: 768px) {
    .nearby-list .list-group-item {
        grid-template-columns: 1fr;
        row-gap: 8px;
        align-items: start;
    }
    
    .nearby-row {
        grid-template-columns: 1fr;
        row-gap: 8px;
        align-items: start;
    }
    
    .nearby-col-chips {
        grid-template-columns: repeat(2, 1fr); /* 2x2 */
        justify-content: start;
    }
    
    .nearby-chip {
        justify-content: flex-start;
        text-align: left;
    }
}
@media (min-width: 768px) and (max-width: 1550px) {
    .nearby-list .list-group-item {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }
    
    .nearby-row {
        grid-template-columns: 1fr;
        row-gap: 8px;
        align-items: start;
    }
    
    .nearby-col-chips {
        grid-template-columns: repeat(4, 1fr);
    }
}
.nearby-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    margin-right: 8px;
    border: 1px solid rgba(0, 0, 0, .06);
    white-space: nowrap;
}
.nearby-badge .g { font-weight: 800; }
.nearby-badge .s { opacity: .85; font-weight: 700; }
.nearby-badge.gA { background: #e8f6ee; color: #1f6a3a; }
.nearby-badge.gB { background: #eef8e7; color: #2c6b1f; }
.nearby-badge.gC { background: #fff6d7; color: #7a5a00; }
.nearby-badge.gD { background: #ffe7d6; color: #7a2f00; }
.nearby-badge.gE { background: #ffe1e1; color: #7a0000; }
.nearby-chip.is-best {
    box-shadow: 0 0 0 2px rgba(47, 107, 79, .20) inset;
    background: #edf6f0;
    font-weight: 700;
}
/* Floating Mortgage  */
:root {
    --mort-primary: #4c5f4b;
    --mort-bg: #ffffff;
    --mort-muted: #64748b;
    --mort-border: rgba(226, 232, 240, .95);
    --mort-shadow: 0 18px 50px rgba(15, 23, 42, .18);
}
/* FAB */
.mort-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9996;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 25px 5px;
    padding: 10px 12px;
    background: var(--mort-primary);
    color: #fff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, .25);
}
.mort-fab:hover { filter: brightness(.98); }
.mort-fab-ic {
    width: 36px;height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    display: flex;align-items: center;justify-content: center;
}
.mort-fab-text { font-weight: 800; letter-spacing: .2px; }
.mort-overlay {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(2, 6, 23, .45);
    backdrop-filter: blur(2px);
}
.mort-drawer {
    position: fixed;
    z-index: 9998;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(440px, 92vw);
    background: var(--mort-bg);
    border-left: 1px solid var(--mort-border);
    box-shadow: var(--mort-shadow);
    transform: translateX(105%);
    transition: transform .28s ease;
    display: flex;
    flex-direction: column;
}
.mort-drawer.is-open { transform: translateX(0); }
.mort-drawer-head {
    padding: 14px 14px 10px;
    border-bottom: 1px solid var(--mort-border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.mort-chip {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(76, 95, 75, .12);
    color: var(--mort-primary);
    font-size: 11px;
    font-weight: 900;
}
.mort-title { margin: 6px 0 2px; font-weight: 900; color: #0f172a; }
.mort-sub { font-size: 12px; color: var(--mort-muted); line-height: 1.35; }
.mort-close {
    border: 1px solid var(--mort-border);
    background: #fff;
    width: 34px;height: 34px;
    border-radius: 12px;
    display: flex;align-items: center;justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: #0f172a;
}
.mort-drawer-body {
    padding: 14px;
    overflow: auto;
}
/* Form */
.mort-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px;
}
.mort-field { display: flex; flex-direction: column; gap: 6px; }
.mort-label { font-size: 12px; color: #334155; font-weight: 700; }
.mort-input {
    height: 40px;
    border-radius: 18px 4px;
    border: 1px solid rgb(76 95 75);
    padding: 0 10px;
    outline: none;
}
.mort-input:disabled { background: #f8fafc; color: #475569; }
.mort-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.mort-btn {
    flex: 1;
    height: 42px;
    border-radius: 18px 4px;
    border: 0;
    background: var(--mort-primary);
    color: #fff;
    font-weight: 900;
}
.mort-btn.ghost {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid rgba(203, 213, 225, .95);
}
/* conditions */
.mort-conds {
    margin-top: 12px;
    background: #f8fafc;
    border: 1px solid var(--mort-border);
    border-radius: 18px 4px;
    padding: 12px;
}
.mort-conds-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.mort-conds-title { font-weight: 900; color: #0f172a; }
.mort-conds-sub { font-size: 11px; color: var(--mort-muted); }
.mort-conds-grid { display: grid; gap: 8px; }
.mort-cond {
    display: flex;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 18px 4px;
    border: 1px solid var(--mort-border);
    background: #fff;
}
.mort-cond input { margin-top: 2px; }
.mort-cond .t { font-size: 12px; font-weight: 800; color: #0f172a; }
.mort-cond .d { font-size: 11px; color: var(--mort-muted); }
/* Result */
.mort-kpis {
    margin-top: 14px;
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px;
}
.mort-kpi {
    background: #f8fafc;
    border: 1px solid var(--mort-border);
    border-radius: 14px;
    padding: 10px;
}
.kpi-l { font-size: 11px; color: var(--mort-muted); font-weight: 900; }
.kpi-v { font-size: 16px; font-weight: 900; color: #0f172a; }
.mort-warn {
    margin-top: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    padding: 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}
.mort-plan { margin-top: 14px; }
.mort-plan-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mort-plan-t { font-weight: 900; color: #0f172a; }
.mort-plan-s { font-size: 11px; color: var(--mort-muted); }
.mort-chart {
    margin-top: 10px;
    background: #f8fafc;
    border: 1px solid var(--mort-border);
    border-radius: 14px;
    padding: 10px;
    overflow: hidden;
}
.mort-table-wrap {
    margin-top: 10px;
    border: 1px solid var(--mort-border);
    border-radius: 14px;
    overflow: auto;
}
.mort-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 520px;
}
.mort-table thead th {
    background: #f1f5f9;
    text-align: left;
    padding: 10px;
    font-weight: 900;
    color: #334155;
    border-bottom: 1px solid var(--mort-border);
    white-space: nowrap;
}
.mort-table tbody td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(226, 232, 240, .7);
    white-space: nowrap;
}
.mort-sum {
    margin-top: 10px;
    font-size: 11px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid var(--mort-border);
    border-radius: 14px;
    padding: 10px;
}
.mort-note {
    margin-top: 10px;
    font-size: 11px;
    color: var(--mort-muted);
}
@media (max-width: 640px) {
    .mort-drawer {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100vw;
        height: 85vh;
        border-left: 0;
        border-top: 1px solid var(--mort-border);
        border-radius: 18px 18px 0 0;
        transform: translateY(105%);
    }
    
    .mort-drawer.is-open { transform: translateY(0); }
    
    .mort-grid { grid-template-columns:1fr; }
    
    .mort-kpis { grid-template-columns:1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .mort-drawer { transition: none; }
}
/* loan row */
.mort-span-2 { grid-column: 1 / -1; }
.mort-loan-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.mort-mini-btn {
    height: 40px;
    min-width: 64px;
    border-radius: 18px 4px;
    border: 1px solid rgb(76, 95, 75);
    background: rgba(76, 95, 75, 0.95);
    font-weight: 900;
    color: #fff;
}
.mort-mini-btn:hover { background: rgb(76, 95, 75) }
.mort-hint {
    margin-top: 6px;
    font-size: 11px;
    color: #64748b;
}
.mort-input {
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    line-height: 1.2;
}
select.mort-input {
    padding-right: 34px;
    background-image: linear-gradient(45deg, transparent 50%, #0f172a 50%), linear-gradient(135deg, #0f172a 50%, transparent 50%), linear-gradient(to right, transparent, transparent);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%, 100% 0;
    background-size: 6px 6px, 6px 6px, 2.5em 2.5em;
    background-repeat: no-repeat;
}
.mort-field {
    min-width: 0;
}
.mort-loan-row .mort-input {
    flex: 1 1 auto;
    min-width: 0;
}
.mort-mini-btn {
    flex: 0 0 64px;
}
