/* ==========================================
   Dar Arabia — Header Property Map Link
   ========================================== */

.dar-header-map-item,
.dar-header-map-link {
    list-style: none;
}

.dar-header-map-item > a,
a.dar-header-map-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.dar-header-map-item svg,
a.dar-header-map-link svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dar-header-map-item > a::after,
a.dar-header-map-link::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -5px;
    left: 50%;
    height: 2px;
    border-radius: 999px;
    background: #d95a2b;
    transition:
        right 0.2s ease,
        left 0.2s ease;
}

.dar-header-map-item > a:hover::after,
a.dar-header-map-link:hover::after,
.dar-header-map-item.is-active > a::after,
a.dar-header-map-link.is-active::after {
    right: 0;
    left: 0;
}

.dar-header-map-item.is-active > a,
a.dar-header-map-link.is-active {
    color: #d95a2b !important;
}

/* Final runtime header link adjustments */

.dar-runtime-property-map-link {
    box-sizing: border-box;
}

li.dar-header-map-item {
    display: flex;
    align-items: center;
}

li.dar-header-map-item > a {
    width: 100%;
}

.dar-header-map-link svg {
    pointer-events: none;
}

@media (min-width: 901px) {
    li.dar-header-map-item > a,
    nav > a.dar-header-map-link {
        min-height: 38px;
        padding-inline: 7px;
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    li.dar-header-map-item {
        width: 100%;
    }

    li.dar-header-map-item > a,
    a.dar-header-map-link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        padding: 10px 13px;
        border-radius: 9px;
    }

    li.dar-header-map-item > a::after,
    a.dar-header-map-link::after {
        display: none;
    }

    li.dar-header-map-item.is-active > a,
    a.dar-header-map-link.is-active {
        background: rgba(217, 90, 43, 0.1);
    }
}
