/* ---------------------------------------------------------
   Emlak Detay Sayfası - Yeni 2-Kolon Tasarımı (Salient Grid)
--------------------------------------------------------- */

/* Container and Spacing */
.emlak-detay-wrapper {
    margin-bottom: 30px;
}

/* Project Info Grid (White Box Design) */
.project-info-grid {
    display: flex;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 25px 30px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.info-box-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #eeeeee;
    padding: 0 15px;
}

.info-box-item:last-child {
    border-right: none;
}

.info-box-lbl {
    font-size: 11px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-box-val {
    font-size: 18px;
    color: #0b1c3f; /* Koyu Mavi */
    font-weight: 700;
}

/* Table Container (White Box Design) */
.units-table-container {
    background: #ffffff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 30px 40px;
    margin-bottom: 30px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.units-table-title {
    font-size: 24px;
    color: #0b1c3f;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: 0;
}

/* Custom DataTables Styling */
.table-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dataTables_wrapper .dataTables_filter {
    float: none;
    text-align: right;
    margin-bottom: 0;
}

.dataTables_wrapper .dataTables_filter label {
    font-size: 14px;
    color: #0b1c3f;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0 !important;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    padding: 10px 35px 10px 20px;
    outline: none;
    font-size: 14px;
    color: #333;
    min-width: 250px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1c3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.dataTables_wrapper .dataTables_filter input {
 
    border-radius: 8px !important;
 
    height: 46px;}

table.dataTable thead th, table.dataTable thead td {
      background: var(--ydy-page-bg-soft);
        color: var(--ydy-page-green);
    font-size: 14px;
    font-weight: 600;
    border-bottom: none !important;
    padding: 9px 26px 9px 10px !important;
    text-align: center !important;
    position: relative;
    white-space: nowrap;
}

table.dataTable thead th:first-child {
    border-radius: 8px 0 0 0px;
}
table.dataTable thead th:last-child {
    border-radius: 0 8px 0px 0;
}

/* Tablonun etrafındaki gri çerçeve ve köşe yuvarlatma */
.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

table.dataTable {
    margin: 0 !important;
    border-collapse: collapse !important;
}

/* Remove DataTables default weird striping and sorted column backgrounds */
table.dataTable.display tbody tr > .sorting_1, 
table.dataTable.order-column.stripe tbody tr > .sorting_1 {
    background-color: transparent !important;
}

/* Custom Zebra Striping (Light Green & White) */
table.dataTable tbody tr:nth-child(odd), table.dataTable.display tbody tr.odd {
    background-color: #ffffff !important;
}


table.dataTable tbody tr:nth-child(even), table.dataTable.display tbody tr.even {
    background-color: #d4edda5c !important;
}

/* Hover Effect */
table.dataTable tbody tr:hover, table.dataTable.display tbody tr.odd:hover, table.dataTable.display tbody tr.even:hover {
    background-color: #d4edda !important;
    transition: background-color 0.2s ease;
}

/* Sold Rows Background */
table.dataTable tbody tr.row-sold {
    background-color: #fcf4f4 !important;
}

table.dataTable tbody tr.row-sold:hover {
    background-color: #faebeb !important;
}

table.dataTable tbody tr {
    border-bottom: 1px solid #f2f2f2;
}

table.dataTable tbody tr:last-child {
    border-bottom: none;
}

table.dataTable tbody td {
    padding: 9px 10px !important;
    font-size: 15px;
    color: #0b1c3f !important;
    font-weight: 600;
    vertical-align: middle;
    text-align: center !important;
    border-bottom: 1px solid #f2f2f2 !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

table.dataTable.no-footer {
    border-bottom: none !important;
}

.badge-status {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.badge-status.sold {
    background-color: #fceceb;
    color: #e74c3c;
}

.badge-status.available {
    background-color: #e0f2e9;
    color: #1b5e20;
}

/* Sidebar Box General */
.detay-sidebar-col {
    padding-left: 10px;
    position: sticky;
    top: 100px;
    z-index: 99;
}

.sidebar-box {
    background: #ffffff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 30px 25px;
    margin-bottom: 25px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: left !important;
}

.sidebar-title {
    font-size: 20px !important;
    color: #0b1c3f !important;
    font-weight: 700 !important;
    margin-top: 0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.sidebar-subtitle {
font-size: 13px;
    color: #666;
    margin-bottom: 0px;
    font-weight: 500;
    padding-bottom: 9px;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.contact-method-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 11px 5px;
    text-decoration: none;
    color: #0b1c3f;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-method-btn svg {
    width: 26px;
    height: 26px;
    margin-bottom: 2px;
    color: #0b1c3f;
}

.contact-method-btn.whatsapp svg {
    color: #25D366;
}

.contact-method-btn:hover {
    border-color: #0b1c3f;
    background: #f8faff;
}

/* Divider */
.filter-divider {
    text-align: center;
    margin: 9px 0;
    position: relative;
}

body[data-fancy-form-rcs="1"] .fancy-select-wrap{padding-top: 0;}

input.rounded,textarea.rounded,select.rounded{border-radius: 10px !important;}

.filter-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #eaeaea;
    z-index: 1;
}

.filter-divider span {
    background: #fff;
    padding: 0 15px;
    color: #888;
    font-size: 11px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-group.has-icon .input-icon {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 18px;
    height: 18px;
    color: #888;
}

.form-group.has-icon input {
    padding-left: 45px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 14px 15px;
    font-size: 13px;
    color: #444;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1c3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 35px;
    color: #111;
    font-weight: 500;
}

.form-group textarea {
    resize: vertical;
    font-size: 13px;
    padding: 15px;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #0b1c3f;
}

.filter-label {
    display: block;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0b1c3f !important;
    margin-bottom: 8px;
    text-align: left !important;
}

/* Compact specific styling for Filter Box */
.filter-box .form-group {
    margin-bottom: 0px;
}

.filter-box .filter-label {
    margin-bottom: 4px;
    font-size: 12px !important;
    color: #999 !important; /* Update: Look at screenshot, it's actually grayish */
}
body[data-fancy-form-rcs="1"] .fancy-select-wrap{margin-top: 4px !important;}

/* Wait, in the screenshot, it's grayish and light. Let me check */
.filter-box .filter-label {
    margin-bottom: 4px;
    font-size: 12px !important;
    color: #888 !important; 
    font-weight: 600 !important;
}

.filter-box .form-group select {
    padding: 8px 12px;
    font-size: 12px;
    text-align: left !important;
}

/* Buttons */
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #0b1c3f; /* Koyu Mavi */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: inherit;
}

.btn-submit svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.btn-submit:hover {
    background: #15326b;
}

.btn-filter {
    background: #0066ff !important; /* Parlak Mavi Filtre Butonu */
    margin-top: 15px;
    font-size: 14px !important;
    padding: 12px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
}

.btn-filter:hover {
    background: #0052cc;
}

.contact-note {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 991px) {
    
    .detay-sidebar-col {
        padding-left: 0;
        margin-top: 30px;
    }
}

/* Finance Section */
.finance-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 20px 30px;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
    border: 1px solid #f0f0f0;
}

.finance-title {
    font-size: 20px;
    color: #0b1c3f;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: left;
}

.finance-grid-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.finance-card {
    border: 1px solid #d4ebd9;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.finance-icon-wrap {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 2px solid #2ea84b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ea84b;
}

.finance-card:nth-child(3) .finance-icon-wrap {
    border-radius: 50%;
}

.finance-icon-wrap svg {
    width: 16px;
    height: 16px;
}

.finance-card-content h4 {
    margin: 0 0 8px 0;
    line-height: 1.3;
}

#md_kroki_link{width: 225px;}

.finance-card-content h4 .f-green {
    font-size: 24px;
    font-weight: 700;
    color: #2ea84b;
}

.finance-card-content h4 .f-blue {
    font-size: 13px;
    font-weight: 700;
    color: #0b1c3f;
}

.finance-card-content p {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.finance-divider {
    height: 1px;
   
    margin: 8px 0;
}

.finance-grid-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.finance-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
}

.finance-bullet-icon {
    flex-shrink: 0;
    color: #2ea84b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finance-bullet-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.finance-bullet span {
    font-size: 12px;
    font-weight: 600;
    color: #0b1c3f;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.finance-bullet span small {
    color: #888;
    font-weight: 500;
    font-size: 11px;
    margin-top: 3px;
}

/* Responsive */
@media (max-width: 992px) {
    .finance-grid-top, .finance-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .finance-grid-top, .finance-grid-bottom {
        grid-template-columns: 1fr;
    }
}

/* Horizontal Filter Box */
.horizontal-filter-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
    align-items: flex-end;
}

.horizontal-filter-box .hf-item {
    flex: 1;
    min-width: 150px;
}

.horizontal-filter-box .hf-item.hf-action {
    flex: 0 0 auto;
}

/* Payment Plan Button */
.btn-payment-plan {
    background-color: #f0f7ff;
    color: #0b1c3f;
    border: 1px solid #d4ebd9;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-payment-plan:hover {
    background-color: #2ea84b;
    color: #ffffff;
    border-color: #2ea84b;
}
.horizontal-filter-box .filter-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0b1c3f;
    margin-bottom: 8px;
}

.mb-4{margin-bottom: 21px !important;}

.horizontal-filter-box select,
.horizontal-filter-box input[type="text"] {
    width: 100%;
    height: 42px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    color: #444;
    background-color: #f9fcfb;
    transition: all 0.3s ease;
}

.horizontal-filter-box select:focus,
.horizontal-filter-box input[type="text"]:focus {
    outline: none;
    border-color: #2ea84b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46, 168, 75, 0.1);
}

.search-input-wrapper svg {
    color: #777;
    transition: color 0.3s ease;
}
.horizontal-filter-box input[type="text"]:focus + svg,
.search-input-wrapper:focus-within svg {
    stroke: #2ea84b;
}

.btn-reset-filters {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background-color: #fceceb;
    color: #e74c3c;
    border: 1px solid #f9d6d5;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-filters:hover {
    background-color: #e74c3c;
    color: #ffffff;
}

@media (max-width: 768px) {
    .horizontal-filter-box {
        flex-direction: column;
    }
    .horizontal-filter-box .hf-item, 
    .horizontal-filter-box .hf-item.hf-action {
        width: 100%;
    }
    .btn-reset-filters {
        width: 100%;
    }
}

/* ---- START MERGED FROM emlak_detay.php ---- */
.emlak-detay-header {
    margin-bottom: 30px;
    text-align: center;
}
.emlak-detay-title {
    font-size: 32px;
    color: #111;
    font-weight: 700;
    margin-bottom: 10px;
}
.emlak-detay-location {
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}
.emlak-detay-location svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}
.ydy-hero-overlay-card::before {
    pointer-events: none;
}
/* Slider */
.ydy-page-hero-visual .mySwiper2 {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    overflow: hidden;
    margin: 0 !important;
    box-shadow: none !important;
    position: absolute !important;
    inset: 0;
    right: 49px !important;
    left: auto !important;
}
.ydy-page-hero-visual .mySwiper2 .swiper-slide {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ydy-page-hero-visual .mySwiper2 .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.expand-icon {
    position: absolute !important;
    top: 20px !important;
    right: calc(16.66% - 77px) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #0056b3 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}
.expand-icon svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2.5 !important;
}
.ydy-page-hero-visual .mySwiper2 .swiper-slide:hover .expand-icon {
    background: #ffffff !important;
    transform: scale(1.1);
}
.mySwiperThumbs {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    margin-bottom: 30px;
}
.mySwiperThumbs .swiper-slide {
    height: 100% !important;
    opacity: 0.5;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.mySwiperThumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #002244;
}
.mySwiperThumbs .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}



@media (max-width: 992px) {
     .units-table-title{font-size: 24px !important;}
     .finance-card-content h4{margin-bottom: 0px !important;}
     .finance-card-content h4 .f-green{font-size: 19px !important;}
     .finance-card-content h4 .f-blue{font-size: 12px !important;}
     .finance-card-content p {  line-height: 1.2; text-align: center;}
     .finance-bullet{text-align: left;}
     
}

@media (max-width: 768px) {
    .swiper {
        height: auto;
    }
    .hidden-xs {
        display: none !important;
    }
}

/* Payment Modal Styles */
.contact-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px !important;
    font-weight: 700;
    font-size: 15px;
    border: none !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    gap: 8px;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.contact-btn svg {
    width: 20px;
    height: 20px;
}
.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.cb-whatsapp {
    background: #25D366 !important;
}
.cb-whatsapp:hover {
    background: #22bf5b !important;
}
.cb-call {
    background:#1e8449 !important;
}
.cb-call:hover {
    background: #22bf5b !important;
}

.nectar-global-section:not(.nectar_hook_global_section_footer) {background: #000;}

#fws_68ab020d809b9{
 
    margin-left: calc(-50.3vw + var(--scroll-bar-w) / 2) !important;
 
    width: calc(101vw - var(--scroll-bar-w)) !important;
}
.cb-form {
    background: linear-gradient(135deg, #f39c12, #d35400) !important;
}
.cb-form:hover {
    background: linear-gradient(135deg, #e67e22, #c0392b) !important;
}
.swal2-container {
    z-index: 99999 !important;
}
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}
.payment-modal {
    background: #fff;
    width: 95%;
    max-width: 850px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}
.payment-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4f6f8;
}
.payment-modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #000;
}
.payment-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}
.payment-modal-body {
    padding: 14px;
    overflow-y: auto;
}
.daire-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 10px;
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.daire-info-item {
    display: flex;
    flex-direction: column;
}
.daire-info-label {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0px;
        line-height: 14px;
}
.daire-info-val {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

/* Range Slider Styles */
.calc-range-wrapper {
    margin-bottom: 10px;
    position: relative;
}
.calc-range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.calc-range-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.calc-range-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e8449;
}
.calc-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 4px;
    outline: none;
    margin: 15px 0;
    padding-right: 0;
}
.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1e8449;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.calc-range-ticks {
    position: relative;
    margin: 0 12px;
    width: calc(100% - 24px);
    height: 20px;
    font-size: 10px;
    color: #777;
    font-weight: 500;
}
.calc-range-ticks span {
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
}
.calc-range-ticks span:nth-child(1) { left: 0%; }
.calc-range-ticks span:nth-child(2) { left: 5.882%; }
.calc-range-ticks span:nth-child(3) { left: 11.764%; }
.calc-range-ticks span:nth-child(4) { left: 17.647%; }
.calc-range-ticks span:nth-child(5) { left: 23.529%; }
.calc-range-ticks span:nth-child(6) { left: 29.411%; }
.calc-range-ticks span:nth-child(7) { left: 35.294%; }
.calc-range-ticks span:nth-child(8) { left: 41.176%; }
.calc-range-ticks span:nth-child(9) { left: 47.058%; }
.calc-range-ticks span:nth-child(10) { left: 52.941%; }
.calc-range-ticks span:nth-child(11) { left: 58.823%; }
.calc-range-ticks span:nth-child(12) { left: 64.705%; }
.calc-range-ticks span:nth-child(13) { left: 70.588%; }
.calc-range-ticks span:nth-child(14) { left: 76.470%; }
.calc-range-ticks span:nth-child(15) { left: 82.352%; }
.calc-range-ticks span:nth-child(16) { left: 88.235%; }
.calc-range-ticks span:nth-child(17) { left: 94.117%; }
.calc-range-ticks span:nth-child(18) { left: 100%; }

.payment-result-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background: #fff;
    border: 1px solid #eaeaea;
}
.payment-result-table th,
.payment-result-table td {
    padding: 7px;
    border: 1px solid #eaeaea;
}
.payment-result-table th {
    background: #ffffff;
    font-weight: 700;
    color: #007bff;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
}
.payment-result-table td {
    font-weight: 700;
    font-size: 15px;
    color: #111;
    text-align: center;
}
.col-green {
    color: #1e8449 !important;
}
.col-orange {
    color: #d35400 !important;
}

h4{line-height: 16px !important;}


.payment-result-table th:nth-child(1){    max-width: 126px !important;
    width: 126px !important;}

/* Comparison Table Styles */
.comparison-table-wrapper {
    margin-top: 20px;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}
.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-size: 13px;
}
.comparison-table th,
.comparison-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    vertical-align: middle;
}
.comparison-table th {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.comparison-table td:first-child {
    text-align: left;
    font-weight: 700;
    color: #333;
    background: #fff;
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.02);
}
.comparison-table tbody tr:nth-child(even) {
    background: #fafafa;
}
.th-konu {
    background: #4a4a4a;
    position: sticky;
    left: 0;
    z-index: 2;
}
.th-banka {
    background: #e74c3c;
}
.th-katilim {
    background: #b02a30;
}
.th-ydy {
    background: #27ae60;
    color: #fff !important;
}
.col-banka {
    color: #0077c8;
    font-weight: 700;
}
.col-katilim {
    color: #60b555;
    font-weight: 700;
}
.col-ydy {
    color: #ffbc00;
    font-weight: 700;
}
.col-ydy-bold {
    color: #d49c00;
    font-weight: 800;
    font-size: 15px;
}
.comp-subtext {
    display: block;
    font-size: 10px;
    color: #666;
    font-weight: 500;
    margin-top: 4px;
}
.text-red {
    color: #d32f2f !important;
    font-weight: 700;
}
.text-green {
    color: #388e3c !important;
    font-weight: 700;
}
.usp-table td {
    font-size: 14px;
    padding: 15px 10px;
}
.usp-table td:first-child {
    font-size: 14px;
    font-weight: 600;
    background: transparent !important;
}
/* ---- END MERGED ---- */

/* 120 Ay Comparison Table Styles */
.comparison-120-table {
    margin-top: -11px;
    margin-bottom: 0;
    table-layout: fixed;
    width: 100%;
    border: 1px solid #ddd;
}
.comparison-120-table .comp-120-header th {
    background: #eef1f6;
    color: #333;
    font-size: 14px;
    text-align: center;
    padding: 1px;
    border-bottom: 1px solid #ddd;
}
.comparison-120-table .th-120-ydy {
    background-color: #27ae60;
    color: white;
}
.comparison-120-table .th-120-katilim {
       background-color: #b02a30;
    color: white;
}
.comparison-120-table .th-120-banka {

    background-color: #e74c3c;
    color: white;
}
.comparison-120-table .td-120-ydy {
    word-wrap: break-word;
    font-size: 18px;
    font-weight: bold;
    color: #27ae60;
}

.col-yesil{     color: #27ae60 !important;}
.comparison-120-table .td-120-katilim {
    

    word-wrap: break-word;
    font-size: 18px;
    font-weight: bold;
    color: #b02a30;
}
.comparison-120-table .td-120-banka {
    word-wrap: break-word;
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    
}

/* Emlak Grid - Orijinal Tasarim (Recreated) */
.emlak-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .emlak-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .emlak-grid {
        grid-template-columns: 1fr;
    }
}

.emlak-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    text-align: center;
}

.emlak-card-img-wrap {
    position: relative;
    width: 100% !important;
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.emlak-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.emlak-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #222;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.5px;
}

.emlak-badge.project {
    left: auto;
    right: 15px;
    background: #fff;
    color: #555;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.emlak-card-body {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
}

.emlak-title {
    font-size: 18px;
    font-weight: 400;
    color: #555;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emlak-specs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    width: 100%;
}

.emlak-spec-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #777;
    gap: 6px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.emlak-spec-item svg {
    width: 16px;
    height: 16px;
    color: #777;
}

.emlak-spec-item.emlak-spec-highlight {
    color: #1e8449;
    background: #e8f5e9;
    padding: 4px 10px;
    border-radius: 20px;
}

.emlak-spec-item.emlak-spec-highlight svg {
    color: #1e8449;
}

.emlak-location {
    font-size: 12px;
    color: #777;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 25px;
    line-height: 1.5;
    text-transform: uppercase;
}

.emlak-location svg {
    width: 16px;
    height: 16px;
    color: #999;
    flex-shrink: 0;
    margin-top: 1px;
}

.emlak-action {
    width: 100%;
    margin-top: auto;
}

.emlak-action a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.d-contents {
    display: contents;
}

.f-18 {
    font-size: 15px;
}


@media (max-width: 768px) {
    .filter-label{font-size: 11px !important; margin: 0 !important;}
    .ydy-emlak-container form{gap: 5px !important;}
    .horizontal-filter-box{margin-bottom: 5px !important;}
    .emlak-action a{max-width: 100% !important;}
    .emlak-card-body{padding: 15px !important;}

    .emlak-card-body h3.emlak-title {
        font-size: 22px !important;
        line-height: 19px !important;
    }

    #unitsTable_filter{display: none !important;}

    .emlak-specs {
    margin-bottom: 9px;}

.emlak-card.mb-4{margin-bottom: 0px !important;}
    .emlak-location {
    margin-bottom: 16px;}


.usp-section-wrapper h2{font-size: 16px !important; line-height: 19px !important;}
.usp-section-wrapper h3{font-size: 14px !important; line-height: 17px !important;}
.usp-header p{font-size: 12px !important; display: block !important; text-align: center !important; width: 100% !important; padding-bottom: 0 !important;}
   
.usp-table td{padding: 6px; font-size: 12px !important; line-height: 16px !important;}
.usp-section-wrapper{margin-bottom:0!important;}
.usp-table td:first-child{font-size: 12px !important;}
.usp-bullets{margin-top: 5px !important;}
.usp-bullets ul{margin-bottom: 0;}
.usp-bullets ul li{font-size: 12px !important; margin-bottom: 0 !important;}
.usp-bullets ul li span{font-size: 14px !important;}

.units-table-title{font-size: 18px !important;        line-height: 24px;}
.project-info-grid{padding: 10px!important;}

.units-table-container{padding: 10px!important;}

.table-title-custom>div{gap: 0 !important;}
body:not(.woocommerce-cart) .main-content tr th,table.dataTable.display>tbody>tr td{font-size: 12px !important; padding: 5px !important;}

.payment-result-table th{font-size: 8px !important;}
.payment-result-table td{font-size: 12px !important;}

.payment-result-table th:nth-child(1) {
    max-width: 95px !important;
    width: 95px !important;
}

.units-table-title.lh-18{margin-right: 6px !important;}

.daire-info-label{font-size: 10px !important;}
.daire-info-val{font-size: 12px !important;}
.daire-info-val.col-green{font-size: 18px !important;}
.comp-120-header small{font-size: 9px !important;}

.payment-modal-title{font-size: 18px !important;}

.table-title-custom span{font-size: 11px !important;}
}

/* Uniform Thumbnails for mySwiperThumbs */
.mySwiperThumbs .swiper-slide {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    box-sizing: border-box;
}

.mySwiperThumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    display: block;
}

.mobile-filter-toggle {
    display: none;
    background: #0b1c3f;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 10px;
    border: none;
    width: 100%;
    justify-content: space-between;
    border-radius: 10px !important;
    -webkit-border-radius: 10px !important;
}
.mobile-filter-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}
.mobile-filter-toggle.active svg {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .mobile-filter-toggle {
        display: flex;
    }
    .horizontal-filter-box {
        display: none;
    }

    .finance-section{margin-bottom: 0;}

    .contracted-banks-section{margin-top: 10px !important; margin-bottom: 10px !important;}

    .bank-card p{font-size: 12px !important; line-height: 14px !important;}

    /* Payment Modal Mobile Adjustments */
    .payment-modal {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }
    .payment-modal-header {
        padding: 15px !important;
    }
    .payment-modal-title {
        font-size: 20px;
    }
    .payment-modal-body {
        padding: 10px;
    }
    .modal-contact-section {
        padding: 15px !important;
    }
    .contact-methods {
        flex-direction: row;
        gap: 5px !important;
    }
    .contact-btn {
        flex-direction: column;
        gap: 4px;
        padding: 8px 4px !important;
        font-size: 11px;
        text-align: center;
    }
    .contact-btn svg {
        width: 18px;
        height: 18px;
        margin-right: 0 !important;
    }
    .daire-info-grid {
        grid-template-columns: 1fr 1fr;
        padding: 15px;
        gap: 10px;
    }
    .calc-range-wrapper {
        padding: 15px !important;
    }

    /* Fix image and layout crowding */
    .daire-info-layout {
        flex-direction: column;
        gap: 15px !important;
        padding: 10px !important;
    }
    #md_kroki_container {
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto;
    }
}