.muted-note {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 10px;
    font-style: italic;
}

.jprop_detail_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #fff;
}

/* Breadcrumb Navigation */
.jprop_breadcrumb {
    font-size: 12px;
    margin-bottom: 20px;
    color: #666;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.jprop_breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.jprop_breadcrumb a:hover {
    color: #ff4d4d;
    text-decoration: underline;
}

/* Main Content Layout */
.jprop_content_wrapper {
    display: flex;
    gap: 20px;
}

.jprop_content_main {
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

/* Property Gallery */
.jprop_gallery {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.jprop_main_image_container {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    height: 450px;
}

.jprop_main_image_slider {
    height: 100%;
    width: 100%;
    position: relative;
}

.jprop_main_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
    z-index: 1;
}

.jprop_main_image.active {
    opacity: 1;
    display: block;
    z-index: 2;
}

.jprop_main_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s;
}



.jprop_image_counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    z-index: 10;
}

.jprop_gallery_nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.jprop_prev_btn, .jprop_next_btn {
    background: linear-gradient(135deg, black, black);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.jprop_prev_btn {
    margin-left: 15px;
}

.jprop_next_btn {
    margin-right: 15px;
}

.jprop_prev_btn:hover, .jprop_next_btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff3838);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 77, 77, 0.4);
}

.jprop_zoom_btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, #00857e, #00857e);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 16px;
}

.jprop_zoom_btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff3838);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 77, 77, 0.4);
}

.jprop_thumbnail_gallery {
    display: flex;
    align-items: center;
    position: relative;
    padding: 15px 25px;
    background-color: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.jprop_gallery_scroll_btn {
    background: linear-gradient(135deg, black, black);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 2;
    transition: all 0.3s ease;
}

.jprop_gallery_scroll_btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff3838);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 77, 77, 0.4);
}

.jprop_gallery_scroll_btn.left {
    left: 5px;
}

.jprop_gallery_scroll_btn.right {
    right: 5px;
}

.jprop_thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 0 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    width: 100%;
    scroll-behavior: smooth;
}

.jprop_thumbnails::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.jprop_thumbnail {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.7;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.jprop_thumbnail:hover {
    transform: translateY(-3px);
    opacity: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.jprop_thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jprop_thumbnail.active {
    border: 2px solid #ff4d4d;
    transform: scale(1.05);
    opacity: 1;
}

/* Property Header */
.jprop_header {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.jprop_online_badge {
    display: inline-block;
    color: black;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 600;
border: 1px solid rgba(0, 0, 0, 0.2);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);

}

.jprop_title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #222;
}

.jprop_price {
    font-size: 16px;
    margin-bottom: 20px;
}

.jprop_price_main {
    font-size: 30px;
    font-weight: bold;
    color: #ff4d4d;
}

.jprop_price_detail {
    font-size: 14px;
    color: #666;
}

.parent-container {
  display: flex;
  justify-content: center; /* center horizontally */
  gap: 15px; /* space between buttons */
  flex-wrap: nowrap;
  align-items: center;
}

.jprop_buttons_bg {
  display: flex;
  background: #f5f5f5;
  border: 2px solid #d1d5db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 20px auto;
  width: 100%;
}

.jprop_button_segment {
  flex: 1;
  padding: 20px 16px;
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #333333;
  border-right: 2px solid #d1d5db;
  background: transparent;
  border: none;
  box-shadow: none;
}

.jprop_button_segment:last-child {
  border-right: none;
}

.jprop_button_segment:hover {
  background: #ef4444;
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.jprop_contact_btn:hover,
.jprop_visit_btn:hover {
  background: linear-gradient(135deg, #198754, #146c43);
}

@media (max-width: 767px) {
  .jprop_buttons_bg {
    display: none;
  }
}


.jprop_basic_info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.jprop_info_row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.jprop_info_row:hover {
    background-color: #f9f9f9;
}

.jprop_info_label {
    color: #666;
    font-size: 14px;
}

.jprop_info_value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.jprop_not_required {
    color: #ff4d4d;
    font-weight: 600;
}

.jprop_key_info {
    margin-bottom: 25px;
    background: linear-gradient(135deg, #f9f9f9, #f5f5f5);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.jprop_key_info_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.jprop_key_info_item:last-child {
    margin-bottom: 0;
}

.jprop_key_info_item i {
    margin-right: 12px;
    color: black;
    width: 16px;
    margin-top: 3px;
}

.jprop_map_link {
    color: #ff4d4d;
    margin-left: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jprop_map_link:hover {
    color: #e63c3c;
    text-decoration: underline;
    transform: translateX(3px);
}

.jprop_viewers {
    background: linear-gradient(135deg, #fff8e1, #fff5d6);
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 25px;
    border-left: 3px solid #ffc107;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.1);
}

.jprop_viewers strong {
    color: #ff4d4d;
}

.jprop_actions {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.jprop_share_btn, .jprop_favorite_btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #666;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.jprop_share_btn:hover, .jprop_favorite_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #ff4d4d;
    border-color: #ff4d4d;
}

.jprop_consultation_mobile {
    display: none;
}

.jprop_consultation_btn {
    background: linear-gradient(135deg, #00857e, #00857e);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 600;

}

.jprop_consultation_btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff3838);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 77, 77, 0.4);
}

.jprop_consultation_btn i {
    margin-right: 10px;
}

/* Property Features Section */
.jprop_features_section {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.jprop_section_title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    color: #222;
}

.jprop_section_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #ff6b6b, #ff4d4d);
    border-radius: 3px;
}

.jprop_feature_highlight {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #444;
    padding: 15px;
    background: linear-gradient(135deg, #fff0f0, #ffe6e6);
    border-radius: 8px;
    border-left: 3px solid #ff4d4d;
}

.jprop_feature_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.jprop_feature_tag {
    color: black;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.2);

}

.jprop_feature_tag:hover {
    background: linear-gradient(135deg, #ffe6e6, #ffd6d6);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.2);
}

/* Property Details Section */
.jprop_details_section {
    margin-bottom: 40px;
}

.jprop_details_table {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.jprop_details_row {
    display: flex;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}


.jprop_details_row:last-child {
    border-bottom: none;
}

.jprop_details_label {
    flex: 0 0 200px;
    padding: 18px 20px;
    background-color: #f9f9f9;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    border-right: 1px solid #eee;
}

.jprop_details_value {
    flex: 1;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.6;
}

.jprop_link_text {
    color: black;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.jprop_link_text:hover {
    color: #e63c3c;
    text-decoration: underline;
    transform: translateX(3px);
}

/* Property Map */
.jprop_map {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jprop_address {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
    color: #444;
}

.jprop_map_container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.jprop_map_container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.jprop_dates {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

.jprop_info_date {
    margin-bottom: 5px;
}

/* Contact Section */
.jprop_company_details {
    max-width: 100%;
    margin-bottom: 40px;
}

.jprop_contact_table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.jprop_contact_table tr {
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.2s ease;
}

.jprop_contact_table tr:hover {
    background-color: #f9f9f9;
}

.jprop_contact_table tr:last-child {
    border-bottom: none;
}

.jprop_contact_table th {
    width: 160px;
    padding: 16px 20px;
    background-color: #f5f5f5;
    color: #555;
    font-size: 14px;
    text-align: left;
    font-weight: normal;
    border-right: 1px solid #eaeaea;
    vertical-align: middle;
}

.jprop_contact_table td {
    padding: 16px 20px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.jprop_contact_table a {
    color: black;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jprop_contact_table a:hover {
    color: #e63c3c;
    text-decoration: underline;
    transform: translateX(3px);
}

/* Banner section */
.jprop_banner_section {
    margin: 40px 0;
}

.jprop_banner_title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.jprop_banner_title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 70%;
    width: 4px;
    background: linear-gradient(to bottom, #ff6b6b, #ff4d4d);
    border-radius: 2px;
}

.jprop_banner_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.jprop_banner_item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.jprop_banner_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.jprop_banner_item img {
    width: 100%;
    height: auto;
    display: block;
}

.jprop_banner_item a {
    display: block;
}

/* Other Rooms */
.jprop_other_rooms {
    margin-bottom: 30px;
}

.jprop_room_card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.jprop_room_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.jprop_room_info {
    flex: 1;
    padding: 25px;
}

.jprop_room_price {
    margin-bottom: 15px;
}

.jprop_room_basic_info {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
}

.jprop_room_image {
    flex: 0 0 180px;
    position: relative;
}

.jprop_room_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jprop_room_image .jprop_favorite_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
}

.jprop_detail_btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ff4d4d);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.3);
}

.jprop_detail_btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff3838);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 77, 77, 0.4);
}

/* Similar Properties */
.jprop_similar_properties {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
}

.jprop_scroll_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: linear-gradient(135deg, black, black);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.3);
}

.jprop_scroll_btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff3838);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 77, 77, 0.4);
}

.jprop_scroll_btn.left {
    left: -22px;
}

.jprop_scroll_btn.right {
    right: -22px;
}

.jprop_property_cards {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 15px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    width: 100%;
}

.jprop_property_cards::-webkit-scrollbar {
    display: none;
}

.jprop_property_card {
    flex: 0 0 300px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

.jprop_property_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.jprop_property_image {
    position: relative;
    height: 200px;
}

.jprop_property_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jprop_property_image .jprop_favorite_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #666;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.jprop_property_image .jprop_favorite_btn:hover {
    transform: scale(1.1);
    color: #ff4d4d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.jprop_limited_badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ff4d4d);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(255, 77, 77, 0.3);
}

.jprop_property_card_info {
    padding: 20px;
}

.jprop_property_price {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.jprop_property_basic_info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jprop_fee_info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.jprop_location_info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.jprop_location_info p {
    display: flex;
    align-items: flex-start;
    margin: 0;
    line-height: 1.5;
}

.jprop_location_info i {
    width: 16px;
    margin-right: 8px;
    color: grey;
    margin-top: 3px;
}

.jprop_pagination_dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.jprop_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.jprop_dot.active {
    background: linear-gradient(135deg, #ff6b6b, #ff4d4d);
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(255, 77, 77, 0.3);
}

/* Floating Contact Section */
.jprop_contact_section_wrapper {
    width: 350px;
    position: relative;
    display: none; /* Hide by default on mobile */
}

@media (min-width: 1101px) {
    .jprop_contact_section_wrapper {
        display: block; /* Show on desktop */
    }
}

.jprop_contact_section {
    background: linear-gradient(135deg, #f0f5f9, #e4f0f9);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: all 0.3s ease;
}

.jprop_contact_section.floating {
    position: fixed;
    top: 20px;
    width: 350px;
}

.jprop_contact_section.stop-floating {
    position: absolute;
    bottom: 0;
    top: auto;
}

.jprop_contact_title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
    position: relative;
    padding-bottom: 10px;
}

.jprop_contact_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #ff6b6b, #ff4d4d);
    border-radius: 3px;
}

.jprop_contact_description {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.jprop_contact_buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.jprop_apply_btn, .jprop_inquiry_mail_btn {
    background: linear-gradient(135deg, #00857e, #00857e);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.jprop_apply_btn:hover, .jprop_inquiry_mail_btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff3838);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 77, 77, 0.4);
}

.jprop_apply_btn i, .jprop_inquiry_mail_btn i {
    margin-right: 10px;
}

.jprop_phone_link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 16px;
   border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.7);
}

.jprop_phone_link:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 77, 77, 0.2);
    border-color: #ff4d4d;
}

.jprop_phone_link i {
    margin-right: 10px;
}

.jprop_property_id {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.2); /* Light black border */
}


.jprop_favorite_add_btn {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.2); /* changed to black */
    color: #ff4d4d;
    border-radius: 8px;
    padding: 16px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin: 20px auto 0 auto; /* this centers it horizontally */
}


.jprop_favorite_add_btn:hover {
    background-color: #ff4d4d;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 77, 77, 0.2);
    border-color: #ff4d4d;
}

.jprop_favorite_add_btn i {
    margin-right: 15px;
}

/* Back to Top Button */
.jprop_back_to_top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff4d4d);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.3);
}

.jprop_back_to_top.show {
    opacity: 1;
    visibility: visible;
}

.jprop_back_to_top:hover {
    background: linear-gradient(135deg, #ff5252, #ff3838);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(255, 77, 77, 0.4);
}

/* Lightbox */
.jprop_lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jprop_lightbox.active {
    display: flex;
    opacity: 1;
}

.jprop_lightbox_content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.jprop_lightbox_header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    z-index: 1005;
}

.jprop_lightbox_counter {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.jprop_lightbox_close {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
}

.jprop_lightbox_close:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.jprop_lightbox_main {
    position: relative;
    width: 80%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jprop_lightbox_image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.jprop_lightbox_nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
    z-index: 1005;
}

.jprop_lightbox_prev, .jprop_lightbox_next {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    transition: all 0.3s ease;
}

.jprop_lightbox_prev:hover, .jprop_lightbox_next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.jprop_lightbox_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    width: 50%;
    margin-top: 20px;
    max-height: 20%;
    overflow-y: auto;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.jprop_lightbox_grid::-webkit-scrollbar {
    width: 6px;
}

.jprop_lightbox_grid::-webkit-scrollbar-track {
    background: transparent;
}

.jprop_lightbox_grid::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.jprop_lightbox_thumb {
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    border: 2px solid transparent;
}

.jprop_lightbox_thumb:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.jprop_lightbox_thumb.active {
    opacity: 1;
    border: 2px solid #ff4d4d;
    transform: scale(1.05);
}

.jprop_lightbox_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#jprop_floating_ad {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 24px;
    max-width: 600px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', sans-serif;
    text-align: center;
    transition: all 0.3s ease;
}

#jprop_floating_ad:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.jprop_ad_title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c2c2c;
}

.jprop_ad_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.jprop_ad_image {
    max-width: 100%;
    max-height: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
}

.jprop_ad_summary {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    padding: 0 10px;
}

.jprop_ad_company_link {
    font-size: 14px;
    color: #1a73e8;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.jprop_ad_company_link:hover {
    text-decoration: underline;
    color: #0c58c9;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .jprop_content_wrapper {
        flex-direction: column;
    }
    
    .jprop_contact_section_wrapper {
        display: none; /* Hide the floating contact on mobile */
    }
    
    .jprop_scroll_btn.left {
        left: 5px;
    }
    
    .jprop_scroll_btn.right {
        right: 5px;
    }
    
    .jprop_property_card {
        flex: 0 0 calc(50% - 10px);
    }
    
    .jprop_consultation_mobile {
        display: block;
        margin-top: 20px;
    }
    
    .jprop_banner_container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .jprop_lightbox_grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .jprop_lightbox_main {
        width: 90%;
    }
}

@media (max-width: 900px) {
    .jprop_detail_container {
        padding: 15px;
    }
    
    .jprop_main_image_container {
        height: 350px;
    }
    
    .jprop_header {
        padding: 20px;
    }
    
    .jprop_features_section,
    .jprop_map {
        padding: 20px;
    }
    
    .jprop_details_row {
        flex-direction: column;
    }
    
    .jprop_details_label {
        flex: 0 0 auto;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .jprop_basic_info {
        grid-template-columns: 1fr;
    }
    
    .jprop_thumbnail {
        flex: 0 0 70px;
        height: 70px;
    }
    
    .jprop_lightbox_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .jprop_property_card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .jprop_property_image {
        height: 180px;
    }
    
    .jprop_scroll_btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .jprop_contact_table, 
    .jprop_contact_table tbody, 
    .jprop_contact_table tr, 
    .jprop_contact_table th, 
    .jprop_contact_table td {
        display: block;
        width: 100%;
    }
    
    .jprop_contact_table th {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
        padding: 12px 15px;
    }
    
    .jprop_contact_table td {
        padding: 12px 15px;
    }
    
    .jprop_banner_container {
        grid-template-columns: 1fr;
    }
    
    .jprop_room_card {
        flex-direction: column;
    }
    
    .jprop_room_image {
        height: 180px;
        flex: none;
    }
    
    .jprop_lightbox_grid {
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
    }
    
    .jprop_lightbox_prev, .jprop_lightbox_next {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .jprop_detail_container {
        padding: 10px;
    }
    
    .jprop_main_image_container {
        height: 250px;
    }
    
    .jprop_title {
        font-size: 20px;
    }
    
    .jprop_price_main {
        font-size: 24px;
    }
    
    .jprop_section_title {
        font-size: 18px;
    }
    
    .jprop_thumbnail {
        flex: 0 0 60px;
        height: 60px;
    }
    
    .jprop_apply_btn, .jprop_inquiry_mail_btn, .jprop_consultation_btn {
        padding: 14px;
        font-size: 14px;
    }
    
    .jprop_phone_link {
        font-size: 18px;
        padding: 14px;
    }
    
    .jprop_favorite_add_btn {
        padding: 14px;
        font-size: 14px;
    }
    
    .jprop_lightbox_close {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .jprop_main_image_container {
        height: 200px;
    }
    
    .jprop_property_image {
        height: 160px;
    }
    
    .jprop_thumbnail {
        flex: 0 0 50px;
        height: 50px;
    }
    
    .jprop_feature_tags {
        gap: 8px;
    }
    
    .jprop_feature_tag {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .jprop_title {
        font-size: 18px;
    }
    
    .jprop_price_main {
        font-size: 22px;
    }
    
    .jprop_section_title {
        font-size: 16px;
    }
    
    .jprop_contact_table th {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .jprop_contact_table td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .jprop_lightbox_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .jprop_lightbox_thumb {
        height: 60px;
    }
}
