/* =====================================================================
   AL BASHA — PROPERTY DETAIL REFINEMENT

   Scoped to `.al-basha-detail` and the two owner-state blocks, so it only
   touches the property/project detail page. No layout, gallery, map or form
   behaviour is replaced — this is spacing, hierarchy and the official-owner
   state on top of what already works.
   ===================================================================== */

/* ---------- Owner state ---------------------------------------------- */

.ab-detail__official-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 12px;
    color: #131313;
    background: linear-gradient(135deg, #d7af60, #c8a25d);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
}

.ab-detail__official-tag i,
.ab-detail__official-tag svg {
    font-size: 1rem;
}

.ab-detail__official-panel {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 16px 18px;
    background: rgba(200, 162, 93, .08);
    border: 1px solid rgba(200, 162, 93, .34);
    border-radius: 10px;
}

.ab-detail__official-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    color: #8a6a22;
    background: rgba(200, 162, 93, .18);
    border-radius: 10px;
    font-size: 1.35rem;
}

.ab-detail__official-panel strong {
    display: block;
    font-size: 1rem;
    font-weight: 900;
}

.ab-detail__official-panel p {
    margin: 6px 0 0;
    font-size: .88rem;
    line-height: 1.75;
    opacity: .82;
}

/* ---------- Header hierarchy ------------------------------------------ */

.al-basha-detail .al-basha-detail-header__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.al-basha-detail .al-basha-detail-header .box-name .title {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 2.05rem);
    font-weight: 900;
    line-height: 1.35;
}

.al-basha-detail .al-basha-detail-header .box-price span {
    font-size: clamp(1.3rem, 2.1vw, 1.75rem);
    font-weight: 900;
    white-space: nowrap;
}

.al-basha-detail .al-basha-detail-header__overview {
    margin-top: 20px;
    gap: 12px;
}

.al-basha-detail .al-basha-detail-header__overview-item {
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.al-basha-detail .al-basha-detail-header__overview-item span {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    opacity: .72;
}

.al-basha-detail .al-basha-detail-header__overview-item strong {
    display: block;
    margin-top: 3px;
    font-size: 1rem;
    font-weight: 900;
}

/* ---------- Section rhythm ------------------------------------------- */

.al-basha-detail .single-property-element {
    margin-bottom: 28px;
}

.al-basha-detail .single-property-element .title,
.al-basha-detail .single-property-element .h7 {
    letter-spacing: 0;
}

.al-basha-detail .single-property-desc p,
.al-basha-detail .single-property-element p {
    font-size: 1rem;
    line-height: 2;
}

/* Arabic reads better with a slightly looser measure than the Latin default. */
.al-basha-detail .single-property-desc {
    max-width: 62ch;
}

/* ---------- RTL safety ------------------------------------------------ */

[dir="rtl"] .al-basha-detail .content-top,
[dir="rtl"] .al-basha-detail .box-name,
[dir="rtl"] .al-basha-detail .box-price {
    text-align: start;
}

[dir="rtl"] .ab-detail__official-panel,
[dir="rtl"] .al-basha-detail-header__badges {
    text-align: start;
}

@media (max-width: 767px) {
    .al-basha-detail .content-top {
        flex-direction: column;
        gap: 12px;
    }

    .al-basha-detail .box-price {
        width: 100%;
    }

    .ab-detail__official-panel {
        flex-direction: column;
    }
}
