.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);
    }

}

/* badge score */
.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; }

/* grade colors */
.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; }

/* best chip highlight */
.nearby-chip.is-best{
  box-shadow: 0 0 0 2px rgba(47,107,79,.20) inset;
  background: #edf6f0;
  font-weight: 700;
}

