.modal-open .maskan-header {
    z-index: 1000 !important;
}

.elig-modal .modal-dialog {
    max-width: 760px;
}

.elig-modal .modal-content {
    position: relative;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

.elig-modal-close {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #225D77;
    box-shadow: 0 4px 12px rgba(34, 93, 119, .25);
}

.elig-modal-close::before, .elig-modal-close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transform-origin: center;
}

.elig-modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.elig-modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.elig-modal .modal-body {
    padding: 28px 26px 24px;
}

.elig-brand-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    color: #225D77;
    font-size: 24px;
}

.elig-divider {
    height: 1px;
    margin: 12px auto 18px;
    width: 100%;
    border: 1px solid #000;
}

.elig-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.elig-modal-title {
    margin: 0;
    text-align: center;
    color: #225D77;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
}

.elig-modal-sub {
    margin: 8px auto 18px;
    max-width: 667px;
    text-align: center;
    color: #838384;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
}

.elig-form .form-label {
    color: #141219;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 12px;
}

.elig-form .form-select {
    border-radius: 8px;
    padding: .6rem .9rem;
    border: 1px solid #83838480;
}

.elig-form .form-select:focus {
    border-color: #225D77;
    box-shadow: 0 0 0 .2rem rgba(34, 93, 119, .12);
}

.form-check-input:checked {
    background-color: #C59D63;
    border-color: #C59D63
}

.elig-actions {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12px;
    margin-top: 6px;
}

.elig-actions .btn {
    height: 48px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    line-height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    border: 1px solid transparent;
    margin-top: 0 !important;
}

.btn-gold {
    background: #C59D63;
    color: #fff;
    border-color: #C59D63;
}

.btn-gold:hover {
    filter: brightness(.98);
}

.btn-gold:focus {
    box-shadow: 0 0 0 3px rgba(197, 157, 99, .28);
}

.btn-blue {
    background: #225D77;
    color: #fff;
    border-color: #225D77;
}

.btn-blue:hover {
    filter: brightness(.98);
}

.btn-blue:focus {
    box-shadow: 0 0 0 3px rgba(34, 93, 119, .25);
}

@media (max-width: 576px) {
    .elig-actions {
        grid-template-columns:1fr;
    }
}

.btn-elig {
    background: #C59D63;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    padding: .9rem 1.2rem;
    border-radius: 4px;
    border: 1px solid #C59D63;
}

.btn-reset {
    background: #E6EBEF;
    color: #225D77;
    font-weight: 700;
    border-radius: 4px;
    padding: .9rem 1.2rem;
    border: 1px solid #D6E0E6;
}

.loan-box {
    display: none;
}

.loan-box.show {
    display: block;
}

.term-inline {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.term-cell {
    position: relative;
    flex: 1 1 0;
}

.term-cell .unit {
    position: absolute;
    inset-inline-end: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #7B8A93;
    font-size: 12px;
    pointer-events: none;
}

.term-cell input {
    padding-inline-end: 48px;
}

.elig-results {
    margin-top: 6px;
    padding: 12px;
    border: 1px solid #E5E8EA;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
}

.elig-results-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px 14px;
}

.elig-results .r {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafb;
}

.elig-results .r span {
    color: #6b7b86;
    font-size: 13px;
}

.elig-results .r strong {
    font-weight: 800;
    color: #0f0f11;
    font-size: 14px;
}

@media (max-width: 576px) {
    .elig-results-grid {
        grid-template-columns:1fr;
    }
}

.modal-backdrop.show {
    opacity: .45;
    backdrop-filter: blur(2px);
}

.elig-modal .elig-brand-text {
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    color: #0f0f11;
}


.loan-btn {
    height: 48px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 16px;
    line-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    margin-top: 0 !important;

}

.btn-elig {
    background: #C59D63;
    color: #fff;
    border: 1px solid #C59D63;
}

.loan-btn {
    background: #CCD2D8;
    color: #059BDD;
    border: 1px solid #CCD2D8;
}

.btn-reset {
    background: #CCD2D8;
    color: #059BDD;
    border: 1px solid #CCD2D8;
}


.elig-suffix {
    position: relative;
}

.elig-suffix.has-unit input {
    padding-inline-end: 42px;
}

.elig-suffix .unit-curr {
    position: absolute;
    inset-inline-end: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #7B8A93;
    font-weight: 800;
    font-size: 24px;
    pointer-events: none;
    line-height: 1;
}

.modal-open #siteHeader,
.modal-open .maskan-header {
    z-index: 1000 !important;
    pointer-events: none;
}

.elig-modal .elig-modal-close {
    z-index: 1061;
}

.elig-modal .btn-reset { all: unset; }
.elig-modal .btn-reset {
    display: flex; align-items: center; justify-content: center;
    background: #CCD2D8; color: #059BDD; border: 1px solid #CCD2D8;
    height: 48px; border-radius: 8px; font-weight: 800; font-size: 16px;
    line-height: 100%; box-shadow: 0 4px 12px rgba(0,0,0,.06); cursor: pointer;
}

html[dir="rtl"] .elig-modal .elig-form .form-select {
    background-position: left .75rem center;
    padding-left: 2.25rem;
    padding-right: .9rem;
}


/* ==== MASKAN Steps – Mobile-first, RTL/LTR safe ==== */
.customer-b2b-steps {
    position: relative;
    overflow: hidden;
    padding: 44px 0 56px;
    background: #225D77;
    /* Tokens */
    --blue: #C59D63;
    --white: #fff;
    --card: #fff;
    --radius: 24px;
    --shadow: 0 6px 18px rgba(0, 0, 0, .08);

    --row-gap-desktop: clamp(120px, 12vw, 200px);
    --row-gap-tablet: clamp(80px, 9vw, 140px);
    --row-gap-mobile: 70px;

    --step-gap: 20px;
    --step-card-w: 338px;


}

.customer-b2b-steps .steps-maskan * {
    box-sizing: border-box;

}

.customer-b2b-steps .steps-bg-waves {
    position: absolute;
    inset: 0;
    opacity: .55;
    pointer-events: none;
}

.customer-b2b-steps .steps-bg-waves svg {
    width: 100%;
    /*height: 160%;*/
    position: absolute;
    top: -14%;
    right: -15%;
}

.customer-b2b-steps .container {
    width: min(1100px, 96vw);
    margin: 0 auto;

}

.customer-b2b-steps .steps-title {
    margin: 0 0 clamp(72px, 9vw, 170px);
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: clamp(26px, 4.2vw, 48px);
    line-height: 2;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
    "s1"
    "s2"
    "s3"
    "sb";
    row-gap: var(--row-gap-mobile);
    align-items: start;
    justify-items: center;
}

.step-1 {
    grid-area: s1;
}

.step-2 {
    grid-area: s2;
}

.step-3 {
    grid-area: s3;
}

.steps-bottom {
    grid-area: sb;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 16px;
    justify-items: center;
}

.step-card {
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 14px 18px;
    text-align: center;

    width: min(100%, 360px);
    height: auto;
    min-height: 104px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card:hover,
.step-card:focus-visible {
    transform: translateY(-14px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.step-pin {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -36px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.steps-maskan[dir="rtl"] .step-pin {
    flex-direction: row-reverse;
}

.step-word {
    color: #fff;
    font-weight: 700;
    font-size: clamp(22px, 5vw, 48px);
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .1));
}

.customer-b2b-steps .step-num {
    color: var(--blue);
    -webkit-text-stroke: 0px var(--white) !important;
    text-shadow: 1px 0 0 var(--white), -1px 0 0 var(--white),
    0 1px 0 var(--white), 0 -1px 0 var(--white),
    2px 2px 0 var(--white), -2px 2px 0 var(--white),
    2px -2px 0 var(--white), -2px -2px 0 var(--white);
    font-weight: 700;
    font-size: clamp(46px, 12vw, 180px);
    line-height: 100%;
}

.step-body {
    color: #000;
    font-weight: 700;
    font-size: clamp(18px, 2.6vw, 24px);
    line-height: 1.2;
    word-break: break-word;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
      "s1 s2"
      "s3 s3"
      "sb sb";
        row-gap: var(--row-gap-tablet);
        justify-items: stretch;
    }

    .step-card {
        height: 201px;
        padding: 18px 18px 22px;
    }

    .steps-bottom {
        grid-template-columns: auto auto;
        column-gap: var(--step-gap);
        justify-content: center;
        justify-items: center;
    }

    .steps-bottom .step-card {
        width: clamp(240px, 46vw, 320px);
    }

    .step-pin {
        top: -60px;
    !important;
    }

    .step-word {
        font-size: clamp(28px, 4vw, 42px);
    }

    .step-num {
        font-size: clamp(96px, 12vw, 140px);
        -webkit-text-stroke: 4px var(--white);
    }
}

@media (min-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas:
      "s1 s2 s3"
      "sb sb sb";
        column-gap: 20px;
        row-gap: var(--row-gap-desktop);
        justify-items: stretch;
    }

    .steps-bottom {
        grid-template-columns: auto auto;
        column-gap: var(--step-gap);
        justify-content: center;
    }

    .steps-bottom .step-card {
        width: clamp(260px, 44vw, var(--step-card-w));
    }

    .steps-title {
        font-size: 42px;
        margin-bottom: 140px;
    }

    .step-pin {
        top: -90px;
    }

    .step-word {
        font-size: 42px;
    }

    .step-num {
        font-size: 140px;
    }
}

@media (min-width: 1200px) {
    .steps-title {
        font-size: 48px;
        margin-bottom: 170px;
    }

    .step-pin {
        top: -150px;
    }

    .step-word {
        font-size: 48px;
    }

    .step-num {
        font-size: 180px;
        -webkit-text-stroke: 1px var(--white);
    }

    .steps-bottom .step-card {
        width: var(--step-card-w);
    }
}

@media (max-width: 568px) {
    .steps-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
      "s1"
      "s2"
      "s3"
      "sb";
        row-gap: 75px;
        justify-items: center;
    }

    .steps-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 75px;
        column-gap: 0;
    }

    .steps-bottom .step-card,
    .steps-grid > .step-card {
        width: min(100%, 360px);
        height: auto;
        min-height: 112px;
        padding: 16px 14px;
    }

    .step-pin {
        top: -60px;

    }

    .steps-title {
        font-size: 26px;
        margin-bottom: 72px;
    }

    .step-word {
        font-size: 24px;
    }

    .step-num {
        font-size: 60px;
        -webkit-text-stroke: 3px var(--white);
    }

    .step-body {
        font-size: 18px;
        line-height: 1.35;
    }
}


.customer-b2b-steps {
    position: relative;
    isolation: isolate;
}

.customer-b2b-steps .container {
    position: relative;
    z-index: 2;
}

.customer-b2b-steps .steps-bg-waves {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.customer-b2b-steps .steps-bg-waves svg {
    position: absolute;
    width: 100%;
    top: -14%;
    right: -15%;
}

.steps-glows {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.steps-glows .glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(var(--glow-blur, 180px));
    mix-blend-mode: overlay;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 70%);
    will-change: transform;
    animation: stepsGlowPulse 9s ease-in-out infinite;
}


.customer-b2b-steps {
    --glow-blur: 181px;

    --glow1-w: 703px;
    --glow1-h: 732px;
    --glow1-x: 0px;
    --glow1-y: 80px;
    --glow2-w: 520px;
    --glow2-h: 520px;
    --glow2-x: -120px;
    --glow2-y: 60px;
}

.steps-glows .glow-left {
    width: var(--glow1-w);
    height: var(--glow1-h);
    left: var(--glow1-x);
    top: var(--glow1-y);
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.5);
    mix-blend-mode: overlay;
    filter: blur(180.95px);
    border-radius: 366px;
}

.steps-glows .glow-right {
    width: var(--glow2-w);
    height: var(--glow2-h);
    right: var(--glow2-x);
    top: var(--glow2-y);
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.5);
    mix-blend-mode: overlay;
    filter: blur(180.95px);
    border-radius: 366px;
}
@media (max-width:760.98px){
    .customer-b2b-steps{
        --glow-blur: 140px;
        --glow1-w: 560px; --glow1-h: 560px; --glow1-x: -60px; --glow1-y: 60px;
        --glow2-w: 420px; --glow2-h: 420px; --glow2-x: -80px;  --glow2-y: 40px;
    }
}
@media (max-width:568.98px){
    .customer-b2b-steps{
        --glow-blur: 110px;
        --glow1-w: 460px; --glow1-h: 460px; --glow1-x: -80px; --glow1-y: 40px;
        --glow2-w: 340px; --glow2-h: 340px; --glow2-x: -60px;  --glow2-y: 20px;
    }
}

@keyframes stepsGlowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}





.customer-b2b-finder {
    --blue: #225D77;
    --gold: #C59D63;
    --card: #fff;
    --muted: #6b7b86;
    --shadow: 0 8px 24px rgba(0, 0, 0, .08);
    --radius: 14px;
    --home-card-height: 300px;
    --home-body-height: 74px;
    --sidebar-width: 320px;
    padding: 32px 0 64px;
}

.customer-b2b-container {
    width: min(1150px, 96vw);
    margin: 0 auto;
}

.customer-b2b-finder-title {
    margin: 0;
    text-align: start;
    color: var(--blue);

    font-weight: 700;
    font-size: 40px;
    line-height: 100%;

}

.customer-b2b-finder-sub {
    max-width: 1113px;
    font-weight: 400;
    font-size: 16px;
    line-height: 50px;
    text-align: start;

}

.customer-b2b-finder-grid {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    angle: 0 deg;
    opacity: 1;


}

.customer-b2b-filter {
    flex: 0 0 var(--sidebar-width);
}

.customer-b2b-card-grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.customer-b2b-home-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: var(--home-card-height);
}

.customer-b2b-home-fig {
    position: relative;
    height: calc(var(--home-card-height) - var(--home-body-height));
}


.customer-b2b-home-fig {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.customer-b2b-home-fig .project-img {
    position: absolute;
    inset: 0;
    width: 100%;
    /*height: 100%;*/
    object-fit: contain;
    background-color: transparent;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.customer-b2b-badge {
    position: absolute;
    inset-inline-start: 12px;
    inset-block-start: 12px;
    background: #ffffff;
    color: #225D77;
    padding: 6px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);

    angle: 0 deg;
    opacity: 1;
    border-radius: 50px;

    font-weight: 700;
    font-size: 10px;
    line-height: 100%;

}

.customer-b2b-home-body {
    height: var(--home-body-height);
    padding: 14px 12px 16px;
    display: flex;
    align-items: center;
}

.customer-b2b-skel-line {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0, 0, 0, .08) 25%, rgba(0, 0, 0, .04) 37%, rgba(0, 0, 0, .08) 63%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    100% {
        background-position: -200% 0
    }
}

.elig-head {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.elig-card {
    flex: 1 1 auto;
    min-height: 0;
    background: #fff;
    border: 1px solid #E5E8EA;
    border-radius: 14px;
    padding: 16px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.elig-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.elig-ghost {
    width: 110px;
}

.elig-title {
    margin: 0;

    color: #838384;

    font-weight: 400;
    font-size: 10px;
    line-height: 32px;
    text-align: center;

}

.elig-brand {
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #4a5963;
    font-weight: 800;
}

.elig-brand-name {
    font-size: 16px;
}

.elig-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 12px;
    padding: 8px 4px 4px;
}

.elig-item {
    text-align: start;
}

.elig-val {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 900;
    line-height: 1;
    justify-content: flex-start;
}

.elig-dash {
    font-size: 24px;
    letter-spacing: 1px;
}

.elig-icon {
    font-size: 24px;
    font-weight: 900;
    display: inline-block;
}

.elig-label {
    margin-top: 4px;
    color: #7B8A93;
    font-size: 12.5px;
    text-align: start;
}

.elig-cta {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    background: #C59D63;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(197, 157, 99, .35);
    transition: transform .12s ease;
    flex: 0 0 46px;
    line-height: 22px;
    display: inline-block;
}





.elig-cta{
    border: 0;
    outline: none;
    box-shadow: 0 4px 14px rgba(197,157,99,.35);
}
.elig-cta:focus{
    outline: none;
    box-shadow: 0 0 0 3px rgba(197,157,99,.28);
}

.elig-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px 0;
}
.elig-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    height:60px;
    padding:10px 12px;
    border:1px solid #E5E8EA;
    border-radius:12px;
    background:#fff;
}
.elig-val{
    display:flex; align-items:center; gap:8px;
    font-weight:900; line-height:1;
}
.elig-label{
    margin:0;
    font-size:13px;
    color:#7B8A93;
}


.customer-b2b-finder { --elig-top-h: 56px; }

.customer-b2b-filter{
    display:flex;
    flex-direction:column;
}

.elig-head{
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-height:0;
}

.elig-card{
    display:grid;
    grid-template-rows: var(--elig-top-h) 1fr;
}

.elig-top{
    min-height: var(--elig-top-h);
    padding-block: 8px;
    display:flex;
    align-items:center;
    justify-content: space-between;
}

.elig-brand,
.elig-ghost{
    width: 100%;
}
.elig-title{
    display:flex;
    align-items:center;
    justify-content:center;
    margin: 0;
}
.elig-brand-name{ white-space: nowrap; }

.elig-cta{ margin-top: 10px; }



.customer-b2b-finder{
    position: relative;
    z-index: 0;
    isolation: isolate;
}

:root { --masthead-h: 72px; }




.customer-b2b-finder-grid{
    align-items: stretch;
}


.elig-top{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    min-height: var(--elig-top-h, 56px);
}

.elig-brand,
.elig-ghost{
    width:auto !important;
    flex:0 0 auto !important;
}
.elig-ghost{ display:none !important; }

.elig-brand{
    display:flex;
    align-items:center;
    gap:6px;
}

.elig-title{
    margin:0;
    text-align:start;
    color:#838384;
    font-weight:400;
    font-size:10px;
    line-height:1.8;
    flex:1 1 auto;
    min-width:0;
    white-space:nowrap;
}



@media (max-width: 760.98px){
    .customer-b2b-container{
        width: min(980px, 94vw);
    }

    .customer-b2b-finder{
        --sidebar-width: 280px;
        --home-card-height: 280px;
        --home-body-height: 70px;
        padding: 28px 0 56px;
    }

    .customer-b2b-finder-title{
        font-size: 32px;
        line-height: 1.15;
    }

    .customer-b2b-finder-sub{
        font-size: 15px;
        line-height: 1.8;
    }

    .customer-b2b-finder-grid{
        gap: 14px;
        align-items: stretch;
    }

    .customer-b2b-filter{
        flex-basis: var(--sidebar-width);
    }

    .customer-b2b-card-grid{
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 14px;
    }

    .customer-b2b-home-fig{
        height: calc(var(--home-card-height) - var(--home-body-height));
    }

    .customer-b2b-badge{
        font-size: 10px;
        padding: 6px 10px;
    }

    .elig-top{
        gap: 10px;
    }

    .elig-brand-name{
        font-size: 15px;
    }

    .elig-title{
        font-size: 11px;
        line-height: 1.7;
    }

    .elig-grid{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .elig-item{
        height: 58px;
        padding: 10px 12px;
    }

    .elig-cta{
        font-size: 15px;
        padding: 12px 14px;
    }
}


@media (max-width: 568.98px){
    .customer-b2b-container{
        width: 96vw;
    }

    .customer-b2b-finder{
        --sidebar-width: 100%;
        --home-card-height: 252px;
        --home-body-height: 66px;
        padding: 24px 0 48px;
    }

    .customer-b2b-finder-title{
        font-size: 18px;
        line-height: 1.2;
    }

    .customer-b2b-finder-sub{
        font-size: 14px;
        line-height: 1.7;
    }

    .customer-b2b-finder-grid{
        flex-direction: column;
        gap: 12px;
    }

    .customer-b2b-filter{
        flex: 0 0 auto;
        width: 100%;
    }

    .customer-b2b-card-grid{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .customer-b2b-home-card{
        height: var(--home-card-height);
    }

    .customer-b2b-home-fig{
        height: calc(var(--home-card-height) - var(--home-body-height));
    }

    .customer-b2b-badge{
        font-size: 9px;
        padding: 5px 9px;
        inset-inline-start: 10px;
        inset-block-start: 10px;
    }

    .customer-b2b-home-body{
        padding: 12px 12px 14px;
    }

    .customer-b2b-skel-line{
        height: 10px;
    }

    .elig-top{
        gap: 8px;
    }

    .elig-brand-name{
        font-size: 14px;
    }

    .elig-title{
        font-size: 10px;
        line-height: 1.6;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .elig-grid{
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 6px 0 0;
    }

    .elig-item{
        height: auto;
        min-height: 52px;
        padding: 10px 12px;
    }

    .elig-dash,
    .elig-icon{
        font-size: 20px;
    }

    .elig-label{
        font-size: 12px;
    }

    .elig-cta{
        font-size: 15px;
        padding: 12px;
    }
}




/* ===== Tokens ===== */
.customer-b2b-features {
    --blue: #225D77;
    --gold-1: #225D77;
    --gold-2: #225D77;
    --white: #fff;
    --radius: 24px;
    --shadow: 0 6px 18px rgba(0, 0, 0, .08);
    margin-bottom: 80px;

}

.customer-b2b-features * { box-sizing: border-box; }

.customer-b2b-features .container {
    width: min(1100px, 96vw);
    margin: 0 auto;
}

/* Title + ink */
.customer-b2b-title {
    margin: 60px 0 8px;
    text-align: center;
    color: var(--blue);
    font-weight: 800;
    font-size: clamp(22px, 3.2vw, 32px);
    line-height: 1.1;
}

.customer-b2b-ink {
    display: block;
    width: 312px;
    height: 14px;
    margin: 10px auto 60px;
}

.customer-b2b-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.customer-b2b-left {
    background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
    color: #fff;
    padding: 26px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 3;

}

.customer-b2b-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;

}

.customer-b2b-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
}

.customer-b2b-list svg {
    width: 40px;
    height: 40px;
    fill: #fff;
    flex: 0 0 40px;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .06));
}

/* Button */
.customer-b2b-btn {
    display: inline-block;
    align-self: flex-start;
    border-radius: 4px;
    background: #ffffff;
    color: #225D77;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    transition: .12s ease;

    font-weight: 700;
    font-size: 16px;

    height: 54px;

    angle: 0 deg;
    opacity: 1;
    border-radius: 4px;
    padding-top: 14px;
    padding-right: 64px;
    padding-bottom: 8px;
    padding-left: 64px;
    gap: 10px;
}

.customer-b2b-btn:hover { transform: translateY(-1px); }

.customer-b2b-right {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.customer-b2b-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    .customer-b2b-left { padding: 20px; }
    .customer-b2b-right { min-height: 220px; }
    .customer-b2b-right::before { display: none; }
}



@media (min-width: 761px) and (max-width: 1024px){
    .customer-b2b-features{ margin-bottom: 64px; }

    .customer-b2b-title{
        font-size: 28px;
        margin: 48px 0 8px;
    }
    .customer-b2b-ink{
        width: 260px; height: 12px;
        margin: 8px auto 42px;
    }

    .customer-b2b-left{
        padding: 22px 26px;
        gap: 14px;
    }

    .customer-b2b-list{ gap: 12px; }
    .customer-b2b-list li{
        font-size: 22px;
        line-height: 1.35;
    }
    .customer-b2b-list svg{
        width: 36px; height: 36px; flex: 0 0 36px;
    }

    .customer-b2b-btn{
        font-size: 16px;
        height: 48px;
        padding: 10px 28px;
    }

    .customer-b2b-right{ min-height: 320px; }
}


@media (max-width: 760px) and (min-width: 569px){
    .customer-b2b-features{ margin-bottom: 56px; }

    .customer-b2b-title{
        font-size: 26px;
        margin: 40px 0 6px;
    }
    .customer-b2b-ink{
        width: 220px; height: 10px;
        margin: 6px auto 34px;
    }

    .customer-b2b-left{
        padding: 18px 20px;
        gap: 12px;
    }

    .customer-b2b-list{ gap: 10px; }
    .customer-b2b-list li{
        font-size: 19px;
        line-height: 1.35;
    }
    .customer-b2b-list svg{
        width: 32px; height: 32px; flex: 0 0 32px;
    }

    .customer-b2b-btn{
        width: 100%;
        height: 46px;
        font-size: 15px;
        padding: 10px 22px;
    }

    .customer-b2b-right{
        min-height: 280px;
    }
}

@media (max-width: 568px){
    .customer-b2b-features{ margin-bottom: 48px; }
    .customer-b2b-features .container{ width: min(560px, 94vw); }

    .customer-b2b-title{
        font-size: 22px;
        margin: 34px 0 6px;
    }
    .customer-b2b-ink{
        width: 170px; height: 9px;
        margin: 6px auto 26px;
    }

    .customer-b2b-card{ border-radius: 16px; }

    .customer-b2b-left{
        padding: 16px;
        gap: 12px;
    }

    .customer-b2b-list{ gap: 10px; }
    .customer-b2b-list li{
        font-size: 16px;
        line-height: 1.5;
    }
    .customer-b2b-list svg{
        width: 28px; height: 28px; flex: 0 0 28px;
    }

    .customer-b2b-btn{
        display: block;
        width: 100%;
        height: 44px;
        font-size: 14.5px;
        padding: 10px 16px;
    }

    .customer-b2b-right{
        min-height: 220px;
        aspect-ratio: 16 / 11;
    }
}



.customer-b2b-left{
    position: relative;
    isolation: isolate;
}

.customer-b2b-left-glows{
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
}

.customer-b2b-left-glows .glow{
    position: absolute;
    border-radius: 50%;
    filter: blur(var(--b2b-glow-blur,180px));

    mix-blend-mode: overlay;
    background: radial-gradient(closest-side,

    rgba(255,255,255,.50), rgba(255,255,255,0) 90%);
    will-change: transform;
}

.customer-b2b-left .customer-b2b-list,
.customer-b2b-left .customer-b2b-btn{
    position: relative; z-index: 2;
}

.customer-b2b-left{
    --b2b-glow-blur: 180px;

    --b2b-g1-w: 620px;  --b2b-g1-h: 620px;
    --b2b-g1-x: -140px; --b2b-g1-y: -60px;

    --b2b-g2-w: 420px;  --b2b-g2-h: 420px;
    --b2b-g2-x: -80px;  --b2b-g2-y: -40px;
}

.customer-b2b-left-glows .glow-left{
    width: var(--b2b-g1-w); height: var(--b2b-g1-h);
    left: var(--b2b-g1-x);  top:  var(--b2b-g1-y);
    opacity: 1;
}

.customer-b2b-left-glows .glow-right{
    width: var(--b2b-g2-w); height: var(--b2b-g2-h);
    right: var(--b2b-g2-x); bottom: var(--b2b-g2-y);
    opacity: 1;
    background: radial-gradient(closest-side,
    rgba(255,255,255,.40), rgba(255,255,255,0) 78%);
}

@media (max-width: 1024px){
    .customer-b2b-left{
        --b2b-glow-blur: 150px;
        --b2b-g1-w: 520px; --b2b-g1-h: 520px; --b2b-g1-x: -120px; --b2b-g1-y: -40px;
        --b2b-g2-w: 360px; --b2b-g2-h: 360px; --b2b-g2-x: -60px;  --b2b-g2-y: -30px;
    }
}

@media (max-width: 760px){
    .customer-b2b-left{
        --b2b-glow-blur: 130px;
        --b2b-g1-w: 460px; --b2b-g1-h: 460px; --b2b-g1-x: -100px; --b2b-g1-y: -30px;
        --b2b-g2-w: 300px; --b2b-g2-h: 300px; --b2b-g2-x: -40px;  --b2b-g2-y: -24px;
    }
}

@media (max-width: 568px){
    .customer-b2b-left{
        --b2b-glow-blur: 110px;
        --b2b-g1-w: 380px; --b2b-g1-h: 380px; --b2b-g1-x: -80px;  --b2b-g1-y: -20px;
        --b2b-g2-w: 260px; --b2b-g2-h: 260px; --b2b-g2-x: -30px;  --b2b-g2-y: -18px;
    }
}







:root {
    --accent: #225D77;
    --gold: #C59D63;
    --ink: #0f172a;
    --muted: #6b7280;
    --line: #e5e7eb
}

.b2b-page {
    display: grid;
    grid-template-rows:auto 1fr;
    height: 110vh
}

.b2b-filters {
    border-bottom: 1px solid var(--line);
    background: #f8fafc
}

.b2b-filters .bar {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: center;
    padding: .5rem .75rem
}

.b2b-filters .bar .search {
    flex: 1;
    width: 404px
}

.b2b-filters .form-select, .b2b-filters .form-control {
    border: 1px solid #cbd5e1;
    border-radius: .5rem;
    padding: .45rem .75rem;
    background: #fff
}

.b2b-filters .btn-run {
    background: #C59D63;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #C59D63;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%
}

.b2b-main {
    display: grid;
    grid-template-columns:760px 1fr;
    gap: 0
}

@media (max-width: 1300px) {
    .b2b-main {
        grid-template-columns:560px 1fr
    }
}

@media (max-width: 992px) {
    .b2b-main {
        grid-template-columns:1fr
    }
}

.results-col {
    border-inline-end: 1px solid var(--line);
    background: #fff
}

.map-col {
    background: #eef2f7
}

.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line)
}

.results-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
    text-align: start;
    color: #225D77
}

.results-sub {
    color: #4B4B4B;
    font-weight: 400;
    font-size: 16px;
    line-height: 32px
}

.results-body {
    padding: 12px;
    max-height: calc(100vh - 76px);
    overflow: auto
}
/* ================= Card Grid Layout ================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
}

/* ================= Card Design ================= */
.prop-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.prop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #d1d5db;
}

/* --- New CSS for 1:1 Aspect Ratio Property Card --- */

.prop-fig {
    position: relative;
    height: 0; /* Remove fixed height */
    padding-top: 100%; /* Creates the 1:1 aspect ratio */
    overflow: hidden;
    /* keep other styles as needed */
    background-color: #f1f5f9;
}

.prop-fig img {
    position: absolute; /* Needed for the padding-top hack */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Use cover to fill the square */
    display: block;
    transition: transform 0.5s ease;
}

.prop-card:hover .prop-fig img {
    transform: scale(1.03);
}

/* Badges */
.price-badge {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    z-index: 2;
}

.unit-badge {
    position: absolute;
    bottom: 10px;
    inset-inline-start: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 20px;
    padding: 4px 12px;
    font-weight: 600;
    font-size: 0.7rem;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.prop-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prop-title {
    color: #1f2937;
    margin: 0 0 6px 0;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prop-meta {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.prop-body .features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.prop-body .features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #f8fafc;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
}

.prop-body .features span i {
    color: #225D77;
    font-size: 0.9rem;
}
.features {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #4B4B4B;
    font-size: 14px;
    padding: 0 12px 8px
}

.features span {
    white-space: nowrap;
    font-weight: 400;
    font-size: 14px;
    line-height: 32px;


}

.features span + span {
    position: relative;
    padding-inline-start: 12px
}

.features span + span:before {
    content: "";
    width: 1px;
    height: 16px;
    background: #DADDE2;
    position: absolute;
    inset-inline-start: 5px;
    top: 50%;
    transform: translateY(-50%)
}



.empty {
    padding: 16px;
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    text-align: center
}

#map {
    width: 100%;
    height: calc(110vh - 76px)
}

.leaflet-container {
    direction: ltr
}

.pin-wrap {
    position: relative;
    transform: translate(-50%, -100%)
}

.pin {
    width: 22px;
    height: 22px;
    background: #e53935;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    border: 2px solid #fff
}

.pin:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-40%, -40%) rotate(45deg)
}

.pin-wrap.active .pin {
    transform: rotate(-45deg) scale(1.08)
}

.cluster-custom {
    background: #111827;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 999px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18)
}

.cluster-custom div {
    padding: .25rem .45rem
}

.b2b-filters .bar {
    gap: .6rem;
    padding: .6rem .8rem;
    background: #f8fafc
}

.b2b-filters .form-select, .b2b-filters .form-control {
    border-radius: 4px;
    padding: .5rem .8rem;
    background: transparent !important;
    border: 1px solid #6B6868
}

.b2b-filters .bar {
    gap: .6rem;
    padding: .6rem 5.8rem;
    background: #FFFFFF;
}

.b2b-filters .btn-run {
    border-radius: .6rem;
    padding: .55rem 1rem
}

.city-group {
    display: flex;
    align-items: center;
    gap: .35rem
}

.btn-reset {
    padding: .35rem .5rem;
    border: 0;
    background: transparent;
    color: #64748b
}

.btn-reset:hover {
    color: #111827
}

.results-head {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #fff
}

.results-body {
    padding: 12px;
    max-height: calc(100vh - 78px);

    overflow: auto

}

[dir="rtl"] .b2b-main {
    grid-template-columns:1fr 760px
}

@media (max-width: 1300px) {
    [dir="rtl"] .b2b-main {
        grid-template-columns:1fr 560px
    }
}

[dir="rtl"] .results-col {
    order: 2
}

[dir="rtl"] .map-col {
    order: 1
}

/* ===== Mobile stack: Map on top, Results under (6/6) ===== */
@media (max-width: 768px) {
    .b2b-filters .bar {
        padding: .6rem .8rem !important;
    }
    .b2b-filters .bar .search {
        width: 100% !important;
        flex: 1 1 100%;
    }

    .map-col {
        height: 50vh;
    }
    #map {
        height: 50vh !important;
        height: 50svh !important;
        height: 50dvh !important;
    }

    .results-col {
        display: flex;
        flex-direction: column;
        height: 50vh;
        border-inline-end: 0;
    }

    .results-head {
        position: sticky;
        top: 0;
        z-index: 3;
        background: #fff;
    }

    .results-body {
        flex: 1 1 auto;
        max-height: none !important;
        overflow: auto;
        padding: 10px 12px;
    }

    .b2b-main {
        grid-template-columns: 1fr !important;
    }

}


.filter-chip{
    margin-inline-start:.5rem;
    border:1px solid #cbd5e1;
    padding:.15rem .5rem;
    border-radius:.5rem;
    font-size:12px;
    color:#374151;
    background:#f8fafc;
    cursor: default;
}
.filter-chip:not(.d-none){ display: inline-flex; align-items:center; gap:.35rem; }
.filter-chip.clearable{ cursor: pointer; }



.b2b-page{
    height: auto;
    min-height: 100svh;
    overflow: clip;
}
@supports not (overflow: clip){
    .b2b-page{ overflow: hidden; }
}

.b2b-main,
.map-col,
.results-col{ min-height: 0; }

.map-col{ overflow: hidden; }

#map{
    height: calc(100svh - 76px) !important;
    min-height: 360px;
}

.results-body{
    max-height: calc(100svh - 78px) !important;
    overflow: auto;
}

@media (max-width: 768px){
    .map-col{ height: 50svh !important; }
    #map{ height: 100% !important; }

    .results-col{
        display: flex;
        flex-direction: column;
        height: 50svh !important;
        border-inline-end: 0;
    }
    .results-body{
        flex: 1 1 auto;
        max-height: none !important;
        overflow: auto;
    }
}
.customer-b2b-home-fig a,
.customer-b2b-home-fig a:hover,
.customer-b2b-home-fig a:focus,
.customer-b2b-home-fig a:visited {
    text-decoration: none !important;
}



.customer-b2b-home-title{

    font-family: Cairo, sans-serif;
    font-size: 25px;
    font-weight: 600;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;

}


/* Hero Section Background */
.maskan-hero-search {
    padding: 100px 0;
    background: linear-gradient(rgba(27, 77, 96, 0.5), rgba(27, 77, 96, 0.4)),url('/website/image/44.jpg');
    background-size: cover;
    background-position: center;
    min-height: 550px;
    display: flex;
    align-items: center;
}

/* Container Styling */
.search-container-modern {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-bottom: 5px solid var(--gold);
}

.search-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-header h2 {
    color: #1b4d60;
    font-weight: 800;
    font-size: 2rem;
}

.search-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Form Layout */
.search-box-flex {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 250px;
}

.search-field label {
    display: block;
    margin-bottom: 8px;
    color: #1b4d60;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--gold);
}

.modern-select {
    width: 100%;
    height: 55px;
    /*padding: 0 15px 0 45px;*/
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #f9f9f9;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    appearance: none;
}

.modern-select:focus {
    border-color: #1b4d60;
    outline: none;
    background-color: #fff;
}

/* Button Styling - Using Maskan Gold Color */
.btn-maskan-main {
    background-color: var(--gold);
    color: white;
    height: 55px;
    padding: 0 40px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-maskan-main:hover {
    background-color: #1b4d60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 77, 96, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .search-container-modern {
        padding: 25px;
        margin: 0 15px;
    }
    .search-box-flex {
        flex-direction: column;
    }
    .search-field {
        width: 100%;
    }
}
