
.ai-select {
    width: 100%;
    border: 1.5px solid #cfdfe8;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 14px;
    color: var(--text);
    background: #fbfbfd;
    outline: none;
}


.build-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 16px 18px;
    direction: rtl;
    margin: 20px auto 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.build-card__body {
    width: 100%;
}

.build-card__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #222;
    text-align: right;
}

.build-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 20px 10px 20px;
    border-bottom: 1px solid #f1f1f1;
}

    .build-row:last-child {
        border-bottom: 0;
    }

.build-row--full {
    padding-top: 12px;
    border-bottom: 0;
}

.build-label {
    color: #444;
    font-size: 13px;
    line-height: 1.9;
    text-align: right;
    flex: 1;
}

.build-price-green {
    color: #29a745;
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    text-align: left;
}

.build-price-gray {
    color: #8a8a8a;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-align: left;
}

.divider-dashed {
    border-top: 1px dashed #dcdcdc;
    margin: 8px 0 0;
}

.build-card__actions {
    margin-top: 14px;
    padding-top: 12px;
}

.action-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

    .action-group:last-child {
        margin-bottom: 0;
    }

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

    .btn-main.orange {
        background: #d88910;
    }



.services-box {
    width: 100%;
    max-width: 920px; /* هم‌اندازه کارت اصلی */
    box-sizing: border-box;
    margin: 14px auto 0;
    padding: 12px 12px 14px;
    background: #feecd4;
    border: 1px dashed #c9aa7c;
    border-radius: 14px;
}

.services-box__title {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #0e1467;
    margin-bottom: 12px;
}




.service-link__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}



.service-link--green .service-link__arrow {
    color: #2e9f59;
}

.service-link--green .service-link__text {
    color: #4b2e6a;
}

.service-link--purple .service-link__arrow {
    color: #7a43b6;
}

.service-link--purple .service-link__text {
    color: #4b2e6a;
}

.services-box__items {
    display: flex;
    gap: 40px;
    width: 100%;
    direction: rtl;
    justify-content: center; /* به‌جای space-between */
}

.service-link {
    flex: 0 0 46%;
    max-width: 36%;
    min-width: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
    gap: 8px;
    padding: 0 35px;
    background: #fff;
    border: 1px solid #ece9e2;
    border-radius: 10px;
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
}


.service-link__thumb {
    order: 3; /* سمت راست */
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-link__text {
    order: 2;
    flex: 1;
    min-width: 0;
    text-align: center;
    direction: rtl; /* خود متن فارسی راست‌به‌چپ بماند */
    font-size: 13px;
    font-weight: 400;
    color: #4b2e6a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-link__arrow {
    order: 1; /* سمت چپ */
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 768px) {
    .service-link {
        flex: 0 0 46%;
        max-width: 46%;
        padding: 0 5px;
    }
}






body {
    line-height: 2;
}

/* برای موقعیت‌دهی پاپ */
.building-opt {
    position: relative;
}

/* آیکون i */
.lsf-info {
    position: relative;
    top: -8px; /* ← چند پیکسل بالاتر */
    display: none; /* پیشفرض مخفی */
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1976d2;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    cursor: default;
    user-select: none;
}

/* فقط وقتی LSF غیرفعال است، آیکون دیده شود */
.building-opt.lsf-disabled .lsf-info {
    display: inline-block;
}

/* پاپ پیام */
.lsf-pop {
    position: absolute;
    top: calc(100% + 6px);
    right: 0; /* RTL */
    padding: 6px 10px;
    background: #0f172a;
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    display: none;
    z-index: 9999;
}

/* 🎯 Hover روی i → نمایش پیام */
.lsf-info:hover + .lsf-pop {
    display: inline-block;
}





.disabled-lsf {
    cursor: not-allowed;
}

.build_price_bill_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 50px auto;
    margin-bottom: 0;
    height: auto;
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}


